#include <SubscribeR.h>
Public Member Functions | |
void | callback (const ros::MessageEvent< topic_tools::ShapeShifter const > &event) |
const char * | getMessageDefinition () |
const char * | getMessageMD5 () |
ros::serialization::IStream * | getMessageStream () |
const char * | getMessageType () |
const char * | getPublisher () |
bool | hasAnyMessage () |
bool | hasNewMessage () |
SubscribeR (ros::NodeHandle *handle, const char *cTopic, const char *cMsgType, const char *cMsgDefinition, const char *cMsgMD5) | |
~SubscribeR () | |
Private Attributes | |
bool | m_bAnyMessage |
bool | m_bNewMessage |
ros::MessageEvent < topic_tools::ShapeShifter const > | m_Event |
ros::serialization::IStream * | m_isStream |
ros::Subscriber | m_rosSubscriber |
std::string | m_strMsgDefinition |
std::string | m_strMsgMD5 |
std::string | m_strMsgType |
boost::shared_array< uint8_t > * | m_ui8Buffer |
unsigned int | m_uiBufferSize |
Definition at line 6 of file SubscribeR.h.
SubscribeR::SubscribeR | ( | ros::NodeHandle * | handle, |
const char * | cTopic, | ||
const char * | cMsgType, | ||
const char * | cMsgDefinition, | ||
const char * | cMsgMD5 | ||
) | [inline] |
Definition at line 8 of file SubscribeR.h.
SubscribeR::~SubscribeR | ( | ) | [inline] |
Definition at line 22 of file SubscribeR.h.
void SubscribeR::callback | ( | const ros::MessageEvent< topic_tools::ShapeShifter const > & | event | ) | [inline] |
Definition at line 27 of file SubscribeR.h.
const char* SubscribeR::getMessageDefinition | ( | ) | [inline] |
Definition at line 48 of file SubscribeR.h.
const char* SubscribeR::getMessageMD5 | ( | ) | [inline] |
Definition at line 50 of file SubscribeR.h.
ros::serialization::IStream* SubscribeR::getMessageStream | ( | ) | [inline] |
Definition at line 53 of file SubscribeR.h.
const char* SubscribeR::getMessageType | ( | ) | [inline] |
Definition at line 46 of file SubscribeR.h.
const char* SubscribeR::getPublisher | ( | ) | [inline] |
Definition at line 44 of file SubscribeR.h.
bool SubscribeR::hasAnyMessage | ( | ) | [inline] |
Definition at line 41 of file SubscribeR.h.
bool SubscribeR::hasNewMessage | ( | ) | [inline] |
Definition at line 42 of file SubscribeR.h.
bool SubscribeR::m_bAnyMessage [private] |
Definition at line 68 of file SubscribeR.h.
bool SubscribeR::m_bNewMessage [private] |
Definition at line 64 of file SubscribeR.h.
ros::MessageEvent<topic_tools::ShapeShifter const> SubscribeR::m_Event [private] |
Definition at line 75 of file SubscribeR.h.
Definition at line 79 of file SubscribeR.h.
ros::Subscriber SubscribeR::m_rosSubscriber [private] |
Definition at line 70 of file SubscribeR.h.
std::string SubscribeR::m_strMsgDefinition [private] |
Definition at line 72 of file SubscribeR.h.
std::string SubscribeR::m_strMsgMD5 [private] |
Definition at line 73 of file SubscribeR.h.
std::string SubscribeR::m_strMsgType [private] |
Definition at line 71 of file SubscribeR.h.
boost::shared_array<uint8_t>* SubscribeR::m_ui8Buffer [private] |
Definition at line 77 of file SubscribeR.h.
unsigned int SubscribeR::m_uiBufferSize [private] |
Definition at line 78 of file SubscribeR.h.