blob: d9b9b118d0acad4fcbdc7e118eee213726a5d87d [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 * niDetachWfS1RelComp.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/niDetachWfS1RelComp.h"
21
22using namespace mme;
23using namespace SM;
24
25/******************************************************************************
26* Constructor
27******************************************************************************/
28NiDetachWfS1RelComp::NiDetachWfS1RelComp():State(State_e::ni_detach_wf_s1_rel_comp)
29{
30}
31
32/******************************************************************************
33* Destructor
34******************************************************************************/
35NiDetachWfS1RelComp::~NiDetachWfS1RelComp()
36{
37}
38
39/******************************************************************************
40* creates and returns static instance
41******************************************************************************/
42NiDetachWfS1RelComp* NiDetachWfS1RelComp::Instance()
43{
44 static NiDetachWfS1RelComp state;
45 return &state;
46}
47
48/******************************************************************************
49* initializes eventToActionsMap
50******************************************************************************/
51void NiDetachWfS1RelComp::initialize()
52{
53 {
54 ActionTable actionTable;
55 actionTable.addAction(&ActionHandlers::process_ue_ctxt_rel_comp_for_detach);
56 eventToActionsMap.insert(pair<Event_e, ActionTable>(Event_e::UE_CTXT_REL_COMP_FROM_ENB, actionTable));
57 }
58}