Public Member Functions | Private Attributes
MsgHelper< MsgT > Class Template Reference

List of all members.

Public Member Functions

void cb (const boost::shared_ptr< MsgT const > &msg)
void clear ()
uint32_t getCount () const
MsgT getLatest () const
ros::Time getStamp () const
 MsgHelper (std::string tag)
void set (const MsgT &msg)
bool waitForMessage (ros::WallDuration timeout) const

Private Attributes

uint32_t count_
MsgT latest_
ros::Time stamp_
std::string tag_

Detailed Description

template<typename MsgT>
class MsgHelper< MsgT >

Definition at line 36 of file test_full.cpp.


Constructor & Destructor Documentation

template<typename MsgT>
MsgHelper< MsgT >::MsgHelper ( std::string  tag) [inline]

Definition at line 38 of file test_full.cpp.


Member Function Documentation

template<typename MsgT>
void MsgHelper< MsgT >::cb ( const boost::shared_ptr< MsgT const > &  msg) [inline]

Definition at line 44 of file test_full.cpp.

template<typename MsgT>
void MsgHelper< MsgT >::clear ( ) [inline]

Definition at line 65 of file test_full.cpp.

template<typename MsgT>
uint32_t MsgHelper< MsgT >::getCount ( ) const [inline]

Definition at line 73 of file test_full.cpp.

template<typename MsgT>
MsgT MsgHelper< MsgT >::getLatest ( ) const [inline]

Definition at line 72 of file test_full.cpp.

template<typename MsgT>
ros::Time MsgHelper< MsgT >::getStamp ( ) const [inline]

Definition at line 74 of file test_full.cpp.

template<typename MsgT>
void MsgHelper< MsgT >::set ( const MsgT &  msg) [inline]

Definition at line 42 of file test_full.cpp.

template<typename MsgT>
bool MsgHelper< MsgT >::waitForMessage ( ros::WallDuration  timeout) const [inline]

Definition at line 49 of file test_full.cpp.


Member Data Documentation

template<typename MsgT>
uint32_t MsgHelper< MsgT >::count_ [private]

Definition at line 78 of file test_full.cpp.

template<typename MsgT>
MsgT MsgHelper< MsgT >::latest_ [private]

Definition at line 76 of file test_full.cpp.

template<typename MsgT>
ros::Time MsgHelper< MsgT >::stamp_ [private]

Definition at line 79 of file test_full.cpp.

template<typename MsgT>
std::string MsgHelper< MsgT >::tag_ [private]

Definition at line 77 of file test_full.cpp.


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


dataspeed_can_tools
Author(s): Micho Radovnikovich
autogenerated on Thu Jun 6 2019 21:16:41