blob: f78af082abe845a5fbada10eecc4a0861f3aeaf7 [file] [log] [blame]
/*
* Copyright 2019-present Infosys Limited  
*   
* SPDX-License-Identifier: Apache-2.0    
*/
/**************************************
* attachWfEsmInfoResp.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/attachWfEsmInfoResp.h"
#include "mmeStates/attachWfUla.h"
using namespace mme;
using namespace SM;
/******************************************************************************
* Constructor
******************************************************************************/
AttachWfEsmInfoResp::AttachWfEsmInfoResp():State(State_e::attach_wf_esm_info_resp)
{
}
/******************************************************************************
* Destructor
******************************************************************************/
AttachWfEsmInfoResp::~AttachWfEsmInfoResp()
{
}
/******************************************************************************
* creates and returns static instance
******************************************************************************/
AttachWfEsmInfoResp* AttachWfEsmInfoResp::Instance()
{
static AttachWfEsmInfoResp state;
return &state;
}
/******************************************************************************
* initializes eventToActionsMap
******************************************************************************/
void AttachWfEsmInfoResp::initialize()
{
{
ActionTable actionTable;
actionTable.addAction(&ActionHandlers::process_esm_info_resp);
actionTable.addAction(&ActionHandlers::send_ulr_to_hss);
actionTable.setNextState(AttachWfUla::Instance());
eventToActionsMap.insert(pair<Event_e, ActionTable>(Event_e::ESM_INFO_RESP_FROM_UE, actionTable));
}
}