OpenNI 1.5.4
Macros
XnDerivedCast.h File Reference
Go to the source code of this file.
Macros
#define
DERIVED_CAST_IMPL
(T, enm)
#define
dynamic_cast
derived_cast
Macro Definition Documentation
◆
DERIVED_CAST_IMPL
#define DERIVED_CAST_IMPL
(
T,
enm
)
Value:
template
<> \
T* derived_cast<T*>(ModuleProductionNode* pPrdNode) \
{ \
return (T*)pPrdNode->m_aInterfaces[enm]; \
}
◆
dynamic_cast
#define dynamic_cast derived_cast
Include
XnDerivedCast.h
Generated on Mon Nov 28 2022 23:30:15 for OpenNI 1.5.4 by
1.9.1