Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
Gray::cTimeVal Class Reference

#include <cTimeVal.h>

Inheritance diagram for Gray::cTimeVal:

Public Member Functions

 cTimeVal () noexcept
 
 cTimeVal (TIMESYS_t nMilliSeconds) noexcept
 
 cTimeVal (TIMESECD_t nSeconds, int iMicroSecWait) noexcept
 
TIMESYS_t get_mSec () const noexcept
 
void put_mSec (TIMESYS_t nMilliSeconds) noexcept
 
void put_Sec (int nSeconds) noexcept
 

Detailed Description

Wrap the POSIX micro-second clock 'struct timeval'. Used for "::select()" _WIN32 defines struct timeval in "Winsock2.h" this->tv_usec = cTimeUnits::k_nMicroSeconds = 1/1000000

Constructor & Destructor Documentation

◆ cTimeVal() [1/3]

Gray::cTimeVal::cTimeVal ( )
inlinenoexcept

◆ cTimeVal() [2/3]

Gray::cTimeVal::cTimeVal ( TIMESYS_t  nMilliSeconds)
inlinenoexcept

◆ cTimeVal() [3/3]

Gray::cTimeVal::cTimeVal ( TIMESECD_t  nSeconds,
int  iMicroSecWait 
)
inlinenoexcept

Member Function Documentation

◆ get_mSec()

TIMESYS_t Gray::cTimeVal::get_mSec ( ) const
inlinenoexcept

◆ put_mSec()

void Gray::cTimeVal::put_mSec ( TIMESYS_t  nMilliSeconds)
inlinenoexcept

◆ put_Sec()

void Gray::cTimeVal::put_Sec ( int  nSeconds)
inlinenoexcept

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