Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CP_Debugging.h File Reference


Namespaces

namespace  CP_Debug
namespace  CP_Debugging

Defines

#define __CP_DEBUGGING_FUNCTIONNAME__   __FUNCTION__
#define CP_ReportException(description, inException)   CPLAT::CP_ErrorManager::Instance()->ReportException( description, inException, __CP_DEBUGGING_FUNCTIONNAME__, __LINE__ , __FILE__);
#define CP_ReportError(description, message)   CPLAT::CP_ErrorManager::Instance()->ReportError( description, message, __CP_DEBUGGING_FUNCTIONNAME__, __LINE__ , __FILE__ );
#define CP_ReportWarning(description, message)   CPLAT::CP_ErrorManager::Instance()->ReportWarning( description, message, __CP_DEBUGGING_FUNCTIONNAME__, __LINE__ , __FILE__ );
#define ASSERT(test)   {}
#define ASSERT_MSG(test, msg)   {}
#define CP_CHECK_PTR(p)   {}
#define CP_CHECK_HANDLE(h)   {}

Enumerations

enum  CP_E_DebugNotification {
  CP_E_DebugNotification_Nothing = 0, CP_E_DebugNotification_Alert = 1, CP_E_DebugNotification_Debugger = 2, CP_E_DebugNotification_Console = 3,
  CP_E_DebugNotification_LogFile = 4
}

Functions

void DebugTrace (...)

Define Documentation

#define __CP_DEBUGGING_FUNCTIONNAME__   __FUNCTION__
 

#define CP_ReportException description,
inException   )     CPLAT::CP_ErrorManager::Instance()->ReportException( description, inException, __CP_DEBUGGING_FUNCTIONNAME__, __LINE__ , __FILE__);
 

The macros and functions defined in the CP_Debugging file are designed to aid in the debugging process of a CPLAT application. These define macros for handling assertions.

#define CP_ReportError description,
message   )     CPLAT::CP_ErrorManager::Instance()->ReportError( description, message, __CP_DEBUGGING_FUNCTIONNAME__, __LINE__ , __FILE__ );
 

#define CP_ReportWarning description,
message   )     CPLAT::CP_ErrorManager::Instance()->ReportWarning( description, message, __CP_DEBUGGING_FUNCTIONNAME__, __LINE__ , __FILE__ );
 

#define ASSERT test   )     {}
 

#define ASSERT_MSG test,
msg   )     {}
 

#define CP_CHECK_PTR  )     {}
 

#define CP_CHECK_HANDLE  )     {}
 


Enumeration Type Documentation

enum CP_E_DebugNotification
 

Enumeration to defines how notifications will be handled.

Enumeration values:
CP_E_DebugNotification_Nothing  Nothing happens on notifications.
CP_E_DebugNotification_Alert  An alert is show to user.
CP_E_DebugNotification_Debugger  The notifiction goes to the debugger.
CP_E_DebugNotification_Console  The notification is written to the console.
CP_E_DebugNotification_LogFile  The notification is written to a log file.


Function Documentation

void DebugTrace   ...  ) 
 


Generated on Sat Sep 17 20:01:14 2005 for CPLAT by  doxygen 1.4.0