blob: d2fb134b01a9abf0b8fa1479736b9114d738237a [file] [log] [blame]
anjana_sreekumar@infosys.com991c2062020-01-08 11:42:57 +05301
2/*
3 * Copyright 2019-present Infosys Limited  
4 *   
5 * SPDX-License-Identifier: Apache-2.0    
6 */
7
8/**************************************
9 * attachWfMbResp.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/state.cpp.tt>
14 **************************************/
15
16#include "smEnumTypes.h"
17#include "actionTable.h"
18#include "actionHandlers/actionHandlers.h"
19
20#include "mmeStates/attachWfMbResp.h"
21
22using namespace mme;
23using namespace SM;
24
25/******************************************************************************
26* Constructor
27******************************************************************************/
28AttachWfMbResp::AttachWfMbResp():State(State_e::attach_wf_mb_resp)
29{
30}
31
32/******************************************************************************
33* Destructor
34******************************************************************************/
35AttachWfMbResp::~AttachWfMbResp()
36{
37}
38
39/******************************************************************************
40* creates and returns static instance
41******************************************************************************/
42AttachWfMbResp* AttachWfMbResp::Instance()
43{
44 static AttachWfMbResp state;
45 return &state;
46}
47
48/******************************************************************************
49* initializes eventToActionsMap
50******************************************************************************/
51void AttachWfMbResp::initialize()
52{
53 {
54 ActionTable actionTable;
55 actionTable.addAction(&ActionHandlers::process_mb_resp);
56 actionTable.addAction(&ActionHandlers::attach_done);
57 eventToActionsMap.insert(pair<Event_e, ActionTable>(Event_e::MB_RESP_FROM_SGW, actionTable));
58 }
59}