2004 by Marc J. Rochkind. All rights reserved. Portions marked "Open Source" may be copied under license.

 

Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

Ux::RealtimeTimer Class Reference
[C++ Wrapper for Standard UNIX Functions]

Inheritance diagram for Ux::RealtimeTimer:

Ux::Timer Ux::Base List of all members.

Detailed Description

Definition at line 194 of file uxtime.hpp.

Public Member Functions

 RealtimeTimer (timer_t t=-1)
void create (const Clock &clock, struct sigevent *sig=NULL)
void del (void)
void get (struct itimerspec &val)
void set (int flags, const struct itimerspec &val, struct itimerspec &oval)

Protected Attributes

timer_t timer_id


Constructor & Destructor Documentation

Ux::RealtimeTimer::RealtimeTimer timer_t  t = -1  )  [inline]
 

Definition at line 199 of file uxtime.hpp.


Member Function Documentation

void RealtimeTimer::create const Clock clock,
struct sigevent *  sig = NULL
 

Calls timer_create.

Definition at line 378 of file uxtime.cpp.

References clock(), errno, and timer_id.

void RealtimeTimer::del void   ) 
 

Calls timer_delete.

Definition at line 387 of file uxtime.cpp.

References errno, and timer_id.

void RealtimeTimer::get struct itimerspec &  val  ) 
 

Calls timer_gettime.

Definition at line 396 of file uxtime.cpp.

References errno, timer_id, and val.

void RealtimeTimer::set int  flags,
const struct itimerspec &  val,
struct itimerspec &  oval
 

Calls timer_settime.

Definition at line 405 of file uxtime.cpp.

References errno, timer_id, and val.


Member Data Documentation

timer_t Ux::RealtimeTimer::timer_id [protected]
 

Definition at line 196 of file uxtime.hpp.

Referenced by create(), del(), get(), and set().


The documentation for this class was generated from the following files:
Generated on Fri Apr 23 10:57:17 2004 for AUP2 Example Source by doxygen 1.3.1