SMACC2
|
#include <component.hpp>
Public Member Functions | |
ISmaccComponent () | |
virtual | ~ISmaccComponent () |
virtual std::string | getName () const |
Protected Member Functions | |
virtual void | onInitialize () |
template<typename EventType > | |
void | postEvent (const EventType &ev) |
template<typename EventType > | |
void | postEvent () |
template<typename TOrthogonal , typename TSourceObject > | |
void | onOrthogonalAllocation () |
template<typename TComponent > | |
void | requiresComponent (TComponent *&requiredComponentStorage) |
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 () |
ISmaccStateMachine * | getStateMachine () |
Protected Attributes | |
ISmaccStateMachine * | stateMachine_ |
ISmaccClient * | owner_ |
Private Member Functions | |
void | initialize (ISmaccClient *owner) |
void | setStateMachine (ISmaccStateMachine *stateMachine) |
Friends | |
class | ISmaccOrthogonal |
class | ISmaccClient |
Definition at line 29 of file component.hpp.
smacc2::ISmaccComponent::ISmaccComponent | ( | ) |
Definition at line 27 of file smacc_component.cpp.
|
virtual |
Definition at line 25 of file smacc_component.cpp.
|
protected |
Definition at line 49 of file smacc_component_impl.hpp.
References smacc2::ISmaccClient::createComponent(), and owner_.
|
protected |
Definition at line 55 of file smacc_component_impl.hpp.
References smacc2::ISmaccClient::createNamedComponent(), and owner_.
|
protected |
Definition at line 44 of file smacc_component.cpp.
References smacc2::ISmaccClient::getLogger(), and owner_.
Referenced by smacc2::components::CpTopicSubscriber< MessageType >::onInitialize().
|
virtual |
Definition at line 46 of file smacc_component.cpp.
References smacc2::introspection::demangleSymbol().
Referenced by smacc2::components::CpTopicSubscriber< MessageType >::onInitialize().
|
protected |
Definition at line 42 of file smacc_component.cpp.
References smacc2::ISmaccClient::getNode(), and owner_.
Referenced by smacc2::components::CpTopicSubscriber< MessageType >::onInitialize().
|
protected |
Definition at line 52 of file smacc_component.cpp.
References stateMachine_.
Referenced by smacc2::components::CpTopicSubscriber< MessageType >::onFirstMessageReceived(), and smacc2::components::CpTopicSubscriber< MessageType >::onMessageReceived().
|
private |
Definition at line 29 of file smacc_component.cpp.
References onInitialize(), and owner_.
|
protectedvirtual |
Reimplemented in smacc2::components::CpTopicPublisher< MessageType >, and smacc2::components::CpTopicSubscriber< MessageType >.
Definition at line 35 of file smacc_component.cpp.
Referenced by initialize().
|
inlineprotected |
Definition at line 51 of file component.hpp.
|
protected |
Referenced by smacc2::components::CpTopicSubscriber< MessageType >::onOrthogonalAllocation().
|
protected |
Definition at line 31 of file smacc_component_impl.hpp.
References smacc2::ISmaccStateMachine::postEvent(), and stateMachine_.
|
protected |
Definition at line 43 of file smacc_component_impl.hpp.
References owner_, and smacc2::ISmaccClient::requiresClient().
|
protected |
Definition at line 37 of file smacc_component_impl.hpp.
References smacc2::ISmaccClient::getComponent(), and owner_.
|
private |
Definition at line 37 of file smacc_component.cpp.
References stateMachine_.
|
friend |
Definition at line 88 of file component.hpp.
|
friend |
Definition at line 87 of file component.hpp.
|
protected |
Definition at line 77 of file component.hpp.
Referenced by createSiblingComponent(), createSiblingNamedComponent(), getLogger(), getNode(), initialize(), requiresClient(), and requiresComponent().
|
protected |
Definition at line 75 of file component.hpp.
Referenced by getStateMachine(), postEvent(), and setStateMachine().