SMACC
|
#include <component.h>
Public Member Functions | |
ISmaccComponent () | |
virtual | ~ISmaccComponent () |
virtual std::string | getName () const |
Protected Member Functions | |
virtual void | initialize (ISmaccClient *owner) |
void | setStateMachine (ISmaccStateMachine *stateMachine) |
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) |
virtual void | onInitialize () |
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) |
Protected Attributes | |
ISmaccStateMachine * | stateMachine_ |
ISmaccClient * | owner_ |
Friends | |
class | ISmaccOrthogonal |
class | ISmaccClient |
Definition at line 14 of file component.h.
smacc::ISmaccComponent::ISmaccComponent | ( | ) |
Definition at line 15 of file smacc_component.cpp.
|
virtual |
Definition at line 11 of file smacc_component.cpp.
|
protected |
Definition at line 33 of file smacc_component_impl.h.
References smacc::ISmaccClient::createComponent(), and owner_.
|
protected |
Definition at line 39 of file smacc_component_impl.h.
References smacc::ISmaccClient::createNamedComponent(), and owner_.
|
virtual |
Definition at line 36 of file smacc_component.cpp.
References smacc::introspection::demangleSymbol().
Referenced by smacc::components::CpTopicSubscriber< MessageType >::initialize().
|
protectedvirtual |
Definition at line 20 of file smacc_component.cpp.
References onInitialize(), and owner_.
|
protectedvirtual |
Reimplemented in smacc::components::CpRosControlInterface, cl_move_base_z::CostmapSwitch, cl_move_base_z::PlannerSwitcher, and cl_move_base_z::WaypointNavigator.
Definition at line 26 of file smacc_component.cpp.
Referenced by initialize().
|
inlineprotected |
Definition at line 38 of file component.h.
|
protected |
Referenced by smacc::components::CpTopicSubscriber< MessageType >::onOrthogonalAllocation().
|
protected |
Definition at line 15 of file smacc_component_impl.h.
References smacc::ISmaccStateMachine::postEvent(), and stateMachine_.
|
protected |
Definition at line 27 of file smacc_component_impl.h.
References owner_, and smacc::ISmaccClient::requiresClient().
|
protected |
Definition at line 21 of file smacc_component_impl.h.
References smacc::ISmaccClient::getComponent(), and owner_.
|
protected |
Definition at line 31 of file smacc_component.cpp.
References stateMachine_.
|
friend |
Definition at line 60 of file component.h.
|
friend |
Definition at line 59 of file component.h.
|
protected |
Definition at line 57 of file component.h.
Referenced by createSiblingComponent(), createSiblingNamedComponent(), initialize(), cl_move_base_z::CostmapSwitch::onInitialize(), cl_move_base_z::PlannerSwitcher::onInitialize(), cl_move_base_z::WaypointNavigator::onInitialize(), requiresClient(), and requiresComponent().
|
protected |
Definition at line 55 of file component.h.
Referenced by postEvent(), and setStateMachine().