Fawkes API  Fawkes Development Version
fawkes::tf::Stamped Class Reference

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

#include <types.h>

List of all members.

Public Member Functions

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

Public Attributes

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

Detailed Description

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


Constructor & Destructor Documentation

fawkes::tf::Stamped::Stamped ( ) [inline]

Default constructor.

Default constructor used only for preallocation.

Definition at line 136 of file types.h.

fawkes::tf::Stamped::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 143 of file types.h.


Member Function Documentation

void fawkes::tf::Stamped::set_data ( const T &  input) [inline]

Set the data element.

Parameters:
inputdata to set this instance to

Definition at line 150 of file types.h.

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


Member Data Documentation


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