anjana_sreekumar@infosys.com | 991c206 | 2020-01-08 11:42:57 +0530 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright 2019-present, Infosys Limited. |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * Unless required by applicable law or agreed to in writing, software |
| 10 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | * See the License for the specific language governing permissions and |
| 13 | * limitations under the License. |
| 14 | */ |
| 15 | |
| 16 | /************************************** |
| 17 | * |
| 18 | * This is an auto generated file. |
| 19 | * Please do not edit this file. |
| 20 | * All edits to be made through template source file |
| 21 | * <TOP-DIR/scripts/SMCodeGen/templates/stateMachineTmpls/stateFactory.h.tt> |
| 22 | **************************************/ |
| 23 | |
| 24 | #ifndef __StateFactory__ |
| 25 | #define __StateFactory__ |
| 26 | |
| 27 | namespace mme { |
| 28 | class StateFactory { |
| 29 | public: |
| 30 | /****************************************** |
| 31 | * Instance |
| 32 | * Creates static instance for the state |
| 33 | *******************************************/ |
| 34 | static StateFactory* Instance(); |
| 35 | |
| 36 | /***************************************** |
| 37 | * StateFactory |
| 38 | * Destructor |
| 39 | *****************************************/ |
| 40 | ~StateFactory(); |
| 41 | |
| 42 | /****************************************** |
| 43 | * initialize |
| 44 | * Initializes action handlers for the state |
| 45 | * and next state |
| 46 | ******************************************/ |
| 47 | void initialize(); |
| 48 | |
| 49 | private: |
| 50 | /**************************************** |
| 51 | * StateFactory |
| 52 | * Private constructor |
| 53 | ****************************************/ |
| 54 | StateFactory(); |
| 55 | |
| 56 | }; |
| 57 | }; |
| 58 | #endif // __StateFactory__ |