Functions | Variables
relay.cpp File Reference
#include <cstdio>
#include "topic_tools/shape_shifter.h"
#include "topic_tools/parse.h"
Include dependency graph for relay.cpp:

Go to the source code of this file.

Functions

void conn_cb (const ros::SingleSubscriberPublisher &)
 
void in_cb (const ros::MessageEvent< ShapeShifter > &msg_event)
 
int main (int argc, char **argv)
 
void subscribe ()
 

Variables

bool g_advertised = false
 
string g_input_topic
 
bool g_lazy
 
ros::NodeHandleg_node = NULL
 
string g_output_topic
 
ros::Publisher g_pub
 
ros::Subscriberg_sub
 
ros::TransportHints g_th
 

Function Documentation

void conn_cb ( const ros::SingleSubscriberPublisher )

Definition at line 59 of file relay.cpp.

void in_cb ( const ros::MessageEvent< ShapeShifter > &  msg_event)

Definition at line 70 of file relay.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 104 of file relay.cpp.

void subscribe ( )

Definition at line 54 of file relay.cpp.

Variable Documentation

bool g_advertised = false

Definition at line 43 of file relay.cpp.

string g_input_topic

Definition at line 44 of file relay.cpp.

bool g_lazy

Definition at line 48 of file relay.cpp.

ros::NodeHandle* g_node = NULL

Definition at line 42 of file relay.cpp.

string g_output_topic

Definition at line 45 of file relay.cpp.

Definition at line 46 of file relay.cpp.

Definition at line 47 of file relay.cpp.

Definition at line 49 of file relay.cpp.



topic_tools
Author(s): Morgan Quigley, Brian Gerkey, Dirk Thomas
autogenerated on Mon Nov 2 2020 03:52:58