SMACC
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
smacc::introspection::AddSubState Struct Reference

#include <smacc_state_machine_info.h>

Collaboration diagram for smacc::introspection::AddSubState:
Collaboration graph

Public Member Functions

 AddSubState (std::shared_ptr< SmaccStateInfo > &parentState)
 
template<typename T >
void operator() (T)
 

Public Attributes

std::shared_ptr< SmaccStateInfo > & parentState_
 

Detailed Description

Definition at line 61 of file smacc_state_machine_info.h.

Constructor & Destructor Documentation

◆ AddSubState()

smacc::introspection::AddSubState::AddSubState ( std::shared_ptr< SmaccStateInfo > &  parentState)
inline

Definition at line 64 of file smacc_state_machine_info.h.

65 : parentState_(parentState)
66 {
67 }
std::shared_ptr< SmaccStateInfo > & parentState_

Member Function Documentation

◆ operator()()

template<typename T >
void smacc::introspection::AddSubState::operator() ( )

Definition at line 102 of file smacc_state_machine_info.h.

103{
104 using type_t = typename T::type;
105 //auto childState = this->parentState_->createChildState<type_t>()
107}
static void walkStates(std::shared_ptr< SmaccStateInfo > &currentState, bool rootInitialNode)

References parentState_, and smacc::introspection::WalkStatesExecutor< InitialStateType >::walkStates().

Here is the call graph for this function:

Member Data Documentation

◆ parentState_

std::shared_ptr<SmaccStateInfo>& smacc::introspection::AddSubState::parentState_

Definition at line 63 of file smacc_state_machine_info.h.

Referenced by operator()().


The documentation for this struct was generated from the following file: