Class CL_System
Generic functions that didn't fit in other places.
Contained in: global
Derived from:
none
Derived by:
none
Group: Core (System)
#include <ClanLib/core.h>
Description:
Function Member Descriptions:
CL_System::detect_3dnow - Returns true if 3DNow! technology is available on this CPU.
static bool detect_3dnow();
CL_System::detect_ext_3dnow - Returns true if extended 3DNow! is present on this CPU.
static bool detect_ext_3dnow();
CL_System::detect_mmx - Returns true if MMX technology is available on this CPU.
static bool detect_mmx();
CL_System::get_time - Get the current time (since system boot), in milliseconds.
static unsigned int get_time();
CL_System::keep_alive - Checks for system events (pump the CL_KeepAlive objects).
static bool keep_alive(CL_EventListener& events, int timeout = -1);
Return when one of the events trigger, or when timeout has elapsed.
CL_System::keep_alive - Checks for system events (pump the CL_KeepAlive objects).
static void keep_alive(int millis);
Return when 'millis' has elapsed.
CL_System::keep_alive - Checks for system events, updates input and other stuff.
static void keep_alive();
CL_System::resume_time - Resumes the time.
get_time() will return the current time again.
static void resume_time();
CL_System::sig_quit - Returns the signal emitted when WM_QUIT or similar window system quit
message is received.
static CL_Signal_v0& sig_quit();
CL_System::sleep - Sleep for 'millis' milliseconds.
static void sleep(int millis);
CL_System::suspend_time - Suspend the time.
get_time() will continue to return the same value until resume_time() is called.
static void suspend_time();