Template Class Stamped

Inheritance Relationships

Base Type

  • public T

Class Documentation

template<typename T>
class Stamped : public T

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

Public Functions

inline Stamped()

Default constructor

inline Stamped(const T &input, const TimePoint &timestamp, const std::string &frame_id)

Full constructor

inline Stamped(const Stamped<T> &s)

Copy Constructor

inline void setData(const T &input)

Set the data element

inline Stamped &operator=(const Stamped<T> &s)

Public Members

TimePoint stamp_

The timestamp associated with this data.

std::string frame_id_

The frame_id associated this data.