38AbsoluteHighResolutionTimeImpl;
42RelativeHighResolutionTimeImpl;
44#elif defined __linux__
46typedef timeval AbsoluteHighResolutionTimeImpl;
47typedef struct Nothing {} RelativeHighResolutionTimeImpl;
50#error High resolution time services are not defined for a given platform.
157#elif defined __linux__
163 enum ValueKind { Invalid, Absolute, Relative };
167 AbsoluteHighResolutionTimeImpl asAbsolute;
168 RelativeHighResolutionTimeImpl asRelative;
174 HighResolutionTime (ValueKind kind);
179 return ! (Invalid == kind_);
static HighResolutionTime parse(const std::string &time)
std::string toString() const
friend struct TimestampHelpers
HighResolutionTime(const HighResolutionTimeFields &)
HighResolutionTime(const HighResolutionTime &)
HighResolutionTime(UInt64)
static HighResolutionTime now()
void getFields(HighResolutionTimeFields *fields) const
long long HighResolutionTimeSpan
AbsoluteHighResolutionTimeImpl Timestamp
unsigned long long UInt64
ONIXS_MTS_BONDVISION_SDP_API std::ostream & operator<<(std::ostream &stream, TradeImpactService::Enum value)
void fromAbsolute(const AbsoluteHighResolutionTimeImpl &)
void fromString(const std::string &)
std::string toString() const
void toAbsolute(AbsoluteHighResolutionTimeImpl *) const
unsigned int microseconds