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
 

Function Documentation

◆ conn_cb()

void conn_cb ( const ros::SingleSubscriberPublisher )

Definition at line 70 of file relay.cpp.

◆ in_cb()

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

Definition at line 81 of file relay.cpp.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 146 of file relay.cpp.

◆ subscribe()

void subscribe ( )

Definition at line 56 of file relay.cpp.

◆ timer_cb()

void timer_cb ( const ros::TimerEvent )

Definition at line 114 of file relay.cpp.

◆ unsubscribe()

void unsubscribe ( )

Definition at line 61 of file relay.cpp.

Variable Documentation

◆ g_advertised

bool g_advertised = false

Definition at line 43 of file relay.cpp.

◆ g_input_topic

string g_input_topic

Definition at line 44 of file relay.cpp.

◆ g_lazy

bool g_lazy

Definition at line 49 of file relay.cpp.

◆ g_monitor_topic

string g_monitor_topic

Definition at line 46 of file relay.cpp.

◆ g_node

ros::NodeHandle* g_node = NULL

Definition at line 42 of file relay.cpp.

◆ g_output_topic

string g_output_topic

Definition at line 45 of file relay.cpp.

◆ g_pub

Definition at line 47 of file relay.cpp.

◆ g_stealth

bool g_stealth

Definition at line 50 of file relay.cpp.

◆ g_sub

Definition at line 48 of file relay.cpp.

◆ g_th

Definition at line 51 of file relay.cpp.



topic_tools
Author(s): Morgan Quigley, Brian Gerkey, Dirk Thomas
autogenerated on Mon Feb 28 2022 23:34:17