|
IGSTK
|
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. | |
Protected Member Functions | |
| RealTimeClock () | |
| constructor | |
| virtual | ~RealTimeClock () |
| destructor | |
Static Protected Member Functions | |
| static void | PrintSelf (std::ostream &os, itk::Indent indent) |
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.
Definition at line 36 of file igstkRealTimeClock.h.
| typedef double igstk::RealTimeClock::TimeStampType |
Define the type for the timestamp.
Definition at line 42 of file igstkRealTimeClock.h.
| typedef double igstk::RealTimeClock::FrequencyType |
Define the type for the frequency of the clock.
Definition at line 56 of file igstkRealTimeClock.h.
| 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] |
1.7.4