MIRA
|
Stamped class for primitive types like int, float, etc. More...
#include <utils/Stamped.h>
Public Types | |
typedef T | value_type |
Public Member Functions | |
StampedPrimitive () | |
Default constructor, that does not initializes anything. More... | |
StampedPrimitive (const T &iData, const Time &iTimestamp, uint32 iSequenceID=0) | |
Constructs the Stamped data from its time stamp and the actual data. More... | |
StampedPrimitive (const T &iData, const Time &iTimestamp, const std::string &iFrameID, uint32 iSequenceID=0) | |
Constructs the Stamped data from its time stamp, the frame id and the actual data. More... | |
template<typename Reflector > | |
void | reflect (Reflector &r) |
T & | value () |
Returns a read-write reference to the underlying data. More... | |
const T & | value () const |
Returns a read-only reference to the underlying data. More... | |
operator const T & () const | |
Cast operator that casts this into T. More... | |
operator T & () | |
Cast operator that casts this into T. More... | |
const T & | operator= (const T &iValue) |
Assignment operator that can assign T to this. More... | |
T & | internalValueRep () |
Returns a read-write reference to the underlying data representation. More... | |
const T & | internalValueRep () const |
Returns a read-only reference to the underlying data representation. More... | |
Public Attributes | |
Time | timestamp |
The time stamp when the data was obtained. More... | |
std::string | frameID |
The unique id of the transform frame that this data is assigned to (if any, otherwise empty) More... | |
uint32 | sequenceID |
A user defined sequence ID. More... | |
Stamped class for primitive types like int, float, etc.
You should never use this class directly. Use Stamped instead and specify the primitive type as template parameter, e.g.
typedef T value_type |
|
inline |
Default constructor, that does not initializes anything.
|
inline |
Constructs the Stamped data from its time stamp and the actual data.
|
inline |
Constructs the Stamped data from its time stamp, the frame id and the actual data.
|
inline |
|
inline |
Returns a read-write reference to the underlying data.
|
inline |
Returns a read-only reference to the underlying data.
|
inline |
Cast operator that casts this into T.
|
inline |
Cast operator that casts this into T.
|
inline |
Assignment operator that can assign T to this.
|
inline |
Returns a read-write reference to the underlying data representation.
|
inline |
Returns a read-only reference to the underlying data representation.
|
inherited |
The time stamp when the data was obtained.
|
inherited |
The unique id of the transform frame that this data is assigned to (if any, otherwise empty)
|
inherited |
A user defined sequence ID.