29namespace introspection
79 std::function<void(std::shared_ptr<smacc2::StateReactor>)>
fn;
92 template <
typename TEv>
95 template <
typename TEv>
100 std::shared_ptr<smacc2::introspection::SmaccStateReactorInfo>
srInfo_;
103 rclcpp::Node::SharedPtr
nh_;
118 std::shared_ptr<StateReactorHandler>
srh;
124 std::function<void(std::shared_ptr<smacc2::SmaccEventGenerator>)>
fn;
135 template <
typename TEv>
138 std::shared_ptr<smacc2::introspection::SmaccEventGeneratorInfo>
egInfo_;
152 std::shared_ptr<EventGeneratorHandler>
egh;
165 typedef std::shared_ptr<SmaccStateInfo>
Ptr;
168 static std::map<const std::type_info *, std::vector<std::shared_ptr<SmaccStateReactorInfo>>>
170 static std::map<const std::type_info *, std::vector<std::shared_ptr<SmaccEventGeneratorInfo>>>
186 const std::type_info * tid, std::shared_ptr<SmaccStateInfo> parentState,
187 std::shared_ptr<SmaccStateMachineInfo> stateMachineInfo);
193 void getAncestors(std::list<const SmaccStateInfo *> & ancestorsList)
const;
197 template <
typename StateType>
200 template <
typename EvType>
202 std::shared_ptr<SmaccStateInfo> & dstState, std::string transitionTag,
203 std::string transitionType,
bool history,
TypeInfo::Ptr transitionTypeInfo);
211 rclcpp::Node::SharedPtr
getNode();
std::vector< EventGeneratorCallbackFunctor > callbacks_
void configureEventGenerator(std::shared_ptr< smacc2::SmaccEventGenerator > eg)
std::shared_ptr< smacc2::introspection::SmaccEventGeneratorInfo > egInfo_
std::string getDemangledFullName() const
std::string demangledStateName
std::shared_ptr< SmaccStateInfo > createChildState()
const std::type_info * tid_
std::string fullStateName
static std::map< const std::type_info *, std::vector< std::shared_ptr< SmaccStateReactorInfo > > > stateReactorsInfo
void getAncestors(std::list< const SmaccStateInfo * > &ancestorsList) const
void declareTransition(std::shared_ptr< SmaccStateInfo > &dstState, std::string transitionTag, std::string transitionType, bool history, TypeInfo::Ptr transitionTypeInfo)
const std::string & toShortName() const
SmaccStateType getStateLevel()
std::shared_ptr< SmaccStateInfo > Ptr
std::vector< std::shared_ptr< SmaccStateInfo > > children_
std::shared_ptr< SmaccStateInfo > parentState_
std::string getFullPath()
rclcpp::Logger getLogger()
rclcpp::Node::SharedPtr getNode()
std::vector< SmaccTransitionInfo > transitions_
static std::map< const std::type_info *, std::vector< std::shared_ptr< SmaccEventGeneratorInfo > > > eventGeneratorsInfo
std::shared_ptr< SmaccStateMachineInfo > stateMachine_
static std::map< const std::type_info *, std::vector< ClientBehaviorInfoEntry > > staticBehaviorInfo
void configureStateReactor(std::shared_ptr< smacc2::StateReactor > sr)
std::vector< StateReactorCallbackFunctor > callbacks_
StateReactorHandler(rclcpp::Node::SharedPtr nh)
rclcpp::Node::SharedPtr nh_
std::shared_ptr< smacc2::introspection::SmaccStateReactorInfo > srInfo_
rclcpp::Node::SharedPtr getNode()
std::shared_ptr< TypeInfo > Ptr
const std::type_info * behaviorType
const std::type_info * orthogonalType
std::function< void(smacc2::ISmaccState *)> factoryFunction
std::function< void(std::shared_ptr< smacc2::SmaccEventGenerator >)> fn
std::shared_ptr< EventGeneratorHandler > egh
std::function< void(smacc2::ISmaccState *)> factoryFunction
std::shared_ptr< TypeInfo > objectTagType
std::shared_ptr< TypeInfo > eventGeneratorType
std::shared_ptr< TypeInfo > outputEventType
std::vector< std::shared_ptr< SmaccEventInfo > > sourceEventTypes
std::shared_ptr< SmaccStateInfo > ownerState
std::string getEventSourceName()
std::string getOrthogonalName()
std::string getEventTypeName()
std::shared_ptr< TypeInfo > eventType
std::function< void(smacc2::ISmaccState *)> factoryFunction
std::shared_ptr< StateReactorHandler > srh
std::vector< std::shared_ptr< SmaccEventInfo > > sourceEventTypes
std::shared_ptr< TypeInfo > outputEventType
std::shared_ptr< TypeInfo > stateReactorType
std::shared_ptr< TypeInfo > objectTagType
std::shared_ptr< SmaccStateInfo > ownerState
std::shared_ptr< const SmaccStateInfo > destinyState
std::shared_ptr< SmaccEventInfo > eventInfo
std::string transitionTag
std::shared_ptr< const SmaccStateInfo > sourceState
std::string transitionType
smacc2::introspection::TypeInfo::Ptr transitionTypeInfo
std::function< void(std::shared_ptr< smacc2::StateReactor >)> fn