cheshirekow  v0.1.0
nix::Clock Class Reference

#include <cpp_nix/clock.h>

Public Member Functions

 Clock (clockid_t clock_id)
 
timespec GetRes ()
 
timespec GetTime ()
 
int SetTime (const timespec &time)
 

Private Attributes

clockid_t m_clock_id
 

Detailed Description

Definition at line 34 of file clock.h.

Constructor & Destructor Documentation

nix::Clock::Clock ( clockid_t  clock_id)
inline

Definition at line 36 of file clock.h.

Member Function Documentation

timespec nix::Clock::GetRes ( )
inline

Definition at line 40 of file clock.h.

timespec nix::Clock::GetTime ( )
inline

Definition at line 50 of file clock.h.

int nix::Clock::SetTime ( const timespec &  time)
inline

Definition at line 60 of file clock.h.

Member Data Documentation

clockid_t nix::Clock::m_clock_id
private

Definition at line 65 of file clock.h.


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