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

Go to the source code of this file.

Functions

void callback (const variant_topic_tools::MessageVariant &variant, const ros::Time &receiptTime)
bool getTopicBase (const std::string &topic, std::string &topicBase)
int main (int argc, char **argv)
void subscribe ()

Variables

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

Function Documentation

void callback ( const variant_topic_tools::MessageVariant variant,
const ros::Time receiptTime 
)

Definition at line 58 of file echo.cpp.

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

Definition at line 32 of file echo.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 63 of file echo.cpp.

void subscribe ( )

Definition at line 52 of file echo.cpp.


Variable Documentation

Definition at line 23 of file echo.cpp.

Definition at line 25 of file echo.cpp.

size_t subscriberQueueSize = 100

Definition at line 27 of file echo.cpp.

std::string subscriberTopic

Definition at line 26 of file echo.cpp.



variant_topic_tools
Author(s): Ralf Kaestner
autogenerated on Tue Jul 9 2019 03:18:42