tf2  master
tf2 maintains the relationship between coordinate frames in a tree structure buffered in time, and lets the user transform points, vectors, etc between any two coordinate frames at any desired point in time.
Public Member Functions | Public Attributes | List of all members
tf2::Stamped< T > Class Template Reference

The data type which will be cross compatable with geometry_msgs This is the tf2 datatype equivilant of a MessageStamped. More...

#include <transform_datatypes.h>

Inheritance diagram for tf2::Stamped< T >:
Inheritance graph
[legend]
Collaboration diagram for tf2::Stamped< T >:
Collaboration graph
[legend]

Public Member Functions

 Stamped ()
 
 Stamped (const T &input, const TimePoint &timestamp, const std::string &frame_id)
 
 Stamped (const Stamped< T > &s)
 
void setData (const T &input)
 
Stampedoperator= (const Stamped< T > &s)
 

Public Attributes

TimePoint 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 tf2::Stamped< T >

The data type which will be cross compatable with geometry_msgs This is the tf2 datatype equivilant of a MessageStamped.

Constructor & Destructor Documentation

◆ Stamped() [1/3]

template<typename T >
tf2::Stamped< T >::Stamped ( )
inline

Default constructor

◆ Stamped() [2/3]

template<typename T >
tf2::Stamped< T >::Stamped ( const T &  input,
const TimePoint timestamp,
const std::string frame_id 
)
inline

Full constructor

◆ Stamped() [3/3]

template<typename T >
tf2::Stamped< T >::Stamped ( const Stamped< T > &  s)
inline

Copy Constructor

Member Function Documentation

◆ setData()

template<typename T >
void tf2::Stamped< T >::setData ( const T &  input)
inline

Set the data element

◆ operator=()

template<typename T >
Stamped& tf2::Stamped< T >::operator= ( const Stamped< T > &  s)
inline

Member Data Documentation

◆ stamp_

template<typename T >
TimePoint tf2::Stamped< T >::stamp_

The timestamp associated with this data.

◆ frame_id_

template<typename T >
std::string tf2::Stamped< T >::frame_id_

The frame_id associated this data.


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