31 namespace BondVision {
38 AbsoluteHighResolutionTimeImpl;
42 RelativeHighResolutionTimeImpl;
44 #elif defined __linux__ 46 typedef timeval AbsoluteHighResolutionTimeImpl;
47 typedef struct Nothing {} RelativeHighResolutionTimeImpl;
50 #error High resolution time services are not defined for a given platform. 73 void fromAbsolute (
const AbsoluteHighResolutionTimeImpl&);
77 void toAbsolute (AbsoluteHighResolutionTimeImpl*)
const;
81 void fromString (
const std::string&);
85 std::string toString()
const;
113 bool isValid()
const;
121 std::string toString()
const;
152 friend struct TimestampHelpers;
157 #elif defined __linux__ 163 enum ValueKind { Invalid, Absolute, Relative };
167 AbsoluteHighResolutionTimeImpl asAbsolute;
168 RelativeHighResolutionTimeImpl asRelative;
179 return ! (Invalid == kind_);
unsigned int microseconds
AbsoluteHighResolutionTimeImpl Timestamp
long long HighResolutionTimeSpan
ONIXS_MTS_BONDVISION_SDP_API std::ostream & operator<<(std::ostream &stream, TradeImpactService::Enum value)
unsigned long long UInt64