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