B2BITS FIX Antenna HFT  1.0.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
System::TimeStamp Class Reference

Represents a specific instant in time, with millisecond precision. More...

#include <FE_SYS_Time.h>

Public Member Functions

 TimeStamp ()
 Constructor. More...
 
u64 toLong () const
 Returns the u64 reprsentation in milliseconds. More...
 
const std::string toString () const
 Returns the std::string reprsentation in the "YYYYMMDD-HH:MM:SS.sss" format. More...
 
void update ()
 Updates the stored value to current time. More...
 

Detailed Description

Represents a specific instant in time, with millisecond precision.

Constructor & Destructor Documentation

System::TimeStamp::TimeStamp ( )

Constructor.

Calls update();

Member Function Documentation

u64 System::TimeStamp::toLong ( ) const

Returns the u64 reprsentation in milliseconds.

const std::string System::TimeStamp::toString ( ) const

Returns the std::string reprsentation in the "YYYYMMDD-HH:MM:SS.sss" format.

void System::TimeStamp::update ( )

Updates the stored value to current time.

Exceptions
SystemException