Classes | Functions | Variables
demux.cpp File Reference
#include <cstdio>
#include <vector>
#include <list>
#include "ros/console.h"
#include "std_msgs/String.h"
#include "topic_tools/DemuxSelect.h"
#include "topic_tools/DemuxAdd.h"
#include "topic_tools/DemuxList.h"
#include "topic_tools/DemuxDelete.h"
#include "topic_tools/shape_shifter.h"
#include "topic_tools/parse.h"
Include dependency graph for demux.cpp:

Go to the source code of this file.

Classes

struct  pub_info_t
 

Functions

bool add_topic_cb (topic_tools::DemuxAdd::Request &req, topic_tools::DemuxAdd::Response &res)
 
bool del_topic_cb (topic_tools::DemuxDelete::Request &req, topic_tools::DemuxDelete::Response &res)
 
void in_cb (const boost::shared_ptr< ShapeShifter const > &msg)
 
bool list_topic_cb (topic_tools::DemuxList::Request &req, topic_tools::DemuxList::Response &res)
 
int main (int argc, char **argv)
 
bool sel_srv_cb (topic_tools::DemuxSelect::Request &req, topic_tools::DemuxSelect::Response &res)
 

Variables

static string g_input_topic
 
static ros::NodeHandleg_node = NULL
 
static const string g_none_topic = "__none"
 
static ros::Publisher g_pub_selected
 
static list< struct pub_info_tg_pubs
 
static list< struct pub_info_t >::iterator g_selected = g_pubs.end()
 
static ros::Subscriber g_sub
 

Function Documentation

bool add_topic_cb ( topic_tools::DemuxAdd::Request &  req,
topic_tools::DemuxAdd::Response &  res 
)

Definition at line 177 of file demux.cpp.

bool del_topic_cb ( topic_tools::DemuxDelete::Request &  req,
topic_tools::DemuxDelete::Response &  res 
)

Definition at line 215 of file demux.cpp.

void in_cb ( const boost::shared_ptr< ShapeShifter const > &  msg)

Definition at line 119 of file demux.cpp.

bool list_topic_cb ( topic_tools::DemuxList::Request &  req,
topic_tools::DemuxList::Response &  res 
)

Definition at line 163 of file demux.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 247 of file demux.cpp.

bool sel_srv_cb ( topic_tools::DemuxSelect::Request &  req,
topic_tools::DemuxSelect::Response &  res 
)

Definition at line 69 of file demux.cpp.

Variable Documentation

string g_input_topic
static

Definition at line 54 of file demux.cpp.

ros::NodeHandle* g_node = NULL
static

Definition at line 52 of file demux.cpp.

const string g_none_topic = "__none"
static

Definition at line 50 of file demux.cpp.

ros::Publisher g_pub_selected
static

Definition at line 56 of file demux.cpp.

list<struct pub_info_t> g_pubs
static

Definition at line 66 of file demux.cpp.

list<struct pub_info_t>::iterator g_selected = g_pubs.end()
static

Definition at line 67 of file demux.cpp.

ros::Subscriber g_sub
static

Definition at line 55 of file demux.cpp.



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