blob: d2fb134b01a9abf0b8fa1479736b9114d738237a [file] [log] [blame]
/*
* Copyright 2019-present Infosys Limited  
*   
* SPDX-License-Identifier: Apache-2.0    
*/
/**************************************
* attachWfMbResp.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/attachWfMbResp.h"
using namespace mme;
using namespace SM;
/******************************************************************************
* Constructor
******************************************************************************/
AttachWfMbResp::AttachWfMbResp():State(State_e::attach_wf_mb_resp)
{
}
/******************************************************************************
* Destructor
******************************************************************************/
AttachWfMbResp::~AttachWfMbResp()
{
}
/******************************************************************************
* creates and returns static instance
******************************************************************************/
AttachWfMbResp* AttachWfMbResp::Instance()
{
static AttachWfMbResp state;
return &state;
}
/******************************************************************************
* initializes eventToActionsMap
******************************************************************************/
void AttachWfMbResp::initialize()
{
{
ActionTable actionTable;
actionTable.addAction(&ActionHandlers::process_mb_resp);
actionTable.addAction(&ActionHandlers::attach_done);
eventToActionsMap.insert(pair<Event_e, ActionTable>(Event_e::MB_RESP_FROM_SGW, actionTable));
}
}