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 () const
 
bool fresh (ros::WallDuration delta) 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

◆ MsgRx() [1/2]

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

Definition at line 37 of file MsgRx.h.

◆ MsgRx() [2/2]

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

Definition at line 38 of file MsgRx.h.

Member Function Documentation

◆ age()

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

Definition at line 43 of file MsgRx.h.

◆ clear()

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

Definition at line 40 of file MsgRx.h.

◆ fresh() [1/2]

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

Definition at line 42 of file MsgRx.h.

◆ fresh() [2/2]

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

Definition at line 41 of file MsgRx.h.

◆ get()

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

Definition at line 44 of file MsgRx.h.

◆ set()

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

Definition at line 39 of file MsgRx.h.

◆ stamp()

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

Definition at line 45 of file MsgRx.h.

Member Data Documentation

◆ dur_

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

Definition at line 49 of file MsgRx.h.

◆ msg_

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

Definition at line 47 of file MsgRx.h.

◆ stamp_

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

Definition at line 48 of file MsgRx.h.


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


dataspeed_ulc_can
Author(s): Micho Radovnikovich
autogenerated on Sat Dec 3 2022 03:34:49