|
SMACC
|
#include <smacc_state_info.h>


Public Types | |
| typedef std::shared_ptr< SmaccStateInfo > | Ptr |
Public Member Functions | |
| SmaccStateInfo (const std::type_info *tid, std::shared_ptr< SmaccStateInfo > parentState, std::shared_ptr< SmaccStateMachineInfo > stateMachineInfo) | |
| SmaccStateType | getStateLevel () |
| int | depth () const |
| void | getAncestors (std::list< const SmaccStateInfo * > &ancestorsList) const |
| std::string | getFullPath () |
| template<typename StateType > | |
| std::shared_ptr< SmaccStateInfo > | createChildState () |
| template<typename EvType > | |
| void | declareTransition (std::shared_ptr< SmaccStateInfo > &dstState, std::string transitionTag, std::string transitionType, bool history, TypeInfo::Ptr transitionTypeInfo) |
| const std::string & | toShortName () const |
| std::string | getDemangledFullName () const |
Public Attributes | |
| int | stateIndex_ |
| std::string | fullStateName |
| std::string | demangledStateName |
| std::shared_ptr< SmaccStateMachineInfo > | stateMachine_ |
| std::shared_ptr< SmaccStateInfo > | parentState_ |
| std::vector< SmaccTransitionInfo > | transitions_ |
| std::vector< std::shared_ptr< SmaccStateInfo > > | children_ |
| int | depth_ |
| const std::type_info * | tid_ |
Static Public Attributes | |
| static std::map< const std::type_info *, std::vector< ClientBehaviorInfoEntry > > | staticBehaviorInfo |
| static std::map< const std::type_info *, std::vector< std::shared_ptr< SmaccStateReactorInfo > > > | stateReactorsInfo |
| static std::map< const std::type_info *, std::vector< std::shared_ptr< SmaccEventGeneratorInfo > > > | eventGeneratorsInfo |
Definition at line 136 of file smacc_state_info.h.
| typedef std::shared_ptr<SmaccStateInfo> smacc::introspection::SmaccStateInfo::Ptr |
Definition at line 140 of file smacc_state_info.h.
| smacc::SmaccStateInfo::SmaccStateInfo | ( | const std::type_info * | tid, |
| std::shared_ptr< SmaccStateInfo > | parentState, | ||
| std::shared_ptr< SmaccStateMachineInfo > | stateMachineInfo | ||
| ) |
Definition at line 13 of file smacc_state_info.cpp.
References depth_, parentState_, stateMachine_, and tid_.
| std::shared_ptr< SmaccStateInfo > smacc::introspection::SmaccStateInfo::createChildState |
Definition at line 441 of file smacc_state_machine_info.h.
References stateMachine_.
| void smacc::introspection::SmaccStateInfo::declareTransition | ( | std::shared_ptr< SmaccStateInfo > & | dstState, |
| std::string | transitionTag, | ||
| std::string | transitionType, | ||
| bool | history, | ||
| TypeInfo::Ptr | transitionTypeInfo | ||
| ) |
Definition at line 197 of file smacc_state_machine_info.h.
References smacc::introspection::SmaccTransitionInfo::destinyState, smacc::introspection::SmaccTransitionInfo::eventInfo, smacc::introspection::SmaccTransitionInfo::historyNode, smacc::introspection::SmaccTransitionInfo::index, smacc::introspection::SmaccTransitionInfo::sourceState, transitions_, smacc::introspection::SmaccTransitionInfo::transitionTag, smacc::introspection::SmaccTransitionInfo::transitionType, and smacc::introspection::SmaccTransitionInfo::transitionTypeInfo.
|
inline |
| void smacc::SmaccStateInfo::getAncestors | ( | std::list< const SmaccStateInfo * > & | ancestorsList | ) | const |
Definition at line 23 of file smacc_state_info.cpp.
References parentState_.
| std::string smacc::SmaccStateInfo::getDemangledFullName | ( | ) | const |
Definition at line 64 of file smacc_state_info.cpp.
References smacc::introspection::demangleSymbol(), and fullStateName.

| std::string smacc::SmaccStateInfo::getFullPath | ( | ) |
Definition at line 51 of file smacc_state_info.cpp.
References parentState_, and toShortName().

| SmaccStateType smacc::SmaccStateInfo::getStateLevel | ( | ) |
Definition at line 32 of file smacc_state_info.cpp.
References children_, parentState_, smacc::introspection::STATE, smacc::introspection::SUPERSTATE, and smacc::introspection::SUPERSTATE_ROUTINE.
| const std::string & smacc::SmaccStateInfo::toShortName | ( | ) | const |
Definition at line 59 of file smacc_state_info.cpp.
References demangledStateName.
Referenced by getFullPath().

| std::vector<std::shared_ptr<SmaccStateInfo> > smacc::introspection::SmaccStateInfo::children_ |
Definition at line 154 of file smacc_state_info.h.
Referenced by getStateLevel().
| std::string smacc::introspection::SmaccStateInfo::demangledStateName |
Definition at line 148 of file smacc_state_info.h.
Referenced by toShortName().
| int smacc::introspection::SmaccStateInfo::depth_ |
Definition at line 155 of file smacc_state_info.h.
Referenced by depth(), and SmaccStateInfo().
|
static |
Definition at line 144 of file smacc_state_info.h.
Referenced by smacc::introspection::SmaccStateMachineInfo::assembleSMStructureMessage(), smacc::SmaccState< MostDerived, Context, InnerInitial, historyMode >::entryStateInternal(), and smacc::SmaccState< MostDerived, Context, InnerInitial, historyMode >::static_createEventGenerator().
| std::string smacc::introspection::SmaccStateInfo::fullStateName |
Definition at line 147 of file smacc_state_info.h.
Referenced by getDemangledFullName().
| std::shared_ptr<SmaccStateInfo> smacc::introspection::SmaccStateInfo::parentState_ |
Definition at line 151 of file smacc_state_info.h.
Referenced by getAncestors(), getFullPath(), getStateLevel(), and SmaccStateInfo().
| int smacc::introspection::SmaccStateInfo::stateIndex_ |
Definition at line 146 of file smacc_state_info.h.
| std::shared_ptr<SmaccStateMachineInfo> smacc::introspection::SmaccStateInfo::stateMachine_ |
Definition at line 150 of file smacc_state_info.h.
Referenced by createChildState(), and SmaccStateInfo().
|
static |
Definition at line 143 of file smacc_state_info.h.
Referenced by smacc::introspection::SmaccStateMachineInfo::assembleSMStructureMessage(), smacc::SmaccState< MostDerived, Context, InnerInitial, historyMode >::entryStateInternal(), smacc::SmaccState< MostDerived, Context, InnerInitial, historyMode >::static_createStateReactor(), and smacc::SmaccState< MostDerived, Context, InnerInitial, historyMode >::static_createStateReactor_aux().
|
static |
Definition at line 142 of file smacc_state_info.h.
Referenced by smacc::introspection::SmaccStateMachineInfo::assembleSMStructureMessage(), smacc::SmaccState< MostDerived, Context, InnerInitial, historyMode >::configure_orthogonal_internal(), and smacc::SmaccState< MostDerived, Context, InnerInitial, historyMode >::entryStateInternal().
| const std::type_info* smacc::introspection::SmaccStateInfo::tid_ |
Definition at line 156 of file smacc_state_info.h.
Referenced by SmaccStateInfo().
| std::vector<SmaccTransitionInfo> smacc::introspection::SmaccStateInfo::transitions_ |
Definition at line 152 of file smacc_state_info.h.
Referenced by declareTransition().