#include <subscriber.h>
Public Member Functions | |
mxArray * | getConnectionHeader () const |
mxArray * | getDataType () const |
mxArray * | getMD5Sum () const |
mxArray * | getNumPublishers () const |
mxArray * | getReceiptTime () const |
mxArray * | getTopic () const |
mxArray * | poll (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) |
mxArray * | subscribe (int nrhs, const mxArray *prhs[]) |
Subscriber () | |
Subscriber (int nrhs, const mxArray *prhs[]) | |
~Subscriber () | |
Private Types | |
typedef ros::MessageEvent< void > | MessageEvent |
typedef boost::shared_ptr < MessageEvent > | MessageEventPtr |
Private Member Functions | |
void | callback (const MessageEvent &event) |
MessagePtr | introspect (const VoidConstPtr &msg) |
Private Attributes | |
ros::CallbackQueue | callback_queue_ |
cpp_introspection::MessagePtr | introspection_ |
MessageEventPtr | last_event_ |
MessageEventPtr | new_event_ |
ros::NodeHandle | node_handle_ |
ros::SubscribeOptions | options_ |
ros::WallDuration | timeout_ |
Friends | |
class | SubscriptionCallbackHelper |
Definition at line 44 of file subscriber.h.
typedef ros::MessageEvent<void> rosmatlab::Subscriber::MessageEvent [private] |
Definition at line 66 of file subscriber.h.
typedef boost::shared_ptr<MessageEvent> rosmatlab::Subscriber::MessageEventPtr [private] |
Definition at line 67 of file subscriber.h.
Reimplemented from ros::Subscriber.
Definition at line 59 of file subscriber.cpp.
rosmatlab::Subscriber::Subscriber | ( | int | nrhs, |
const mxArray * | prhs[] | ||
) |
Definition at line 66 of file subscriber.cpp.
Reimplemented from ros::Subscriber.
Definition at line 75 of file subscriber.cpp.
void rosmatlab::Subscriber::callback | ( | const MessageEvent & | event | ) | [private] |
Definition at line 177 of file subscriber.cpp.
mxArray * rosmatlab::Subscriber::getConnectionHeader | ( | ) | const |
Definition at line 136 of file subscriber.cpp.
mxArray * rosmatlab::Subscriber::getDataType | ( | ) | const |
Definition at line 155 of file subscriber.cpp.
mxArray * rosmatlab::Subscriber::getMD5Sum | ( | ) | const |
Definition at line 161 of file subscriber.cpp.
mxArray * rosmatlab::Subscriber::getNumPublishers | ( | ) | const |
Reimplemented from ros::Subscriber.
Definition at line 167 of file subscriber.cpp.
mxArray * rosmatlab::Subscriber::getReceiptTime | ( | ) | const |
Definition at line 142 of file subscriber.cpp.
mxArray * rosmatlab::Subscriber::getTopic | ( | ) | const |
Reimplemented from ros::Subscriber.
Definition at line 150 of file subscriber.cpp.
MessagePtr rosmatlab::Subscriber::introspect | ( | const VoidConstPtr & | msg | ) | [private] |
Definition at line 172 of file subscriber.cpp.
mxArray * rosmatlab::Subscriber::poll | ( | int | nlhs, |
mxArray * | plhs[], | ||
int | nrhs, | ||
const mxArray * | prhs[] | ||
) |
Definition at line 116 of file subscriber.cpp.
mxArray * rosmatlab::Subscriber::subscribe | ( | int | nrhs, |
const mxArray * | prhs[] | ||
) |
Definition at line 79 of file subscriber.cpp.
friend class SubscriptionCallbackHelper [friend] |
Definition at line 65 of file subscriber.h.
Definition at line 74 of file subscriber.h.
cpp_introspection::MessagePtr rosmatlab::Subscriber::introspection_ [private] |
Definition at line 77 of file subscriber.h.
Definition at line 79 of file subscriber.h.
Definition at line 78 of file subscriber.h.
Definition at line 72 of file subscriber.h.
Definition at line 73 of file subscriber.h.
Definition at line 75 of file subscriber.h.