ICP  1
Public Member Functions | Private Attributes | List of all members
ICPClock Class Reference

#include <icputils.h>

Inheritance diagram for ICPClock:
Inheritance graph

Public Member Functions

 ICPClock ()
 
void syncToSystemTime ()
 
void setParameters (LONGLONG perf_counter, LONGLONG proc_freq, FILETIME filetime)
 
void getParameters (LONGLONG &perf_counter, LONGLONG &proc_freq, FILETIME &filetime)
 
void getCurrentTimeAsFiletime (FILETIME &ft)
 
void getCurrentTimeFromEpoch (time_t &tt)
 

Private Attributes

LARGE_INTEGER m_proc_freq
 
LARGE_INTEGER m_perf_counter
 
FILETIME m_filetime
 
double m_perf_to_ft
 

Additional Inherited Members

- Protected Member Functions inherited from ISIS::Base
 Base (const std::string &logger_name="UNKNOWN")
 
void setLoggerName (const std::string &logger_name)
 
virtual ~Base ()
 
virtual std::string loggingPrefix () const
 
void setThisLoggerLevel (int level)
 
- Static Protected Member Functions inherited from ISIS::Base
static void setAllLoggerLevel (int level)
 
- Protected Attributes inherited from ISIS::Base
Poco::Logger * m_logger
 
Poco::LogStream * m_logstr
 
Poco::Mutex m_logger_lock
 

Detailed Description

Definition at line 143 of file icputils.h.

Constructor & Destructor Documentation

ICPClock::ICPClock ( )
inline

Definition at line 151 of file icputils.h.

References ISIS::Base::setLoggerName(), and syncToSystemTime().

Member Function Documentation

void ICPClock::getCurrentTimeAsFiletime ( FILETIME &  ft)
inline
void ICPClock::getCurrentTimeFromEpoch ( time_t &  tt)
inline

Definition at line 210 of file icputils.h.

References getCurrentTimeAsFiletime().

void ICPClock::getParameters ( LONGLONG &  perf_counter,
LONGLONG &  proc_freq,
FILETIME &  filetime 
)
inline

Definition at line 184 of file icputils.h.

References m_filetime, m_perf_counter, and m_proc_freq.

Referenced by ISISCRPT_STRUCT::ISISCRPT_STRUCT().

void ICPClock::setParameters ( LONGLONG  perf_counter,
LONGLONG  proc_freq,
FILETIME  filetime 
)
inline
void ICPClock::syncToSystemTime ( )
inline

Definition at line 157 of file icputils.h.

References m_filetime, m_perf_counter, m_perf_to_ft, and m_proc_freq.

Referenced by ICPClock().

Member Data Documentation

FILETIME ICPClock::m_filetime
private
LARGE_INTEGER ICPClock::m_perf_counter
private
double ICPClock::m_perf_to_ft
private

Definition at line 148 of file icputils.h.

Referenced by getCurrentTimeAsFiletime(), setParameters(), and syncToSystemTime().

LARGE_INTEGER ICPClock::m_proc_freq
private

Definition at line 146 of file icputils.h.

Referenced by getParameters(), setParameters(), and syncToSystemTime().


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