Public Member Functions | Private Attributes | List of all members
MsgRx< MsgT > Class Template Reference

#include <MsgRx.h>

Public Member Functions

ros::WallDuration age () const
 
void clear ()
 
bool fresh (ros::WallDuration delta) const
 
bool fresh () const
 
const MsgT & get () const
 
 MsgRx (const ros::WallDuration &thresh)
 
 MsgRx (const ros::WallDuration &thresh, const MsgT &msg)
 
void set (const MsgT &msg)
 
const ros::WallTimestamp () const
 

Private Attributes

ros::WallDuration dur_
 
MsgT msg_
 
ros::WallTime stamp_
 

Detailed Description

template<typename MsgT>
class MsgRx< MsgT >

Definition at line 22 of file MsgRx.h.

Constructor & Destructor Documentation

template<typename MsgT>
MsgRx< MsgT >::MsgRx ( const ros::WallDuration thresh)
inline

Definition at line 24 of file MsgRx.h.

template<typename MsgT>
MsgRx< MsgT >::MsgRx ( const ros::WallDuration thresh,
const MsgT &  msg 
)
inline

Definition at line 25 of file MsgRx.h.

Member Function Documentation

template<typename MsgT>
ros::WallDuration MsgRx< MsgT >::age ( ) const
inline

Definition at line 30 of file MsgRx.h.

template<typename MsgT>
void MsgRx< MsgT >::clear ( )
inline

Definition at line 27 of file MsgRx.h.

template<typename MsgT>
bool MsgRx< MsgT >::fresh ( ros::WallDuration  delta) const
inline

Definition at line 28 of file MsgRx.h.

template<typename MsgT>
bool MsgRx< MsgT >::fresh ( ) const
inline

Definition at line 29 of file MsgRx.h.

template<typename MsgT>
const MsgT& MsgRx< MsgT >::get ( ) const
inline

Definition at line 31 of file MsgRx.h.

template<typename MsgT>
void MsgRx< MsgT >::set ( const MsgT &  msg)
inline

Definition at line 26 of file MsgRx.h.

template<typename MsgT>
const ros::WallTime& MsgRx< MsgT >::stamp ( ) const
inline

Definition at line 32 of file MsgRx.h.

Member Data Documentation

template<typename MsgT>
ros::WallDuration MsgRx< MsgT >::dur_
private

Definition at line 36 of file MsgRx.h.

template<typename MsgT>
MsgT MsgRx< MsgT >::msg_
private

Definition at line 34 of file MsgRx.h.

template<typename MsgT>
ros::WallTime MsgRx< MsgT >::stamp_
private

Definition at line 35 of file MsgRx.h.


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


dataspeed_ulc_can
Author(s): Micho Radovnikovich
autogenerated on Thu Jul 9 2020 03:45:43