C++ TargetRTS
Loading...
Searching...
No Matches
Static Public Member Functions | Friends | List of all members
RTMain Class Reference

Static Public Member Functions

static int entryPoint (int, const char *const *)
 
static int shutdown (RTController *)
 
static const char * debugName (void)
 
static void registerDebugErrorFunction (DEBUG_ERROR_FUNC_PTR pFunc)
 Register a user-defined debug error function.
 
static DEBUG_ERROR_FUNC_PTR getDebugErrorFunction ()
 Return the currently registered debug error function, or nullptr if none.
 
static FORMAT_CHECK (1, 2) void invokeOrDiag(const char *format
 Call the user defined warning function OR RTDiag::out if no user defined.
 
static static RTControllercontroller (void)
 
static RTActorReftopReference (void)
 
static RTActortopActor (void)
 
static const RTSystemDescriptorsystemInfo (void)
 
static int argCount (void)
 
static const char *const * argStrings (void)
 
static void setExitCode (int code)
 
static int getExitCode (void)
 
static void lock (void)
 
static void unlock (void)
 

Friends

class RTSuperActor
 
class RTTracer
 

Member Function Documentation

◆ FORMAT_CHECK()

static RTMain::FORMAT_CHECK ( ,
 
) const
static

Call the user defined warning function OR RTDiag::out if no user defined.

Parameters
formatPrintf-style format string
...Variable arguments matching the format string

◆ registerDebugErrorFunction()

static void RTMain::registerDebugErrorFunction ( DEBUG_ERROR_FUNC_PTR  pFunc)
static

Register a user-defined debug error function.

Parameters
pFuncPointer to the error handler function, or null to unregister

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