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.
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. Note that there is no default debug handler. Your application needs to provide its own debug handler. Please refer to the skeleton for an example of how to set a debug handler. 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 custom versions of the RenderWare libraries that have tracing or stack depth checking enabled.
|
© 1993-2004 Criterion Software Limited. All rights reserved. Built Thu Feb 12 13:46:51 2004.
Send Feedback