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::TimeNsec Class Reference
[C++ Wrapper for Standard UNIX Functions]

Inheritance diagram for Ux::TimeNsec:

timespec Ux::Base List of all members.

Detailed Description

Wrapper class for struct timespec.

Definition at line 67 of file uxtime.hpp.

Public Member Functions

 TimeNsec (TimeNsec &t)
 TimeNsec (when w=epoch)
const char * get_string (char *buf, size_t bufsize)


Constructor & Destructor Documentation

Ux::TimeNsec::TimeNsec TimeNsec t  )  [inline]
 

Definition at line 69 of file uxtime.hpp.

References timespec::tv_nsec, and timespec::tv_sec.

TimeNsec::TimeNsec when  w = epoch  ) 
 

Gets current or epoch time in nsec (calls gettimeofday).

Definition at line 235 of file uxtime.cpp.

References Ux::epoch, timespec::tv_nsec, and timespec::tv_sec.


Member Function Documentation

const char * TimeNsec::get_string char *  buf,
size_t  bufsize
 

Gets TimeNsec as string.

Definition at line 248 of file uxtime.cpp.

References timespec::tv_nsec, and timespec::tv_sec.


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