SMACC2
Public Member Functions | Public Attributes | List of all members
sm_dance_bot_warehouse_3::cl_string_publisher::ClStringPublisher Class Reference

#include <cl_string_publisher.hpp>

Inheritance diagram for sm_dance_bot_warehouse_3::cl_string_publisher::ClStringPublisher:
Inheritance graph
Collaboration diagram for sm_dance_bot_warehouse_3::cl_string_publisher::ClStringPublisher:
Collaboration graph

Public Member Functions

 ClStringPublisher (std::string topicName)
 
void onInitialize () override
 
- Public Member Functions inherited from smacc2::client_bases::SmaccPublisherClient
 SmaccPublisherClient ()
 
virtual ~SmaccPublisherClient ()
 
template<typename MessageType >
void configure (std::string topicName)
 
template<typename MessageType >
void publish (const MessageType &msg)
 
- 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 ()
 

Public Attributes

std::string topicName_
 
- Public Attributes inherited from smacc2::client_bases::SmaccPublisherClient
std::optional< std::string > topicName
 
std::optional< int > queueSize
 
std::optional< rmw_qos_durability_policy_t > durability
 
std::optional< rmw_qos_reliability_policy_t > reliability
 
rclcpp::PublisherBase::SharedPtr pub_
 

Additional Inherited Members

- 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 30 of file cl_string_publisher.hpp.

Constructor & Destructor Documentation

◆ ClStringPublisher()

sm_dance_bot_warehouse_3::cl_string_publisher::ClStringPublisher::ClStringPublisher ( std::string  topicName)
inline

Member Function Documentation

◆ onInitialize()

void sm_dance_bot_warehouse_3::cl_string_publisher::ClStringPublisher::onInitialize ( )
inlineoverridevirtual

Reimplemented from smacc2::ISmaccClient.

Definition at line 35 of file cl_string_publisher.hpp.

35{ this->configure<std_msgs::msg::String>(topicName_); }

References topicName_.

Member Data Documentation

◆ topicName_

std::string sm_dance_bot_warehouse_3::cl_string_publisher::ClStringPublisher::topicName_

Definition at line 37 of file cl_string_publisher.hpp.

Referenced by onInitialize().


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