SMACC
Loading...
Searching...
No Matches
Public Member Functions | List of all members
cl_battery_monitor::ClBatteryMonitor Class Reference

#include <cl_battery_monitor.h>

Inheritance diagram for cl_battery_monitor::ClBatteryMonitor:
Inheritance graph
Collaboration diagram for cl_battery_monitor::ClBatteryMonitor:
Collaboration graph

Public Member Functions

 ClBatteryMonitor ()
 
 ClBatteryMonitor (std::string topicname)
 
virtual ~ClBatteryMonitor ()
 
template<typename TOrthogonal , typename TSourceObject >
void onOrthogonalAllocation ()
 
- Public Member Functions inherited from smacc::client_bases::SmaccSubscriberClient< sensor_msgs::BatteryState >
 SmaccSubscriberClient ()
 
 SmaccSubscriberClient (std::string topicname)
 
virtual ~SmaccSubscriberClient ()
 
boost::signals2::connection onMessageReceived (void(T::*callback)(const sensor_msgs::BatteryState &), T *object)
 
boost::signals2::connection onFirstMessageReceived (void(T::*callback)(const sensor_msgs::BatteryState &), T *object)
 
void onOrthogonalAllocation ()
 
virtual void initialize ()
 
- Public Member Functions inherited from smacc::ISmaccClient
 ISmaccClient ()
 
virtual ~ISmaccClient ()
 
virtual void initialize ()
 
virtual std::string getName () const
 
template<typename EventType >
void postEvent (const EventType &ev)
 
template<typename EventType >
void postEvent ()
 
template<typename TComponent >
TComponent * getComponent ()
 
template<typename TComponent >
TComponent * getComponent (std::string name)
 
virtual smacc::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)
 

Additional Inherited Members

- Public Types inherited from smacc::client_bases::SmaccSubscriberClient< sensor_msgs::BatteryState >
typedef sensor_msgs::BatteryState TMessageType
 
- Public Attributes inherited from smacc::client_bases::SmaccSubscriberClient< sensor_msgs::BatteryState >
boost::optional< std::string > topicName
 
boost::optional< int > queueSize
 
smacc::SmaccSignal< void(const sensor_msgs::BatteryState &)> onFirstMessageReceived_
 
smacc::SmaccSignal< void(const sensor_msgs::BatteryState &)> onMessageReceived_
 
std::function< void(const sensor_msgs::BatteryState &)> postMessageEvent
 
std::function< void(const sensor_msgs::BatteryState &)> postInitialMessageEvent
 
- Protected Member Functions inherited from smacc::ISmaccClient
template<typename TOrthogonal , typename TSourceObject >
void onOrthogonalAllocation ()
 
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)
 
void setStateMachine (ISmaccStateMachine *stateMachine)
 
void setOrthogonal (ISmaccOrthogonal *orthogonal)
 
- Protected Attributes inherited from smacc::client_bases::SmaccSubscriberClient< sensor_msgs::BatteryState >
ros::NodeHandle nh_
 
- Protected Attributes inherited from smacc::ISmaccClient
std::map< ComponentKey, std::shared_ptr< smacc::ISmaccComponent > > components_
 

Detailed Description

Definition at line 16 of file cl_battery_monitor.h.

Constructor & Destructor Documentation

◆ ClBatteryMonitor() [1/2]

cl_battery_monitor::ClBatteryMonitor::ClBatteryMonitor ( )

Definition at line 6 of file cl_battery_monitor.cpp.

7{
8}

◆ ClBatteryMonitor() [2/2]

cl_battery_monitor::ClBatteryMonitor::ClBatteryMonitor ( std::string  topicname)

◆ ~ClBatteryMonitor()

cl_battery_monitor::ClBatteryMonitor::~ClBatteryMonitor ( )
virtual

Definition at line 16 of file cl_battery_monitor.cpp.

17{
18}

Member Function Documentation

◆ onOrthogonalAllocation()

template<typename TOrthogonal , typename TSourceObject >
void cl_battery_monitor::ClBatteryMonitor::onOrthogonalAllocation ( )
inline

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