Typedefs |
|
typedef void(* | RwDebugHandler )(RwDebugType type, const RwChar *string) |
Enumerations |
|
enum | RwDebugType { rwNADEBUGTYPE = 0, rwDEBUGASSERT, rwDEBUGERROR, rwDEBUGMESSAGE, rwDEBUGTRACE, rwDEBUGTYPEFORCEENUMSIZEINT = RWFORCEENUMSIZEINT } |
Functions |
|
void | RwDebugSetTraceState (RwBool state) |
RwDebugHandler | RwDebugSetHandler (RwDebugHandler handler) |
void | RwDebugSendMessage (RwDebugType type, const RwChar *funcName, const RwChar *message) |
(DEBUG BUILD ONLY.)
This object represents a debug handler and stream. Error messages can be sent to this object and it will pass them onto the currently registered debug handler. A default handler is registered by default. This handler sends messages to a file called 'rwdebug.log'.
Developers should note that this API may degrade performance if too many messages are being sent to the handler.
|
RwDebugHandler This type represents the function called from RwDebugSendMessage for sending a message to the RenderWare debug stream.
|
|
RwDebugType This type represents the different types of debug and trace messages that can be sent to the currently installed debug handler (see API function RwDebugSendMessage) |
|
RwDebugSendMessage is used to send a message to the currently installed debug handler. This function is only meaningful when used in conjunction with the debug version of the RenderWare libraries.
|
|
RwDebugSetHandler is used to register a new handler for the debug stream. A default system error handler is initially defined. The default handler writes all debug messages to the file "rwdebug.log" in the current directory. However, when a new handler is registered the previous output file is closed, so its necessary for the handler to open its own output file the first time it is called. Note it is possible to return to the default message handler by specifying NULL for the handler pointer. This function is only meaningful when used in conjunction with the debug version of the RenderWare libraries.
|
|
RwDebugSetTraceState is used to enable or disable the reporting of debug trace messages. Initially, the trace state is set to FALSE. This function is only meaningful when used in conjunction with the debug version of the RenderWare libraries.
|
Converted from CHM to HTML with chm2web Pro 2.85 (unicode) |