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

#include <osxsysfunc.h>

Detailed Description

Lowest-level functions for OSX platform.

(C) 2010 Radon Labs GmbH (C) 2013-2018 Individual contributors, see AUTHORS file

Static Public Member Functions

static void Setup ()
 setup lowlevel Nebula runtime (called before anything else)
 
static void Exit (int exitCode)
 cleanly exit the process
 
static void Error (const char *error)
 display an error message
 
static void MessageBox (const char *msg)
 display a message which must be confirmed by the user
 
static void DebugOut (const char *msg)
 print a message on the debug concole
 
static void Sleep (double sec)
 sleep for a specified amount of seconds
 
static const System::SystemInfoGetSystemInfo ()
 get system information
 

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()

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

print a message on the debug concole

◆ Error()

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

display an error message

◆ Exit()

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

cleanly exit the process

◆ GetSystemInfo()

static const System::SystemInfo * OSX::SysFunc::GetSystemInfo ( )
static

get system information

◆ MessageBox()

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

display a message which must be confirmed by the user

◆ RegisterExitHandler()

static const Core::ExitHandler * OSX::SysFunc::RegisterExitHandler ( const Core::ExitHandler * exitHandler)
staticprivate

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

◆ Setup()

static void OSX::SysFunc::Setup ( )
static

setup lowlevel Nebula runtime (called before anything else)

◆ Sleep()

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

sleep for a specified amount of seconds

Friends And Related Symbol Documentation

◆ Core::ExitHandler

friend class Core::ExitHandler
friend

Member Data Documentation

◆ ExitHandlers

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

◆ SetupCalled

bool volatile OSX::SysFunc::SetupCalled
staticprivate

◆ systemInfo

System::SystemInfo OSX::SysFunc::systemInfo
staticprivate

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