Class ISmaccComponent

Inheritance Relationships

Derived Types

Class Documentation

class ISmaccComponent

Subclassed by smacc2::components::CpTopicPublisher< MessageType >, smacc2::components::CpTopicSubscriber< MessageType >

Public Functions

ISmaccComponent()
virtual ~ISmaccComponent()
virtual std::string getName() const

Protected Functions

virtual void onInitialize()
template<typename EventType>
void postEvent(const EventType &ev)
template<typename EventType>
void postEvent()
template<typename TOrthogonal, typename TSourceObject>
inline void onOrthogonalAllocation()
template<typename TComponent>
void requiresComponent(TComponent *&requiredComponentStorage, bool throwExceptionIfNotExist = false)
template<typename TComponent>
void requiresComponent(std::string name, TComponent *&requiredComponentStorage, bool throwExceptionIfNotExist = false)
template<typename TClient>
void requiresClient(TClient *&requiredClientStorage)
template<typename SmaccComponentType, typename TOrthogonal, typename TClient, typename ...TArgs>
SmaccComponentType *createSiblingComponent(TArgs... targs)
template<typename SmaccComponentType, typename TOrthogonal, typename TClient, typename ...TArgs>
SmaccComponentType *createSiblingNamedComponent(std::string name, TArgs... targs)
rclcpp::Node::SharedPtr getNode()
rclcpp::Logger getLogger() const
ISmaccStateMachine *getStateMachine()

Protected Attributes

ISmaccStateMachine *stateMachine_
ISmaccClient *owner_