anjana_sreekumar@infosys.com | 991c206 | 2020-01-08 11:42:57 +0530 | [diff] [blame^] | 1 | |
| 2 | /* |
| 3 | * Copyright 2019-present Infosys Limited |
| 4 | * |
| 5 | * SPDX-License-Identifier: Apache-2.0 |
| 6 | */ |
| 7 | |
| 8 | /************************************** |
| 9 | * tauStart.cpp |
| 10 | * This is an auto generated file. |
| 11 | * Please do not edit this file. |
| 12 | * All edits to be made through template source file |
| 13 | * <TOP-DIR/scripts/SMCodeGen/templates/stateMachineTmpls/stateFactory.cpp.tt> |
| 14 | **************************************/ |
| 15 | |
| 16 | #include "mmeStates/stateFactory.h" |
| 17 | #include "mmeStates/attachStart.h" |
| 18 | #include "mmeStates/attachWfAia.h" |
| 19 | #include "mmeStates/attachWfAttCmp.h" |
| 20 | #include "mmeStates/attachWfAuthResp.h" |
| 21 | #include "mmeStates/attachWfAuthRespValidate.h" |
| 22 | #include "mmeStates/attachWfCsResp.h" |
| 23 | #include "mmeStates/attachWfEsmInfoCheck.h" |
| 24 | #include "mmeStates/attachWfEsmInfoResp.h" |
| 25 | #include "mmeStates/attachWfIdentityResponse.h" |
| 26 | #include "mmeStates/attachWfImsiValidateAction.h" |
| 27 | #include "mmeStates/attachWfInitCtxtResp.h" |
| 28 | #include "mmeStates/attachWfInitCtxtRespAttCmp.h" |
| 29 | #include "mmeStates/attachWfMbResp.h" |
| 30 | #include "mmeStates/attachWfSecCmp.h" |
| 31 | #include "mmeStates/attachWfUla.h" |
| 32 | #include "mmeStates/defaultMmeState.h" |
| 33 | #include "mmeStates/detachStart.h" |
| 34 | #include "mmeStates/detachWfDelSessionResp.h" |
| 35 | #include "mmeStates/niDetachStart.h" |
| 36 | #include "mmeStates/niDetachWfDelSessResp.h" |
| 37 | #include "mmeStates/niDetachWfDetAccptDelSessResp.h" |
| 38 | #include "mmeStates/niDetachWfDetachAccept.h" |
| 39 | #include "mmeStates/niDetachWfS1RelComp.h" |
| 40 | #include "mmeStates/pagingStart.h" |
| 41 | #include "mmeStates/pagingWfServiceReq.h" |
| 42 | #include "mmeStates/s1ReleaseStart.h" |
| 43 | #include "mmeStates/s1ReleaseWfReleaseAccessBearerResp.h" |
| 44 | #include "mmeStates/s1ReleaseWfUeCtxtReleaseComp.h" |
| 45 | #include "mmeStates/serviceRequestStart.h" |
| 46 | #include "mmeStates/serviceRequestWfAuthAndSecCheckCmp.h" |
| 47 | #include "mmeStates/serviceRequestWfInitCtxtResp.h" |
| 48 | #include "mmeStates/serviceRequestWfMbResp.h" |
| 49 | #include "mmeStates/tauStart.h" |
| 50 | |
| 51 | using namespace mme; |
| 52 | |
| 53 | /********************************************** |
| 54 | * Constructor |
| 55 | ***********************************************/ |
| 56 | StateFactory::StateFactory() |
| 57 | { |
| 58 | } |
| 59 | |
| 60 | /********************************************** |
| 61 | * Destructor |
| 62 | ***********************************************/ |
| 63 | StateFactory::~StateFactory() |
| 64 | { |
| 65 | } |
| 66 | |
| 67 | /********************************************** |
| 68 | * creates and returns static instance |
| 69 | ***********************************************/ |
| 70 | |
| 71 | StateFactory* StateFactory::Instance() |
| 72 | { |
| 73 | static StateFactory instance; |
| 74 | return &instance; |
| 75 | } |
| 76 | |
| 77 | void StateFactory::initialize() |
| 78 | { |
| 79 | AttachStart::Instance()->initialize(); |
| 80 | AttachWfAia::Instance()->initialize(); |
| 81 | AttachWfAttCmp::Instance()->initialize(); |
| 82 | AttachWfAuthResp::Instance()->initialize(); |
| 83 | AttachWfAuthRespValidate::Instance()->initialize(); |
| 84 | AttachWfCsResp::Instance()->initialize(); |
| 85 | AttachWfEsmInfoCheck::Instance()->initialize(); |
| 86 | AttachWfEsmInfoResp::Instance()->initialize(); |
| 87 | AttachWfIdentityResponse::Instance()->initialize(); |
| 88 | AttachWfImsiValidateAction::Instance()->initialize(); |
| 89 | AttachWfInitCtxtResp::Instance()->initialize(); |
| 90 | AttachWfInitCtxtRespAttCmp::Instance()->initialize(); |
| 91 | AttachWfMbResp::Instance()->initialize(); |
| 92 | AttachWfSecCmp::Instance()->initialize(); |
| 93 | AttachWfUla::Instance()->initialize(); |
| 94 | DefaultMmeState::Instance()->initialize(); |
| 95 | DetachStart::Instance()->initialize(); |
| 96 | DetachWfDelSessionResp::Instance()->initialize(); |
| 97 | NiDetachStart::Instance()->initialize(); |
| 98 | NiDetachWfDelSessResp::Instance()->initialize(); |
| 99 | NiDetachWfDetAccptDelSessResp::Instance()->initialize(); |
| 100 | NiDetachWfDetachAccept::Instance()->initialize(); |
| 101 | NiDetachWfS1RelComp::Instance()->initialize(); |
| 102 | PagingStart::Instance()->initialize(); |
| 103 | PagingWfServiceReq::Instance()->initialize(); |
| 104 | S1ReleaseStart::Instance()->initialize(); |
| 105 | S1ReleaseWfReleaseAccessBearerResp::Instance()->initialize(); |
| 106 | S1ReleaseWfUeCtxtReleaseComp::Instance()->initialize(); |
| 107 | ServiceRequestStart::Instance()->initialize(); |
| 108 | ServiceRequestWfAuthAndSecCheckCmp::Instance()->initialize(); |
| 109 | ServiceRequestWfInitCtxtResp::Instance()->initialize(); |
| 110 | ServiceRequestWfMbResp::Instance()->initialize(); |
| 111 | TauStart::Instance()->initialize(); |
| 112 | } |