text: 
  /*
   * Copyright 2020-present Infosys Limited
   *
   * SPDX-License-Identifier: Apache-2.0
   */
   
  /**************************************
   * attachWfAia.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 "actionTable.h"
  #include "actionHandlers/actionHandlers.h"
  #include "mmeSmDefs.h"
  #include "utils/mmeStatesUtils.h"
  #include "utils/mmeTimerTypes.h"
  
  #include "mmeStates/attachWfAia.h"	
  #include "mmeStates/attachWfAuthResp.h"
  
  using namespace mme;
  using namespace SM;
  
  /******************************************************************************
  * Constructor
  ******************************************************************************/
  AttachWfAia::AttachWfAia():State(attach_wf_aia, defaultStateGuardTimerDuration_c)
  {
          stateEntryAction = &MmeStatesUtils::on_state_entry;
          stateExitAction = &MmeStatesUtils::on_state_exit;
          eventValidator = &MmeStatesUtils::validate_event;
  }
  
  /******************************************************************************
  * Destructor
  ******************************************************************************/
  AttachWfAia::~AttachWfAia()
  {
  }
  
  /******************************************************************************
  * creates and returns static instance
  ******************************************************************************/
  AttachWfAia* AttachWfAia::Instance()
  {
          static AttachWfAia state;
          return &state;
  }
  
  /******************************************************************************
  * initializes eventToActionsMap
  ******************************************************************************/
  void AttachWfAia::initialize()
  {
          {
                  ActionTable actionTable;
                  actionTable.addAction(&ActionHandlers::process_aia);
                  actionTable.addAction(&ActionHandlers::auth_req_to_ue);
                  actionTable.setNextState(AttachWfAuthResp::Instance());
                  eventToActionsMap.insert(pair<uint16_t, ActionTable>(AIA_FROM_HSS, actionTable));
          }
          {
                  ActionTable actionTable;
                  actionTable.addAction(&ActionHandlers::send_attach_reject);
                  actionTable.addAction(&ActionHandlers::send_s1_rel_cmd_to_ue);
                  actionTable.addAction(&ActionHandlers::abort_attach);
                  eventToActionsMap.insert(pair<uint16_t, ActionTable>(ABORT_EVENT, actionTable));
          }
  }
  