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

Go to the source code of this file.

Functions

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

Variables

variant_topic_tools::MessageDefinition messageDefinition
 
ros::NodeHandlePtr nodeHandle
 
ros::Subscriber subscriber
 
size_t subscriberQueueSize = 100
 
std::string subscriberTopic
 

Function Documentation

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

Definition at line 60 of file info.cpp.

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

Definition at line 35 of file info.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 84 of file info.cpp.

void subscribe ( )

Definition at line 55 of file info.cpp.

Variable Documentation

Definition at line 30 of file info.cpp.

ros::NodeHandlePtr nodeHandle

Definition at line 24 of file info.cpp.

ros::Subscriber subscriber

Definition at line 26 of file info.cpp.

size_t subscriberQueueSize = 100

Definition at line 28 of file info.cpp.

std::string subscriberTopic

Definition at line 27 of file info.cpp.



variant_topic_tools
Author(s): Ralf Kaestner
autogenerated on Sat Jan 9 2021 03:56:50