| |
| /* |
| * Copyright 2019-present Infosys Limited |
| * |
| * SPDX-License-Identifier: Apache-2.0 |
| */ |
| |
| /************************************** |
| * serviceRequestWfAuthAndSecCheckCmp.cpp |
| * This is an auto generated file. |
| * Please do not edit this file. |
| * All edits to be made through template source file |
| * <TOP-DIR/scripts/SMCodeGen/templates/stateMachineTmpls/state.cpp.tt> |
| **************************************/ |
| |
| #include "smEnumTypes.h" |
| #include "actionTable.h" |
| #include "actionHandlers/actionHandlers.h" |
| |
| #include "mmeStates/serviceRequestWfAuthAndSecCheckCmp.h" |
| #include "mmeStates/serviceRequestWfInitCtxtResp.h" |
| |
| using namespace mme; |
| using namespace SM; |
| |
| /****************************************************************************** |
| * Constructor |
| ******************************************************************************/ |
| ServiceRequestWfAuthAndSecCheckCmp::ServiceRequestWfAuthAndSecCheckCmp():State(State_e::service_request_wf_auth_and_sec_check_cmp) |
| { |
| } |
| |
| /****************************************************************************** |
| * Destructor |
| ******************************************************************************/ |
| ServiceRequestWfAuthAndSecCheckCmp::~ServiceRequestWfAuthAndSecCheckCmp() |
| { |
| } |
| |
| /****************************************************************************** |
| * creates and returns static instance |
| ******************************************************************************/ |
| ServiceRequestWfAuthAndSecCheckCmp* ServiceRequestWfAuthAndSecCheckCmp::Instance() |
| { |
| static ServiceRequestWfAuthAndSecCheckCmp state; |
| return &state; |
| } |
| |
| /****************************************************************************** |
| * initializes eventToActionsMap |
| ******************************************************************************/ |
| void ServiceRequestWfAuthAndSecCheckCmp::initialize() |
| { |
| { |
| ActionTable actionTable; |
| actionTable.addAction(&ActionHandlers::send_init_ctxt_req_to_ue_svc_req); |
| actionTable.setNextState(ServiceRequestWfInitCtxtResp::Instance()); |
| eventToActionsMap.insert(pair<Event_e, ActionTable>(Event_e::AUTH_AND_SEC_CHECK_COMPLETE, actionTable)); |
| } |
| } |