All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Defines
Public Member Functions | Protected Member Functions | Protected Attributes
TELEKYB_NAMESPACE::GenericSubscriber< T_ > Class Template Reference

#include <GenericSubscriber.hpp>

List of all members.

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

Detailed Description

template<class T_>
class TELEKYB_NAMESPACE::GenericSubscriber< T_ >

Definition at line 20 of file GenericSubscriber.hpp.


Constructor & Destructor Documentation

template<class T_ >
TELEKYB_NAMESPACE::GenericSubscriber< T_ >::GenericSubscriber ( ros::NodeHandle  handle,
const std::string &  topicName,
int  queue_size 
) [inline]

Definition at line 34 of file GenericSubscriber.hpp.

template<class T_ >
virtual TELEKYB_NAMESPACE::GenericSubscriber< T_ >::~GenericSubscriber ( ) [inline, virtual]

Definition at line 38 of file GenericSubscriber.hpp.


Member Function Documentation

template<class T_ >
T_ TELEKYB_NAMESPACE::GenericSubscriber< T_ >::getLastMsg ( ) const [inline]

Definition at line 40 of file GenericSubscriber.hpp.

template<class T_ >
void TELEKYB_NAMESPACE::GenericSubscriber< T_ >::msgCallback ( boost::shared_ptr< T_ const >  msg) [inline, protected]

Definition at line 28 of file GenericSubscriber.hpp.


Member Data Documentation

template<class T_ >
T_ TELEKYB_NAMESPACE::GenericSubscriber< T_ >::lastMsg [protected]

Definition at line 22 of file GenericSubscriber.hpp.

template<class T_ >
boost::mutex TELEKYB_NAMESPACE::GenericSubscriber< T_ >::lastMsgLock [protected]

Definition at line 23 of file GenericSubscriber.hpp.

template<class T_ >
ros::Subscriber TELEKYB_NAMESPACE::GenericSubscriber< T_ >::sub [protected]

Definition at line 26 of file GenericSubscriber.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Defines


telekyb_base
Author(s): Dr. Antonio Franchi and Martin Riedel
autogenerated on Mon Nov 11 2013 11:12:34