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 ()
 
void timer_cb (const ros::TimerEvent &)
 
void unsubscribe ()
 

Variables

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

Function Documentation

void conn_cb ( const ros::SingleSubscriberPublisher )

Definition at line 71 of file relay.cpp.

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

Definition at line 82 of file relay.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 147 of file relay.cpp.

void subscribe ( )

Definition at line 57 of file relay.cpp.

void timer_cb ( const ros::TimerEvent )

Definition at line 115 of file relay.cpp.

void unsubscribe ( )

Definition at line 62 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 50 of file relay.cpp.

string g_monitor_topic

Definition at line 46 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 47 of file relay.cpp.

bool g_stealth

Definition at line 51 of file relay.cpp.

Definition at line 48 of file relay.cpp.

Definition at line 52 of file relay.cpp.

ros::Timer g_timer

Definition at line 49 of file relay.cpp.



topic_tools
Author(s): Morgan Quigley, Brian Gerkey
autogenerated on Sun Feb 3 2019 03:30:24