#include <GenericSubscriber.hpp>
Public Member Functions | |
GenericSubscriber (ros::NodeHandle handle, const std::string &topicName, int queue_size) | |
T_ | getLastMsg () const |
virtual | ~GenericSubscriber () |
Protected Member Functions | |
void | msgCallback (boost::shared_ptr< T_ const > msg) |
Protected Attributes | |
T_ | lastMsg |
boost::mutex | lastMsgLock |
ros::Subscriber | sub |
Definition at line 20 of file GenericSubscriber.hpp.
TELEKYB_NAMESPACE::GenericSubscriber< T_ >::GenericSubscriber | ( | ros::NodeHandle | handle, |
const std::string & | topicName, | ||
int | queue_size | ||
) | [inline] |
Definition at line 34 of file GenericSubscriber.hpp.
virtual TELEKYB_NAMESPACE::GenericSubscriber< T_ >::~GenericSubscriber | ( | ) | [inline, virtual] |
Definition at line 38 of file GenericSubscriber.hpp.
T_ TELEKYB_NAMESPACE::GenericSubscriber< T_ >::getLastMsg | ( | ) | const [inline] |
Definition at line 40 of file GenericSubscriber.hpp.
void TELEKYB_NAMESPACE::GenericSubscriber< T_ >::msgCallback | ( | boost::shared_ptr< T_ const > | msg | ) | [inline, protected] |
Definition at line 28 of file GenericSubscriber.hpp.
T_ TELEKYB_NAMESPACE::GenericSubscriber< T_ >::lastMsg [protected] |
Definition at line 22 of file GenericSubscriber.hpp.
boost::mutex TELEKYB_NAMESPACE::GenericSubscriber< T_ >::lastMsgLock [protected] |
Definition at line 23 of file GenericSubscriber.hpp.
ros::Subscriber TELEKYB_NAMESPACE::GenericSubscriber< T_ >::sub [protected] |
Definition at line 26 of file GenericSubscriber.hpp.