#include <igstkRealTimeClock.h>
Public Types | |
typedef double | TimeStampType |
Define the type for the timestamp. | |
typedef double | FrequencyType |
Define the type for the frequency of the clock. | |
Static Public Member Functions | |
static TimeStampType | GetTimeStamp () |
Returns a timestamp in milliseconds e.g. | |
static void | Initialize () |
Initialize internal variables on the Clock service. | |
static void | Print (std::ostream &os, itk::Indent indent=0) |
Print the object. | |
Protected Member Functions | |
RealTimeClock () | |
constructor | |
virtual | ~RealTimeClock () |
destructor | |
Static Protected Member Functions | |
static void | PrintSelf (std::ostream &os, itk::Indent indent) |
This class represents a real-time clock object and provides a timestamp in platform-independent format.
Definition at line 36 of file igstkRealTimeClock.h.
typedef double igstk::RealTimeClock::TimeStampType |
typedef double igstk::RealTimeClock::FrequencyType |
igstk::RealTimeClock::RealTimeClock | ( | ) | [protected] |
constructor
virtual igstk::RealTimeClock::~RealTimeClock | ( | ) | [protected, virtual] |
destructor
static TimeStampType igstk::RealTimeClock::GetTimeStamp | ( | ) | [static] |
Returns a timestamp in milliseconds e.g.
52.341243 milliseconds
static void igstk::RealTimeClock::Initialize | ( | ) | [static] |
Initialize internal variables on the Clock service.
This method must be called at the begining of every IGSTK application.
static void igstk::RealTimeClock::Print | ( | std::ostream & | os, | |
itk::Indent | indent = 0 | |||
) | [static] |
Print the object.
static void igstk::RealTimeClock::PrintSelf | ( | std::ostream & | os, | |
itk::Indent | indent | |||
) | [static, protected] |