53 virtual std::string
getName()
const;
55 template <
typename TComponent>
58 template <
typename TComponent>
62 template <
typename TComponent>
69 template <
typename TSmaccSignal,
typename T>
72 template <
typename SmaccClientType>
75 void getComponents(std::vector<std::shared_ptr<ISmaccComponent>> & components);
78 template <
typename EventType>
82 template <
typename EventType>
87 template <
typename TOrthogonal,
typename TSourceObject>
93 std::map<ComponentKey, std::shared_ptr<smacc2::ISmaccComponent>>
components_;
95 template <
typename SmaccComponentType,
typename TOrthogonal,
typename TClient,
typename... TArgs>
98 template <
typename SmaccComponentType,
typename TOrthogonal,
typename TClient,
typename... TArgs>
101 rclcpp::Node::SharedPtr
getNode();
ISmaccStateMachine * stateMachine_
virtual void onInitialize()
rclcpp::Node::SharedPtr getNode()
ISmaccStateMachine * getStateMachine()
std::map< ComponentKey, std::shared_ptr< smacc2::ISmaccComponent > > components_
void setStateMachine(ISmaccStateMachine *stateMachine)
virtual std::string getName() const
void onOrthogonalAllocation()
void setOrthogonal(ISmaccOrthogonal *orthogonal)
SmaccComponentType * createNamedComponent(std::string name, TArgs... targs)
rclcpp::Logger getLogger()
virtual smacc2::introspection::TypeInfo::Ptr getType()
SmaccComponentType * createComponent(TArgs... targs)
void connectSignal(TSmaccSignal &signal, void(T::*callback)(), T *object)
ISmaccOrthogonal * orthogonal_
void requiresClient(SmaccClientType *&storage)
void getComponents(std::vector< std::shared_ptr< ISmaccComponent > > &components)
TComponent * getComponent()
std::shared_ptr< TypeInfo > Ptr
void callback(const image_tools::ROSCvMatContainer &img)
const std::type_info * typeinfo
ComponentKey(const std::type_info *typeinfo, std::string name)
bool operator==(const ComponentKey &other) const
bool operator<(const ComponentKey &other) const