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

#include <smacc_state_machine_info.hpp>

Collaboration diagram for smacc2::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 90 of file smacc_state_machine_info.hpp.

Constructor & Destructor Documentation

◆ AddSubState()

smacc2::introspection::AddSubState::AddSubState ( std::shared_ptr< SmaccStateInfo > &  parentState)
inlineexplicit

Definition at line 93 of file smacc_state_machine_info.hpp.

93: parentState_(parentState) {}
std::shared_ptr< SmaccStateInfo > & parentState_

Member Function Documentation

◆ operator()()

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

Definition at line 132 of file smacc_state_machine_info.hpp.

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

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

Here is the call graph for this function:

Member Data Documentation

◆ parentState_

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

Definition at line 92 of file smacc_state_machine_info.hpp.

Referenced by operator()().


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