SMACC
Loading...
Searching...
No Matches
smacc_client_library
ros_publisher_client
include
ros_publisher_client
cl_ros_publisher.h
Go to the documentation of this file.
1
2
#pragma once
3
4
#include <
smacc/client_bases/smacc_publisher_client.h
>
5
6
namespace
cl_ros_publisher
7
{
8
9
class
ClRosPublisher
:
public
smacc::client_bases::SmaccPublisherClient
10
{
11
public
:
12
ClRosPublisher
()
13
{
14
}
15
16
template
<
typename
MessageType>
17
void
configure
(std::string
topicName
)
18
{
19
SmaccPublisherClient::configure<MessageType>(
topicName
);
20
}
21
22
template
<
typename
MessageType>
23
void
publish
(
const
MessageType &msg)
24
{
25
SmaccPublisherClient::publish(msg);
26
}
27
};
28
}
// namespace cl_ros_publisher
cl_ros_publisher::ClRosPublisher
Definition:
cl_ros_publisher.h:10
cl_ros_publisher::ClRosPublisher::configure
void configure(std::string topicName)
Definition:
cl_ros_publisher.h:17
cl_ros_publisher::ClRosPublisher::publish
void publish(const MessageType &msg)
Definition:
cl_ros_publisher.h:23
cl_ros_publisher::ClRosPublisher::ClRosPublisher
ClRosPublisher()
Definition:
cl_ros_publisher.h:12
smacc::client_bases::SmaccPublisherClient
Definition:
smacc_publisher_client.h:17
smacc::client_bases::SmaccPublisherClient::topicName
boost::optional< std::string > topicName
Definition:
smacc_publisher_client.h:19
cl_ros_publisher
Definition:
cl_ros_publisher.h:7
smacc_publisher_client.h
Generated by
1.9.5