PlatformAssert Class Reference

#include <platformAssert.h>

List of all members.

Public Types

 Warning = 3
 Fatal = 2
 Fatal_ISV = 1
enum  Type {
  Warning = 3,
  Fatal = 2,
  Fatal_ISV = 1
}

Static Public Member Functions

static void create (PlatformAssert *newAssertClass=NULL)
static void destroy ()
static bool processAssert (Type assertType, const char *filename, U32 lineNumber, const char *message)
static char * message (const char *message,...)
static bool processingAssert ()

Private Member Functions

virtual bool displayMessageBox (const char *title, const char *message, bool retry)
virtual bool process (Type assertType, const char *filename, U32 lineNumber, const char *message)
 PlatformAssert ()
virtual ~PlatformAssert ()

Private Attributes

bool processing

Static Private Attributes

static PlatformAssertplatformAssert


Member Enumeration Documentation

Enumerator:
Warning 
Fatal 
Fatal_ISV 


Constructor & Destructor Documentation

PlatformAssert::PlatformAssert (  )  [private]

virtual PlatformAssert::~PlatformAssert (  )  [private, virtual]


Member Function Documentation

virtual bool PlatformAssert::displayMessageBox ( const char *  title,
const char *  message,
bool  retry 
) [private, virtual]

virtual bool PlatformAssert::process ( Type  assertType,
const char *  filename,
U32  lineNumber,
const char *  message 
) [private, virtual]

static void PlatformAssert::create ( PlatformAssert newAssertClass = NULL  )  [static]

static void PlatformAssert::destroy (  )  [static]

static bool PlatformAssert::processAssert ( Type  assertType,
const char *  filename,
U32  lineNumber,
const char *  message 
) [static]

static char* PlatformAssert::message ( const char *  message,
  ... 
) [static]

static bool PlatformAssert::processingAssert (  )  [static]


Member Data Documentation