SMACC2
Public Member Functions | List of all members
sm_ferrari::cl_subscriber::ClSubscriber Class Reference

#include <cl_subscriber.hpp>

Inheritance diagram for sm_ferrari::cl_subscriber::ClSubscriber:
Inheritance graph
Collaboration diagram for sm_ferrari::cl_subscriber::ClSubscriber:
Collaboration graph

Public Member Functions

 ClSubscriber (std::string topicname)
 
- Public Member Functions inherited from smacc2::client_bases::SmaccSubscriberClient< std_msgs::msg::Float32 >
 SmaccSubscriberClient ()
 
 SmaccSubscriberClient (std::string topicname)
 
virtual ~SmaccSubscriberClient ()
 
boost::signals2::connection onMessageReceived (void(T::*callback)(const std_msgs::msg::Float32 &), T *object)
 
boost::signals2::connection onFirstMessageReceived (void(T::*callback)(const std_msgs::msg::Float32 &), T *object)
 
void onOrthogonalAllocation ()
 
- 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)
 
template<typename EventType >
void postEvent (const EventType &ev)
 
template<typename EventType >
void postEvent ()
 

Additional Inherited Members

- Public Types inherited from smacc2::client_bases::SmaccSubscriberClient< std_msgs::msg::Float32 >
typedef std_msgs::msg::Float32 TMessageType
 
- Public Attributes inherited from smacc2::client_bases::SmaccSubscriberClient< std_msgs::msg::Float32 >
std::optional< std::string > topicName
 
std::optional< int > queueSize
 
smacc2::SmaccSignal< void(const std_msgs::msg::Float32 &)> onFirstMessageReceived_
 
smacc2::SmaccSignal< void(const std_msgs::msg::Float32 &)> onMessageReceived_
 
std::function< void(const std_msgs::msg::Float32 &)> postMessageEvent
 
std::function< void(const std_msgs::msg::Float32 &)> postInitialMessageEvent
 
- Protected Member Functions inherited from smacc2::client_bases::SmaccSubscriberClient< std_msgs::msg::Float32 >
void onInitialize () override
 
- Protected Member Functions inherited from smacc2::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)
 
rclcpp::Node::SharedPtr getNode ()
 
rclcpp::Logger getLogger ()
 
- Protected Attributes inherited from smacc2::ISmaccClient
std::map< ComponentKey, std::shared_ptr< smacc2::ISmaccComponent > > components_
 

Detailed Description

Definition at line 23 of file cl_subscriber.hpp.

Constructor & Destructor Documentation

◆ ClSubscriber()

sm_ferrari::cl_subscriber::ClSubscriber::ClSubscriber ( std::string  topicname)
inline

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