29namespace introspection
79 std::function<void(std::shared_ptr<smacc2::StateReactor>)>
fn;
93 template <
typename TEv>
96 template <
typename TEv>
101 std::shared_ptr<smacc2::introspection::SmaccStateReactorInfo>
srInfo_;
104 rclcpp::Node::SharedPtr
nh_;
127 std::shared_ptr<StateReactorHandler>
srh;
133 std::function<void(std::shared_ptr<smacc2::SmaccEventGenerator>)>
fn;
144 template <
typename TEv>
147 std::shared_ptr<smacc2::introspection::SmaccEventGeneratorInfo>
egInfo_;
161 std::shared_ptr<EventGeneratorHandler>
egh;
174 typedef std::shared_ptr<SmaccStateInfo>
Ptr;
177 static std::map<const std::type_info *, std::vector<std::shared_ptr<SmaccStateReactorInfo>>>
179 static std::map<const std::type_info *, std::vector<std::shared_ptr<SmaccEventGeneratorInfo>>>
195 const std::type_info * tid, std::shared_ptr<SmaccStateInfo> parentState,
196 std::shared_ptr<SmaccStateMachineInfo> stateMachineInfo);
202 void getAncestors(std::list<const SmaccStateInfo *> & ancestorsList)
const;
206 template <
typename StateType>
209 template <
typename EvType>
211 std::shared_ptr<SmaccStateInfo> & dstState, std::string transitionTag,
212 std::string transitionType,
bool history,
TypeInfo::Ptr transitionTypeInfo);
220 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