SMACC2
Loading...
Searching...
No Matches
cl_mission_tracker::ClMissionTracker Class Reference

Client for mission tracking and decision sequencing. More...

#include <cl_mission_tracker.hpp>

Inheritance diagram for cl_mission_tracker::ClMissionTracker:
Inheritance graph
Collaboration diagram for cl_mission_tracker::ClMissionTracker:
Collaboration graph

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 ()
 
ISmaccStateMachinegetStateMachine ()
 
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_
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ClMissionTracker()

cl_mission_tracker::ClMissionTracker::ClMissionTracker ( )
inline

Definition at line 68 of file cl_mission_tracker.hpp.

68{}

◆ ~ClMissionTracker()

virtual cl_mission_tracker::ClMissionTracker::~ClMissionTracker ( )
inlinevirtual

Definition at line 70 of file cl_mission_tracker.hpp.

70{}

Member Function Documentation

◆ onComponentInitialization()

template<typename TOrthogonal , typename TClient >
void cl_mission_tracker::ClMissionTracker::onComponentInitialization ( )
inline

Definition at line 73 of file cl_mission_tracker.hpp.

74 {
75 // Create decision manager component
77 }
SmaccComponentType * createComponent(TArgs... targs)

References smacc2::ISmaccClient::createComponent().

Here is the call graph for this function:

The documentation for this class was generated from the following file: