igstk::RealTimeClock Class Reference

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

#include <igstkRealTimeClock.h>

List of all members.

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)


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 (  )  [protected, virtual]

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 
) [static, protected]


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

Generated on Thu Feb 12 09:45:56 2009 for IGSTK by  doxygen 1.5.8