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]

Public Member Functions

Stamped< T > & operator= (const Stamped< T > &rhs)
 
void setData (const T &input)
 
 Stamped ()
 
 Stamped (const Stamped< T > &s)
 
 Stamped (const T &input, const ros::Time &timestamp, const std::string &frame_id)
 

Public Attributes

std::string frame_id_
 The frame_id associated this data. More...
 
ros::Time stamp_
 The timestamp associated with 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.

Definition at line 44 of file transform_datatypes.h.

Constructor & Destructor Documentation

◆ Stamped() [1/3]

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

Default constructor

Definition at line 50 of file transform_datatypes.h.

◆ Stamped() [2/3]

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

Full constructor

Definition at line 53 of file transform_datatypes.h.

◆ Stamped() [3/3]

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

Copy Constructor

Definition at line 57 of file transform_datatypes.h.

Member Function Documentation

◆ operator=()

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

Copy assignment operator

Definition at line 63 of file transform_datatypes.h.

◆ setData()

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

Set the data element

Definition at line 73 of file transform_datatypes.h.

Member Data Documentation

◆ frame_id_

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

The frame_id associated this data.

Definition at line 47 of file transform_datatypes.h.

◆ stamp_

template<typename T >
ros::Time tf2::Stamped< T >::stamp_

The timestamp associated with this data.

Definition at line 46 of file transform_datatypes.h.


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


tf2
Author(s): Tully Foote, Eitan Marder-Eppstein, Wim Meeussen
autogenerated on Sun Feb 4 2024 03:18:11