CrashReportServices Class Reference

#include <crashreportservices.h>

Private Member Functions

 MAXON_INTERFACE_NONVIRTUAL (CrashReportServices, MAXON_REFERENCE_STATIC, "net.maxon.interface.crashreportservices", MAXON_IMPLEMENTATION_MODULE("net.maxon.kernel"))
 

Static Private Member Functions

static MAXON_METHOD Int32 CreateCrashReportProperty (const Char *name, const Char *value)
 
static MAXON_METHOD void FreeCrashReportProperty (Int32 propertyIdx)
 
static MAXON_METHOD void * GetCrashReportProperties (void *osThread)
 

Friends

class CrashReportProperty
 

Member Function Documentation

◆ MAXON_INTERFACE_NONVIRTUAL()

MAXON_INTERFACE_NONVIRTUAL ( CrashReportServices  ,
MAXON_REFERENCE_STATIC  ,
"net.maxon.interface.crashreportservices"  ,
MAXON_IMPLEMENTATION_MODULE("net.maxon.kernel")   
)
private

◆ CreateCrashReportProperty()

static MAXON_METHOD Int32 CreateCrashReportProperty ( const Char name,
const Char value 
)
staticprivate

Creates a property that will appear in a crash log.

Parameters
[in]nameCrash property name.
[in]valueCrash property value.
Returns
Crash property index (required to remove the property one the code block is left).

◆ FreeCrashReportProperty()

static MAXON_METHOD void FreeCrashReportProperty ( Int32  propertyIdx)
staticprivate

Removes a crash property (usually called when a code block is left).

Parameters
[in]propertyIdxCrash property index returned by CreateCrashProperty.

◆ GetCrashReportProperties()

static MAXON_METHOD void* GetCrashReportProperties ( void *  osThread)
staticprivate

Returns a pointer to an array with crash properties (used by the crash report).

Parameters
[in]osThreadOS specific thread identifier.
Returns
Pointer to an array with crash properties.

Friends And Related Function Documentation

◆ CrashReportProperty

friend class CrashReportProperty
friend