![]() |
Deskflow 1.24.0.365
Keyboard and mouse sharing utility
|
Delegating implementation of architecture dependent interfaces. More...
#include <Arch.h>


Public Member Functions | |
| Arch () | |
| ~Arch () override=default | |
Static Public Member Functions | |
| static Arch * | getInstance () |
| Return the singleton instance. | |
| static void | sleep (double timeout) |
| blocks calling thread for timout seconds | |
| static double | time () |
| time | |
Delegating implementation of architecture dependent interfaces.
This class is a centralized interface to all architecture dependent interface implementations (except miscellaneous functions). It instantiates an implementation of each interface and delegates calls to each method to those implementations. Clients should use the ARCH macro to access this object. Clients must also instantiate exactly one of these objects before attempting to call any method, typically at the beginning of main().
| Arch::Arch | ( | ) |
|
overridedefault |
|
static |
Return the singleton instance.
The client must have instantiated exactly once Arch object before calling this function.
|
static |
blocks calling thread for timout seconds
| timeout | - blocking time in seconds. if < 0 not blocked if == 0 then caller yields the CPU |
|
static |
time