MIRA
Public Member Functions | Public Attributes | List of all members
StampedHeader Class Reference

The common header for all stamped data. More...

#include <utils/Stamped.h>

Inheritance diagram for StampedHeader:
Inheritance graph
[legend]

Public Member Functions

 StampedHeader ()
 Default constructor, that does not initialize time or frame id. More...
 
 StampedHeader (const Time &iTimestamp, uint32 iSequenceID=0)
 Constructs the header from its time stamp and an optional sequence id. More...
 
 StampedHeader (const Time &iTimestamp, const std::string &iFrameID, uint32 iSequenceID=0)
 Constructs the header from its time stamp, the frame id and an optional sequence id. More...
 
template<typename Reflector >
void reflect (Reflector &r)
 

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...
 

Detailed Description

The common header for all stamped data.

It contains the time stamp, the frame ID and the sequence ID.

Constructor & Destructor Documentation

◆ StampedHeader() [1/3]

StampedHeader ( )
inline

Default constructor, that does not initialize time or frame id.

Sets sequence id to 0.

◆ StampedHeader() [2/3]

StampedHeader ( const Time iTimestamp,
uint32  iSequenceID = 0 
)
inline

Constructs the header from its time stamp and an optional sequence id.

◆ StampedHeader() [3/3]

StampedHeader ( const Time iTimestamp,
const std::string &  iFrameID,
uint32  iSequenceID = 0 
)
inline

Constructs the header from its time stamp, the frame id and an optional sequence id.

Member Function Documentation

◆ reflect()

void reflect ( Reflector &  r)
inline

Member Data Documentation

◆ timestamp

Time timestamp

The time stamp when the data was obtained.

◆ frameID

std::string frameID

The unique id of the transform frame that this data is assigned to (if any, otherwise empty)

◆ sequenceID

uint32 sequenceID

A user defined sequence ID.


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