Ocean
|
Definition of a sample holding a measurement. More...
Public Member Functions | |
const Timestamp & | timestamp () const |
Returns the sample timestamp. More... | |
const ObjectIds & | objectIds () const |
Returns the sample object ids specifying possible different measurement units. More... | |
const Metadata & | metadata () const |
Returns the metadata of this sample. More... | |
Protected Member Functions | |
Sample (const Timestamp ×tamp, const ObjectIds &objectIds, const Metadata &metadata=Metadata()) | |
Creates a new measurement sample. More... | |
Sample (const Timestamp ×tamp, ObjectIds &&objectIds, Metadata &&metadata=Metadata()) | |
Creates a new measurement sample. More... | |
virtual | ~Sample () |
Destructs a sample. More... | |
Protected Attributes | |
Timestamp | timestamp_ |
Sample timestamp. More... | |
ObjectIds | objectIds_ |
Measurement unit object ids. More... | |
Metadata | metadata_ |
The metadata of this sample. More... | |
Friends | |
class | ObjectRef< Sample > |
Definition of a sample holding a measurement.
|
protected |
Creates a new measurement sample.
timestamp | Sample timestamp |
objectIds | Object ids corresponding to different measurement units of one tracker |
metadata | Optional metadata of the new sample |
|
protected |
Creates a new measurement sample.
timestamp | Sample timestamp |
objectIds | Object ids corresponding to different measurement units of one tracker |
metadata | Optional metadata of the new sample |
|
protectedvirtual |
Destructs a sample.
|
inline |
Returns the metadata of this sample.
|
inline |
Returns the sample object ids specifying possible different measurement units.
|
inline |
Returns the sample timestamp.
|
protected |
The metadata of this sample.
|
protected |
Measurement unit object ids.