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