The C++ framework for developing highly scalable, high performance servers on Windows platforms.

CSystemTime::TimeDifference Class Reference

Collaboration diagram for CSystemTime::TimeDifference:

List of all members.


Detailed Description

A simple class that helps to manipluate the difference in time (only) between two SYSTEMTIMEs.


Public Member Functions

 TimeDifference ()
 Create a zero time difference.
 TimeDifference (const SYSTEMTIME &now, const SYSTEMTIME &base)
 Take the time portion of now from the time portion of base and store as our difference.
void Apply (SYSTEMTIME &time) const
 Add our difference to the supplied SYSTEMTIME.
__int64 GetDifference () const
 Returns our difference.


Constructor & Destructor Documentation

TimeDifference (  ) 

Create a zero time difference.

TimeDifference ( const SYSTEMTIME now,
const SYSTEMTIME base 
)

Take the time portion of now from the time portion of base and store as our difference.


Member Function Documentation

void Apply ( SYSTEMTIME time  )  const

Add our difference to the supplied SYSTEMTIME.

__int64 GetDifference (  )  const

Returns our difference.


Generated on Sun Sep 12 19:09:06 2021 for The Server Framework - v7.4 by doxygen 1.5.3