Public Member Functions | Public Attributes
cop::ROSTopicManager Class Reference

#include <ROSComm.h>

List of all members.

Public Member Functions

void CloseROSTopic (std::string name)
void FeedbackCallBack (vision_msgs::cop_feedback::ConstPtr feedback)
void Listen (std::string name, volatile bool &g_stopall, ros::NodeHandle *node)
bool ListenCallBack (vision_srvs::cop_call::Request &request, vision_srvs::cop_call::Response &answer)
bool ListProgramCallBack (vision_srvs::cop_get_methods_list::Request &msg, vision_srvs::cop_get_methods_list::Response &answer)
void NewSignatureCallBack (std_msgs::String::ConstPtr xmlFilename)
bool OpenCommOnROSTopic (std::string st)
 ROSTopicManager (VisFinder *s_visFinder, SignatureDB *s_sigDb)
bool SaveCallBack (vision_srvs::cop_save::Request &msg, vision_srvs::cop_save::Response &answer)
void StatusThread ()
void Subscriber (const ros::SingleSubscriberPublisher &subs)
 ~ROSTopicManager ()

Public Attributes

std::map< std::string,
ros::Publisher * > 
m_openTopics
SignatureDBm_sig
ros::Publisher m_statusPublisher
std::map< std::string,
std::vector< std::string > > 
m_subscriberPerTopics
VisFinderm_visFinder

Detailed Description

Definition at line 124 of file ROSComm.h.


Constructor & Destructor Documentation

ROSTopicManager::ROSTopicManager ( VisFinder s_visFinder,
SignatureDB s_sigDb 
)

Definition at line 454 of file ROSComm.cpp.

Definition at line 460 of file ROSComm.cpp.


Member Function Documentation

void ROSTopicManager::CloseROSTopic ( std::string  name)

Definition at line 468 of file ROSComm.cpp.

Definition at line 813 of file ROSComm.cpp.

void ROSTopicManager::Listen ( std::string  name,
volatile bool &  g_stopall,
ros::NodeHandle node 
)

Now we subscribe using the normal method, to demonstrate the difference.

Definition at line 844 of file ROSComm.cpp.

Definition at line 492 of file ROSComm.cpp.

#define ALGORITHMTYPE_LOCATE 0x000 #define ALGORITHMTYPE_TRACK 0x010 #define ALGORITHMTYPE_REFINE 0x100 #define ALGORITHMTYPE_2OBJS 0x200 #define ALGORITHMTYPE_RPOVE 0x400 #define ALGORITHMTYPE_STARTATTEND 0x1000

Definition at line 776 of file ROSComm.cpp.

void ROSTopicManager::NewSignatureCallBack ( std_msgs::String::ConstPtr  xmlFilename)

Definition at line 705 of file ROSComm.cpp.

bool ROSTopicManager::OpenCommOnROSTopic ( std::string  st)

Definition at line 897 of file ROSComm.cpp.

Definition at line 650 of file ROSComm.cpp.

Definition at line 904 of file ROSComm.cpp.

Definition at line 473 of file ROSComm.cpp.


Member Data Documentation

Definition at line 149 of file ROSComm.h.

Definition at line 154 of file ROSComm.h.

Definition at line 151 of file ROSComm.h.

std::map<std::string, std::vector<std::string> > cop::ROSTopicManager::m_subscriberPerTopics

Definition at line 155 of file ROSComm.h.

Definition at line 153 of file ROSComm.h.


The documentation for this class was generated from the following files:


cognitive_perception
Author(s): Ulrich F Klank
autogenerated on Mon Oct 6 2014 10:48:46