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

Inheritance diagram for Ux::TimeMsec:

timeval Ux::Base List of all members.

Detailed Description

Wrapper class for struct timeval.

Definition at line 52 of file uxtime.hpp.

Public Member Functions

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

Constructor & Destructor Documentation

Ux::TimeMsec::TimeMsec TimeMsec t  )  [inline]

Definition at line 54 of file uxtime.hpp.

References timeval::tv_sec, and timeval::tv_usec.

TimeMsec::TimeMsec when  w = epoch  ) 

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

Definition at line 207 of file uxtime.cpp.

References Ux::epoch, errno, timeval::tv_sec, and timeval::tv_usec.

Member Function Documentation

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

Gets TimeMsec as string.

Definition at line 226 of file uxtime.cpp.

References timeval::tv_sec, and timeval::tv_usec.

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