blob: 9ba6b10ef29826adc638607540db63852d9e521f [file] [log] [blame]
/*
* Copyright 2019-present Infosys Limited  
*   
* SPDX-License-Identifier: Apache-2.0    
*/
/**************************************
* attachWfAuthResp.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/attachWfAuthResp.h"
#include "mmeStates/attachWfAuthRespValidate.h"
using namespace mme;
using namespace SM;
/******************************************************************************
* Constructor
******************************************************************************/
AttachWfAuthResp::AttachWfAuthResp():State(State_e::attach_wf_auth_resp)
{
}
/******************************************************************************
* Destructor
******************************************************************************/
AttachWfAuthResp::~AttachWfAuthResp()
{
}
/******************************************************************************
* creates and returns static instance
******************************************************************************/
AttachWfAuthResp* AttachWfAuthResp::Instance()
{
static AttachWfAuthResp state;
return &state;
}
/******************************************************************************
* initializes eventToActionsMap
******************************************************************************/
void AttachWfAuthResp::initialize()
{
{
ActionTable actionTable;
actionTable.addAction(&ActionHandlers::auth_response_validate);
actionTable.setNextState(AttachWfAuthRespValidate::Instance());
eventToActionsMap.insert(pair<Event_e, ActionTable>(Event_e::AUTH_RESP_FROM_UE, actionTable));
}
}