mux.cpp File Reference

#include <cstdio>
#include <vector>
#include <list>
#include "ros/console.h"
#include "std_msgs/String.h"
#include "topic_tools/MuxSelect.h"
#include <string>
#include <ostream>
#include "ros/serialization.h"
#include "ros/builtin_message_traits.h"
#include "ros/message_operations.h"
#include "ros/message.h"
#include "ros/time.h"
#include "ros/service_traits.h"
#include "topic_tools/shape_shifter.h"
#include "topic_tools/parse.h"
Include dependency graph for mux.cpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  sub_info_t

Functions

bool add_topic_cb (topic_tools::MuxAdd::Request &req, topic_tools::MuxAdd::Response &res)
bool del_topic_cb (topic_tools::MuxDelete::Request &req, topic_tools::MuxDelete::Response &res)
void in_cb (const boost::shared_ptr< ShapeShifter const > &msg, ShapeShifter *s)
bool list_topic_cb (topic_tools::MuxList::Request &req, topic_tools::MuxList::Response &res)
int main (int argc, char **argv)
bool sel_srv_cb (topic_tools::MuxSelect::Request &req, topic_tools::MuxSelect::Response &res)
bool sel_srv_cb_dep (topic_tools::MuxSelect::Request &req, topic_tools::MuxSelect::Response &res)

Variables

static bool g_advertised = false
static ros::NodeHandle * g_node = NULL
static const string g_none_topic = "__none"
static string g_output_topic
static ros::Publisher g_pub
static ros::Publisher g_pub_selected
static list< struct sub_info_t >
::iterator 
g_selected = g_subs.end()
static list< struct sub_info_tg_subs

Function Documentation

bool add_topic_cb ( topic_tools::MuxAdd::Request req,
topic_tools::MuxAdd::Response res 
)

Definition at line 142 of file mux.cpp.

bool del_topic_cb ( topic_tools::MuxDelete::Request req,
topic_tools::MuxDelete::Response res 
)

Definition at line 189 of file mux.cpp.

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

Definition at line 116 of file mux.cpp.

bool list_topic_cb ( topic_tools::MuxList::Request req,
topic_tools::MuxList::Response res 
)

Definition at line 129 of file mux.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 219 of file mux.cpp.

bool sel_srv_cb ( topic_tools::MuxSelect::Request req,
topic_tools::MuxSelect::Response res 
)

Definition at line 66 of file mux.cpp.

bool sel_srv_cb_dep ( topic_tools::MuxSelect::Request req,
topic_tools::MuxSelect::Response res 
)

Definition at line 108 of file mux.cpp.


Variable Documentation

bool g_advertised = false [static]

Definition at line 52 of file mux.cpp.

ros::NodeHandle* g_node = NULL [static]

Definition at line 51 of file mux.cpp.

const string g_none_topic = "__none" [static]

Definition at line 49 of file mux.cpp.

string g_output_topic [static]

Definition at line 53 of file mux.cpp.

ros::Publisher g_pub [static]

Definition at line 54 of file mux.cpp.

ros::Publisher g_pub_selected [static]

Definition at line 55 of file mux.cpp.

list<struct sub_info_t>::iterator g_selected = g_subs.end() [static]

Definition at line 64 of file mux.cpp.

list<struct sub_info_t> g_subs [static]

Definition at line 63 of file mux.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Defines


topic_tools
Author(s): Morgan Quigley, Brian Gerkey
autogenerated on Fri Jan 11 10:05:52 2013