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