IGSTK
Public Types | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | List of all members
igstk::RealTimeClock Class Reference

The RealTimeClock provides a timestamp from a real-time clock. More...

#include <igstkRealTimeClock.h>

Public Types

typedef double TimeStampType
 Define the type for the timestamp. More...
 
typedef double FrequencyType
 Define the type for the frequency of the clock. More...
 

Static Public Member Functions

static TimeStampType GetTimeStamp ()
 Returns a timestamp in milliseconds e.g. More...
 
static void Initialize ()
 Initialize internal variables on the Clock service. More...
 
static void Print (std::ostream &os, itk::Indent indent=0)
 Print the object. More...
 

Protected Member Functions

 RealTimeClock ()
 constructor More...
 
virtual ~RealTimeClock ()
 destructor More...
 

Static Protected Member Functions

static void PrintSelf (std::ostream &os, itk::Indent indent)
 

Detailed Description

The RealTimeClock provides a timestamp from a real-time clock.

This class represents a real-time clock object and provides a timestamp in platform-independent format.

Author
Hee-Su Kim, Compute Science Dept. Kyungpook National University, Copyright (c) ISC Insight Software Consortium. All rights reserved.

Definition at line 36 of file igstkRealTimeClock.h.

Member Typedef Documentation

Define the type for the timestamp.

Definition at line 42 of file igstkRealTimeClock.h.

Define the type for the frequency of the clock.

Definition at line 56 of file igstkRealTimeClock.h.

Constructor & Destructor Documentation

igstk::RealTimeClock::RealTimeClock ( )
protected

constructor

virtual igstk::RealTimeClock::~RealTimeClock ( )
protectedvirtual

destructor

Member Function Documentation

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 
)
staticprotected

The documentation for this class was generated from the following file: