|
|
#include <ArmarXCore/observers/variant/TimestampVariant.h>
Inheritance diagram for TimestampVariant:Public Member Functions | |
| VariantDataClassPtr | clone (const Ice::Current &c=Ice::emptyCurrent) const override |
| void | deserialize (const armarx::ObjectSerializerBasePtr &serializer, const ::Ice::Current &=Ice::emptyCurrent) override |
| long | getTimestamp () |
| return timestamp in microseconds since the Unix Epoch. More... | |
| VariantTypeId | getType (const Ice::Current &c=Ice::emptyCurrent) const override |
| Ice::ObjectPtr | ice_clone () const override |
| std::string | output (const Ice::Current &c=Ice::emptyCurrent) const override |
| void | serialize (const armarx::ObjectSerializerBasePtr &serializer, const ::Ice::Current &=Ice::emptyCurrent) const override |
| TimestampVariant () | |
| TimestampVariant (IceUtil::Time time) | |
| TimestampVariant (long timestamp) | |
| Construct a timestamp Variant from an initialization value. More... | |
| template<class... Ts> | |
| TimestampVariant (std::chrono::duration< Ts... > duration) | |
| template<class... Ts> | |
| TimestampVariant (std::chrono::time_point< Ts... > timepoint) | |
| IceUtil::Time | toTime () |
| bool | validate (const Ice::Current &c=Ice::emptyCurrent) override |
Static Public Member Functions | |
| static TimestampVariantPtr | nowPtr () |
Friends | |
| std::ostream & | operator<< (std::ostream &stream, const TimestampVariant &rhs) |
Implements a Variant type for timestamps. The timestamp value is interpreted as microseconds since the Unix Epoch. Internally the class bases on the IceUtil::Time functionality of Ice.
For information on how to use this type, refer to Variant.
Definition at line 54 of file TimestampVariant.h.
| TimestampVariant | ( | ) |
Definition at line 31 of file TimestampVariant.cpp.
| TimestampVariant | ( | long | timestamp | ) |
Construct a timestamp Variant from an initialization value.
| timestamp | Initialization timestamp in microseconds since the Unix Epoch |
Definition at line 35 of file TimestampVariant.cpp.
Here is the call graph for this function:| TimestampVariant | ( | IceUtil::Time | time | ) |
|
inline |
Definition at line 68 of file TimestampVariant.h.
|
inline |
Definition at line 75 of file TimestampVariant.h.
|
inlineoverride |
Definition at line 93 of file TimestampVariant.h.
|
override |
| long getTimestamp | ( | ) |
return timestamp in microseconds since the Unix Epoch.
Definition at line 46 of file TimestampVariant.cpp.
Here is the call graph for this function:
|
inlineoverride |
Definition at line 107 of file TimestampVariant.h.
|
inlineoverride |
Definition at line 87 of file TimestampVariant.h.
|
inlinestatic |
Definition at line 126 of file TimestampVariant.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineoverride |
|
override |
|
inline |
|
inlineoverride |
Definition at line 113 of file TimestampVariant.h.
|
friend |
Definition at line 119 of file TimestampVariant.h.