#include <ROSComm.h>
Public Member Functions | |
virtual void | NotifyNewObject (Signature *sig, RelPose *pose) |
virtual void | NotifyPoseUpdate (RelPose *pose, bool sendObjectRelation=true) |
ROSComm (VisFinder *visFinder, PossibleLocations_t *pose, PerceptionPrimitive &vis, ros::Publisher *pub, int numOfObjects, int actionType, std::string callerid, std::map< std::string, std::vector< std::string > > &callerids) | |
void | Start () |
~ROSComm () | |
Private Member Functions | |
void | ProcessCall () |
void | PublishAnswer (vision_msgs::cop_answer &answer) |
Private Attributes | |
int | m_actionType |
std::string | m_callerid |
std::map< std::string, std::vector< std::string > > & | m_calleridMap |
int | m_numOfObjects |
PossibleLocations_t * | m_pose |
ros::Publisher * | m_publisher |
VisFinder * | m_visFinder |
PerceptionPrimitive & | m_visPrim |
cop::ROSComm::ROSComm | ( | VisFinder * | visFinder, |
PossibleLocations_t * | pose, | ||
PerceptionPrimitive & | vis, | ||
ros::Publisher * | pub, | ||
int | numOfObjects, | ||
int | actionType, | ||
std::string | callerid, | ||
std::map< std::string, std::vector< std::string > > & | callerids | ||
) | [inline] |
Definition at line 235 of file ROSComm.cpp.
void ROSComm::NotifyNewObject | ( | Signature * | sig, |
RelPose * | pose | ||
) | [virtual] |
Reimplemented from cop::Comm.
Definition at line 205 of file ROSComm.cpp.
void ROSComm::NotifyPoseUpdate | ( | RelPose * | pose, |
bool | sendObjectRelation = true |
||
) | [virtual] |
Implements cop::Comm.
Definition at line 177 of file ROSComm.cpp.
void ROSComm::ProcessCall | ( | ) | [private] |
Definition at line 326 of file ROSComm.cpp.
void ROSComm::PublishAnswer | ( | vision_msgs::cop_answer & | answer | ) | [private] |
Definition at line 253 of file ROSComm.cpp.
void ROSComm::Start | ( | ) |
Definition at line 244 of file ROSComm.cpp.
int cop::ROSComm::m_actionType [private] |
std::string cop::ROSComm::m_callerid [private] |
std::map<std::string, std::vector<std::string> >& cop::ROSComm::m_calleridMap [private] |
int cop::ROSComm::m_numOfObjects [private] |
PossibleLocations_t* cop::ROSComm::m_pose [private] |
ros::Publisher* cop::ROSComm::m_publisher [private] |
VisFinder* cop::ROSComm::m_visFinder [private] |
PerceptionPrimitive& cop::ROSComm::m_visPrim [private] |