Nebula
Loading...
Searching...
No Matches
Win32::SysFunc Class Reference

#include <win32sysfunc.h>

Detailed Description

Provides Win32 specific helper functions.

Static Public Member Functions

static void Setup ()
 setup lowlevel static objects (must be called before spawning any threads)
static void Exit (int exitCode)
 exit process, and to proper cleanup, memleak reporting, etc...
static void Error (const char *error)
 display an error message box
static void MessageBox (const char *msg)
 display a message box which needs to be confirmed by the user
static void DebugOut (const char *msg)
 print a message on the debug console
static void Sleep (double sec)
 sleep for a specified amount of seconds

Static Private Member Functions

static const Core::ExitHandlerRegisterExitHandler (const Core::ExitHandler *exitHandler)
 register an exit handler which will be called from within Exit()

Static Private Attributes

static bool volatile SetupCalled
static const Core::ExitHandlerExitHandlers
static System::SystemInfo systemInfo

Friends

class Core::ExitHandler

Member Function Documentation

◆ DebugOut()

void Win32::SysFunc::DebugOut ( const char * msg)
static

print a message on the debug console

◆ Error()

void Win32::SysFunc::Error ( const char * error)
static

display an error message box

◆ Exit()

void Win32::SysFunc::Exit ( int exitCode)
static

exit process, and to proper cleanup, memleak reporting, etc...

◆ MessageBox()

void Win32::SysFunc::MessageBox ( const char * msg)
static

display a message box which needs to be confirmed by the user

◆ RegisterExitHandler()

const Core::ExitHandler * Win32::SysFunc::RegisterExitHandler ( const Core::ExitHandler * exitHandler)
staticprivate

register an exit handler which will be called from within Exit()

◆ Setup()

void Win32::SysFunc::Setup ( )
static

setup lowlevel static objects (must be called before spawning any threads)

◆ Sleep()

void Win32::SysFunc::Sleep ( double sec)
static

sleep for a specified amount of seconds

◆ Core::ExitHandler

friend class Core::ExitHandler
friend

Member Data Documentation

◆ ExitHandlers

const Core::ExitHandler* Win32::SysFunc::ExitHandlers
staticprivate

◆ SetupCalled

bool volatile Win32::SysFunc::SetupCalled
staticprivate

◆ systemInfo

System::SystemInfo Win32::SysFunc::systemInfo
staticprivate

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