Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::RealTimeClock Class Reference

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

#include <itkRealTimeClock.h>

Inheritance diagram for itk::RealTimeClock:

Inheritance graph
[legend]
Collaboration diagram for itk::RealTimeClock:

Collaboration graph
[legend]
List of all members.

Public Types

typedef RealTimeClock Self
typedef itk::Object Superclass
typedef itk::SmartPointer<
Self
Pointer
typedef itk::SmartPointer<
const Self
ConstPointer
typedef double TimeStampType
typedef double FrequencyType

Public Member Functions

virtual const char * GetNameOfClass () const
virtual FrequencyType GetFrequency () const
TimeStampType GetTimeStamp () const
TimeStampType GetTimestamp () const

Static Public Member Functions

Pointer New ()

Protected Member Functions

 RealTimeClock ()
virtual ~RealTimeClock ()
virtual void PrintSelf (std::ostream &os, itk::Indent indent) const

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, ISIS Center, Georgetown University.

Definition at line 38 of file itkRealTimeClock.h.


Member Typedef Documentation

typedef itk::SmartPointer< const Self > itk::RealTimeClock::ConstPointer
 

Reimplemented from itk::Object.

Definition at line 46 of file itkRealTimeClock.h.

typedef double itk::RealTimeClock::FrequencyType
 

Define the type for the frequency of the clock

Definition at line 58 of file itkRealTimeClock.h.

typedef itk::SmartPointer< Self > itk::RealTimeClock::Pointer
 

Reimplemented from itk::Object.

Definition at line 45 of file itkRealTimeClock.h.

typedef RealTimeClock itk::RealTimeClock::Self
 

Smart pointer typedef support.

Reimplemented from itk::Object.

Definition at line 43 of file itkRealTimeClock.h.

typedef itk::Object itk::RealTimeClock::Superclass
 

Reimplemented from itk::Object.

Definition at line 44 of file itkRealTimeClock.h.

typedef double itk::RealTimeClock::TimeStampType
 

Define the type for the timestap

Definition at line 55 of file itkRealTimeClock.h.

Referenced by GetTimestamp().


Constructor & Destructor Documentation

itk::RealTimeClock::RealTimeClock  )  [protected]
 

constructor

virtual itk::RealTimeClock::~RealTimeClock  )  [protected, virtual]
 

destructor


Member Function Documentation

virtual FrequencyType itk::RealTimeClock::GetFrequency  )  const [virtual]
 

Returns the frequency of a clock

virtual const char* itk::RealTimeClock::GetNameOfClass  )  const [virtual]
 

Method for defining the name of the class

Reimplemented from itk::Object.

TimeStampType itk::RealTimeClock::GetTimestamp  )  const [inline]
 

Returns a timestamp in seconds e.g. 52.341243 seconds

Definition at line 62 of file itkRealTimeClock.h.

References itkWarningMacro, and TimeStampType.

TimeStampType itk::RealTimeClock::GetTimeStamp  )  const
 

Returns a timestamp in seconds e.g. 52.341243 seconds

Pointer itk::RealTimeClock::New  )  [static]
 

Method for creation through the object factory

Reimplemented from itk::Object.

virtual void itk::RealTimeClock::PrintSelf std::ostream &  os,
itk::Indent  indent
const [protected, virtual]
 

Print the object information in a stream.

Reimplemented from itk::Object.


The documentation for this class was generated from the following file:
Generated at Thu May 25 02:09:41 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000