Functions | Variables
relay.cpp File Reference
#include <ros/ros.h>
#include <variant_topic_tools/Message.h>
Include dependency graph for relay.cpp:

Go to the source code of this file.

Functions

void callback (const ros::MessageEvent< variant_topic_tools::Message > &messageEvent)
void connectCallback (const ros::SingleSubscriberPublisher &)
bool getTopicBase (const std::string &topic, std::string &topicBase)
int main (int argc, char **argv)
void subscribe ()

Variables

bool lazy = false
ros::NodeHandlePtr nodeHandle
ros::Publisher publisher
size_t publisherQueueSize = 100
std::string publisherTopic
ros::Subscriber subscriber
size_t subscriberQueueSize = 100
std::string subscriberTopic
ros::TransportHints subscriberTransportHints

Function Documentation

void callback ( const ros::MessageEvent< variant_topic_tools::Message > &  messageEvent)

Definition at line 65 of file relay.cpp.

bool getTopicBase ( const std::string &  topic,
std::string &  topicBase 
)

Definition at line 40 of file relay.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 105 of file relay.cpp.

void subscribe ( )

Definition at line 60 of file relay.cpp.


Variable Documentation

bool lazy = false

Definition at line 34 of file relay.cpp.

Definition at line 23 of file relay.cpp.

Definition at line 30 of file relay.cpp.

size_t publisherQueueSize = 100

Definition at line 32 of file relay.cpp.

std::string publisherTopic

Definition at line 31 of file relay.cpp.

Definition at line 25 of file relay.cpp.

size_t subscriberQueueSize = 100

Definition at line 27 of file relay.cpp.

std::string subscriberTopic

Definition at line 26 of file relay.cpp.

Definition at line 28 of file relay.cpp.



variant_topic_tools
Author(s): Ralf Kaestner
autogenerated on Fri Aug 5 2016 06:06:27