Fawkes API  Fawkes Development Version
fawkes::tf::Stamped< T > Class Template Reference

Wrapper class to add time stamp and frame ID to base types. More...

#include <types.h>

Inheritance diagram for fawkes::tf::Stamped< T >:

Public Member Functions

 Stamped ()
 Default constructor. More...
 
 Stamped (const T &input, const fawkes::Time &timestamp, const std::string &frame_id)
 Constructor. More...
 
void set_data (const T &input)
 Set the data element. More...
 

Public Attributes

fawkes::Time stamp
 The timestamp associated with this data. More...
 
std::string frame_id
 The frame_id associated this data. More...
 

Detailed Description

template<typename T>
class fawkes::tf::Stamped< T >

Wrapper class to add time stamp and frame ID to base types.

Definition at line 133 of file types.h.

Constructor & Destructor Documentation

◆ Stamped() [1/2]

template<typename T>
fawkes::tf::Stamped< T >::Stamped ( )
inline

Default constructor.

Default constructor used only for preallocation.

Definition at line 141 of file types.h.

◆ Stamped() [2/2]

template<typename T>
fawkes::tf::Stamped< T >::Stamped ( const T &  input,
const fawkes::Time timestamp,
const std::string &  frame_id 
)
inline

Constructor.

Parameters
inputtransform
timestamptimestamp for this transform
frame_idframe ID the transform is relative to

Definition at line 150 of file types.h.

Member Function Documentation

◆ set_data()

template<typename T>
void fawkes::tf::Stamped< T >::set_data ( const T &  input)
inline

Set the data element.

Parameters
inputdata to set this instance to

Definition at line 157 of file types.h.

Referenced by fawkes::tf::Transformer::transform_point(), fawkes::tf::Transformer::transform_pose(), fawkes::tf::Transformer::transform_quaternion(), and fawkes::tf::Transformer::transform_vector().

Member Data Documentation

◆ frame_id

◆ stamp


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