Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends
rosmatlab::Subscriber Class Reference

#include <subscriber.h>

Inheritance diagram for rosmatlab::Subscriber:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Definition at line 44 of file subscriber.h.


Member Typedef Documentation

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.


Constructor & Destructor Documentation

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.


Member Function Documentation

void rosmatlab::Subscriber::callback ( const MessageEvent event) [private]

Definition at line 177 of file subscriber.cpp.

Definition at line 136 of file subscriber.cpp.

Definition at line 155 of file subscriber.cpp.

mxArray * rosmatlab::Subscriber::getMD5Sum ( ) const

Definition at line 161 of file subscriber.cpp.

Reimplemented from ros::Subscriber.

Definition at line 167 of file subscriber.cpp.

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.


Friends And Related Function Documentation

friend class SubscriptionCallbackHelper [friend]

Definition at line 65 of file subscriber.h.


Member Data Documentation

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.


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


rosmatlab
Author(s): Johannes Meyer
autogenerated on Fri Jul 25 2014 06:48:13