CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
diagnostics.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, Open Design Alliance (the "Alliance").
3// All rights reserved.
4//
5// This software and its documentation and related materials are owned by
6// the Alliance. The software may only be incorporated into application
7// programs owned by members of the Alliance, subject to a signed
8// Membership Agreement and Supplemental Software License Agreement with the
9// Alliance. The structure and organization of this software are the valuable
10// trade secrets of the Alliance and its suppliers. The software is also
11// protected by copyright law and international treaty provisions. Application
12// programs incorporating this software must include the following statement
13// with their copyright notices:
14//
15// This application incorporates Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2022 by Open Design Alliance.
18// All rights reserved.
19//
20// By use of this software, its documentation or related materials, you
21// acknowledge and accept the above terms.
23
24#ifndef __DIAGNOSTICS__INCLUDED
25#define __DIAGNOSTICS__INCLUDED
26
27//DD:EXPORT_ON
28
29typedef void (*OdAssertFunc) (
30 const char* expresssion,
31 const char* filename,
32 int nLineNo);
33typedef bool (*OdCheckAssertGroupFunc) (
34 const char* group);
35
36typedef void (*OdTraceFunc)(
37 const OdChar* debugString);
38
42 OdCheckAssertGroupFunc checkFunc);
43
45 const OdChar* lpszFormat, ...);
46#if defined(_MSC_VER) && _MSC_VER >= 1300
47void FIRSTDLL_EXPORT OdTrace(const __wchar_t* lpszFormat, ...);
48#endif
50 const char* expresssion,
51 const char* filename,
52 int nLineNo);
54 const char* group,
55 const char* expresssion,
56 const char* fileName,
57 int nLineNo);
58
59//DD:EXPORT_OFF
60
61#endif //__DIAGNOSTICS__INCLUDED
wchar_t OdChar
#define FIRSTDLL_EXPORT
Definition: RootExport.h:39
void(* OdAssertFunc)(const char *expresssion, const char *filename, int nLineNo)
Definition: diagnostics.h:29
void FIRSTDLL_EXPORT OdAssert(const char *expresssion, const char *filename, int nLineNo)
OdTraceFunc FIRSTDLL_EXPORT odSetTraceFunc(OdTraceFunc traceFunc)
void FIRSTDLL_EXPORT OdTrace(const OdChar *lpszFormat,...)
bool(* OdCheckAssertGroupFunc)(const char *group)
Definition: diagnostics.h:33
void(* OdTraceFunc)(const OdChar *debugString)
Definition: diagnostics.h:36
OdCheckAssertGroupFunc FIRSTDLL_EXPORT odSetCheckAssertGroupFunc(OdCheckAssertGroupFunc checkFunc)
OdAssertFunc FIRSTDLL_EXPORT odSetAssertFunc(OdAssertFunc assertFunc)
typedef void(APIENTRYP PFNGLACTIVETEXTUREPROC)(GLenum texture)