|
SMACC2
|
Client for mission tracking and decision sequencing. More...
#include <cl_mission_tracker.hpp>
Public Member Functions | |
| ClMissionTracker () | |
| virtual | ~ClMissionTracker () |
| template<typename TOrthogonal , typename TClient > | |
| void | onComponentInitialization () |
Public Member Functions inherited from smacc2::ISmaccClient | |
| ISmaccClient () | |
| virtual | ~ISmaccClient () |
| virtual void | onInitialize () |
| virtual std::string | getName () const |
| template<typename TComponent > | |
| TComponent * | getComponent () |
| template<typename TComponent > | |
| TComponent * | getComponent (std::string name) |
| template<typename TComponent > | |
| TComponent * | getComponent (int index) |
| virtual smacc2::introspection::TypeInfo::Ptr | getType () |
| ISmaccStateMachine * | getStateMachine () |
| template<typename TSmaccSignal , typename T > | |
| void | connectSignal (TSmaccSignal &signal, void(T::*callback)(), T *object) |
| template<typename SmaccClientType > | |
| void | requiresClient (SmaccClientType *&storage) |
| void | getComponents (std::vector< std::shared_ptr< ISmaccComponent > > &components) |
| const std::vector< std::shared_ptr< ISmaccComponent > > & | iterateComponents () const |
| template<typename EventType > | |
| void | postEvent (const EventType &ev) |
| template<typename EventType > | |
| void | postEvent () |
Additional Inherited Members | |
Protected Member Functions inherited from smacc2::ISmaccClient | |
| template<typename TOrthogonal , typename TClient > | |
| void | onComponentInitialization () |
| template<typename TOrthogonal , typename TSourceObject > | |
| void | onStateOrthogonalAllocation () |
| template<typename SmaccComponentType , typename TOrthogonal , typename TClient , typename... TArgs> | |
| SmaccComponentType * | createComponent (TArgs... targs) |
| template<typename SmaccComponentType , typename TOrthogonal , typename TClient , typename... TArgs> | |
| SmaccComponentType * | createNamedComponent (std::string name, TArgs... targs) |
| rclcpp::Node::SharedPtr | getNode () |
| rclcpp::Logger | getLogger () |
Protected Attributes inherited from smacc2::ISmaccClient | |
| std::map< ComponentKey, std::shared_ptr< smacc2::ISmaccComponent > > | components_ |
Client for mission tracking and decision sequencing.
This client follows the pure component-based architecture pattern. It acts as an orchestrator that creates and wires components:
Client behaviors should use requiresComponent() to access the decision manager, not direct client fields.
Definition at line 65 of file cl_mission_tracker.hpp.
|
inline |
Definition at line 68 of file cl_mission_tracker.hpp.
|
inlinevirtual |
Definition at line 70 of file cl_mission_tracker.hpp.
|
inline |
Definition at line 73 of file cl_mission_tracker.hpp.
References smacc2::ISmaccClient::createComponent().