SMACC2
|
#include <cl_ros_publisher.hpp>
Public Member Functions | |
ClRosPublisher () | |
~ClRosPublisher () | |
template<typename MessageType > | |
void | configure (std::string topicName) |
template<typename MessageType > | |
void | publish (const MessageType &msg) |
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 () |
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 | |
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_ |
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_ |
Definition at line 27 of file cl_ros_publisher.hpp.
cl_ros_publisher::ClRosPublisher::ClRosPublisher | ( | ) |
Definition at line 25 of file cl_ros_publisher_client.cpp.
cl_ros_publisher::ClRosPublisher::~ClRosPublisher | ( | ) |
Definition at line 27 of file cl_ros_publisher_client.cpp.
|
inline |
Definition at line 34 of file cl_ros_publisher.hpp.
References smacc2::client_bases::SmaccPublisherClient::topicName.
|
inline |
Definition at line 40 of file cl_ros_publisher.hpp.
Referenced by cl_ros_publisher::CbDefaultPublishLoop::setMessage(), and cl_ros_publisher::CbPublishOnce< RosMsgType >::setMessage().