X2 Standard  Version 1.24
Public Member Functions | List of all members
SleeperInterface Class Referenceabstract

The SleeperInterface is a cross-platform "sleeper". More...

#include <sleeperinterface.h>

Public Member Functions

virtual void sleep (const int &milliSecondsToSleep)=0
 

Detailed Description

The SleeperInterface is a cross-platform "sleeper".

The SleeperInterface provides X2 implementors an operating system agnostic way to enter an efficient sleep state. Tested and works on Windows, Mac, Ubuntu Linux.

Member Function Documentation

◆ sleep()

virtual void SleeperInterface::sleep ( const int &  milliSecondsToSleep)
pure virtual

Enter an efficient wait state for n milliseconds


The documentation for this class was generated from the following file:
X2 Examples
(C) Software Bisque, Inc. All rights reserved.