| |
| /* |
| * Copyright 2019-present Infosys Limited |
| * |
| * SPDX-License-Identifier: Apache-2.0 |
| */ |
| |
| /************************************** |
| * pagingStart.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/pagingStart.h" |
| #include "mmeStates/pagingWfServiceReq.h" |
| |
| using namespace mme; |
| using namespace SM; |
| |
| /****************************************************************************** |
| * Constructor |
| ******************************************************************************/ |
| PagingStart::PagingStart():State(State_e::paging_start) |
| { |
| } |
| |
| /****************************************************************************** |
| * Destructor |
| ******************************************************************************/ |
| PagingStart::~PagingStart() |
| { |
| } |
| |
| /****************************************************************************** |
| * creates and returns static instance |
| ******************************************************************************/ |
| PagingStart* PagingStart::Instance() |
| { |
| static PagingStart state; |
| return &state; |
| } |
| |
| /****************************************************************************** |
| * initializes eventToActionsMap |
| ******************************************************************************/ |
| void PagingStart::initialize() |
| { |
| { |
| ActionTable actionTable; |
| actionTable.addAction(&ActionHandlers::send_paging_req_to_ue); |
| actionTable.setNextState(PagingWfServiceReq::Instance()); |
| eventToActionsMap.insert(pair<Event_e, ActionTable>(Event_e::DDN_FROM_SGW, actionTable)); |
| } |
| } |