#include "XnStatus.h"
Go to the source code of this file.
Define Documentation
#define XN_STATUS_MESSAGE |
( |
|
csName, |
|
|
|
csMessage | |
|
) |
| | { 0, XN_STRINGIFY(csName), csMessage }, |
Adds an entry to the message map.
#define XN_STATUS_MESSAGE_MAP_END_FROM |
( |
|
group, |
|
|
|
first | |
|
) |
| | |
Value:Marks the end of a message map.
#define XN_STATUS_MESSAGE_MAP_START_FROM |
( |
|
group, |
|
|
|
first | |
|
) |
| | |
Value:static XnErrorCodeData _XN_ERROR_GROUP_NAME(group, first)[] = \
{ \
{ first, XN_STRINGIFY(group) "_OK", XN_STRINGIFY(group) " OK" },
#define XN_STATUS_REGISTER |
Typedef Documentation
Function Documentation
XN_C_API XnStatus xnRegisterErrorCodeMessages |
( |
XnUInt16 |
nGroup, |
|
|
XnUInt16 |
nFirst, |
|
|
XnUInt16 |
nCount, |
|
|
XnErrorCodeData * |
pErrorCodeData | |
|
) |
| | |
This function registers error codes to the message map.
- Parameters:
-
| nGroup | [in] The group for which these errors belong to. |
| nFirst | [in] The first value. |
| nCount | [in] The number of status messages to register. |
| pErrorCodeData | [in] An array of status messages. |