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.
|
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.
|
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
Constructor & Destructor Documentation
igstk::RealTimeClock::RealTimeClock |
( |
| ) |
|
|
protected |
virtual igstk::RealTimeClock::~RealTimeClock |
( |
| ) |
|
|
protectedvirtual |
Member Function Documentation
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 |
static void igstk::RealTimeClock::PrintSelf |
( |
std::ostream & |
os, |
|
|
itk::Indent |
indent |
|
) |
| |
|
staticprotected |
The documentation for this class was generated from the following file: