Go to the source code of this file.
Classes | |
class | XnEvent |
class | XnEventInterface |
Defines | |
#define | _XN_ARGS_0ARG() |
#define | _XN_ARGS_1ARG(_name1) _name1, |
#define | _XN_ARGS_2ARG(_name1, _name2) _name1, _name2, |
#define | _XN_ARGS_3ARG(_name1, _name2, _name3) _name1, _name2, _name3, |
#define | _XN_ARGS_4ARG(_name1, _name2, _name3, _name4) _name1, _name2, _name3, _name4, |
#define | _XN_ARGS_5ARG(_name1, _name2, _name3, _name4, _name5) _name1, _name2, _name3, _name4, _name5, |
#define | _XN_DECLARE_EVENT_CLASS(_class, _interface, _retVal, _raise, _signature, _raise_sign) |
#define | _XN_FULL_SIGNATURE_0ARG() void* pCookie |
#define | _XN_FULL_SIGNATURE_1ARG(_type1, _name1) _type1 _name1, void* pCookie |
#define | _XN_FULL_SIGNATURE_2ARG(_type1, _name1, _type2, _name2) _type1 _name1, _type2 _name2, void* pCookie |
#define | _XN_FULL_SIGNATURE_3ARG(_type1, _name1, _type2, _name2, _type3, _name3) _type1 _name1, _type2 _name2, _type3 _name3, void* pCookie |
#define | _XN_FULL_SIGNATURE_4ARG(_type1, _name1, _type2, _name2, _type3, _name3, _type4, _name4) _type1 _name1, _type2 _name2, _type3 _name3, _type4 _name4, void* pCookie |
#define | _XN_FULL_SIGNATURE_5ARG(_type1, _name1, _type2, _name2, _type3, _name3, _type4, _name4, _type5, _name5) _type1 _name1, _type2 _name2, _type3 _name3, _type4 _name4, _type5 _name5, void* pCookie |
#define | _XN_RAISE_NO_RET_CODE(args) pFunc(args pCallback->pCookie); |
#define | _XN_RAISE_WITH_RET_CODE(args) |
#define | _XN_SIGNATURE_0ARG() |
#define | _XN_SIGNATURE_1ARG(_type1, _name1) _type1 _name1 |
#define | _XN_SIGNATURE_2ARG(_type1, _name1, _type2, _name2) _type1 _name1, _type2 _name2 |
#define | _XN_SIGNATURE_3ARG(_type1, _name1, _type2, _name2, _type3, _name3) _type1 _name1, _type2 _name2, _type3 _name3 |
#define | _XN_SIGNATURE_4ARG(_type1, _name1, _type2, _name2, _type3, _name3, _type4, _name4) _type1 _name1, _type2 _name2, _type3 _name3, _type4 _name4 |
#define | _XN_SIGNATURE_5ARG(_type1, _name1, _type2, _name2, _type3, _name3, _type4, _name4, _type5, _name5) _type1 _name1, _type2 _name2, _type3 _name3, _type4 _name4, _type5 _name5 |
#define | XN_DECLARE_EVENT_0ARG(_class, _interface) _XN_DECLARE_EVENT_CLASS(_class, _interface, void, _XN_RAISE_NO_RET_CODE(_XN_ARGS_0ARG()), _XN_FULL_SIGNATURE_0ARG(), _XN_SIGNATURE_0ARG()) |
#define | XN_DECLARE_EVENT_0ARG_RETVAL(_class, _interface) _XN_DECLARE_EVENT_CLASS(_class, _interface, XnStatus, _XN_RAISE_WITH_RET_CODE(_XN_ARGS_0ARG()), _XN_FULL_SIGNATURE_0ARG(), _XN_SIGNATURE_0ARG()) |
#define | XN_DECLARE_EVENT_1ARG(_class, _interface, _type1, _name1) _XN_DECLARE_EVENT_CLASS(_class, _interface, void, _XN_RAISE_NO_RET_CODE(_XN_ARGS_1ARG(_name1)), _XN_FULL_SIGNATURE_1ARG(_type1, _name1), _XN_SIGNATURE_1ARG(_type1, _name1)) |
#define | XN_DECLARE_EVENT_1ARG_RETVAL(_class, _interface, _type1, _name1) _XN_DECLARE_EVENT_CLASS(_class, _interface, XnStatus, _XN_RAISE_WITH_RET_CODE(_XN_ARGS_1ARG(_name1)), _XN_FULL_SIGNATURE_1ARG(_type1, _name1), _XN_SIGNATURE_1ARG(_type1, _name1)) |
#define | XN_DECLARE_EVENT_2ARG(_class, _interface, _type1, _name1, _type2, _name2) _XN_DECLARE_EVENT_CLASS(_class, _interface, void, _XN_RAISE_NO_RET_CODE(_XN_ARGS_2ARG(_name1, _name2)), _XN_FULL_SIGNATURE_2ARG(_type1, _name1, _type2, _name2), _XN_SIGNATURE_2ARG(_type1, _name1, _type2, _name2)) |
#define | XN_DECLARE_EVENT_2ARG_RETVAL(_class, _interface, _type1, _name1, _type2, _name2) _XN_DECLARE_EVENT_CLASS(_class, _interface, XnStatus, _XN_RAISE_WITH_RET_CODE(_XN_ARGS_2ARG(_name1, _name2)), _XN_FULL_SIGNATURE_2ARG(_type1, _name1, _type2, _name2), _XN_SIGNATURE_2ARG(_type1, _name1, _type2, _name2)) |
#define | XN_DECLARE_EVENT_3ARG(_class, _interface, _type1, _name1, _type2, _name2, _type3, _name3) _XN_DECLARE_EVENT_CLASS(_class, _interface, void, _XN_RAISE_NO_RET_CODE(_XN_ARGS_3ARG(_name1, _name2, _name3)), _XN_FULL_SIGNATURE_3ARG(_type1, _name1, _type2, _name2, _type3, _name3), _XN_SIGNATURE_3ARG(_type1, _name1, _type2, _name2, _type3, _name3)) |
#define | XN_DECLARE_EVENT_3ARG_RETVAL(_class, _interface, _type1, _name1, _type2, _name2, _type3, _name3) _XN_DECLARE_EVENT_CLASS(_class, _interface, XnStatus, _XN_RAISE_WITH_RET_CODE(_XN_ARGS_3ARG(_name1, _name2, _name3)), _XN_FULL_SIGNATURE_3ARG(_type1, _name1, _type2, _name2, _type3, _name3), _XN_SIGNATURE_3ARG(_type1, _name1, _type2, _name2, _type3, _name3)) |
#define | XN_DECLARE_EVENT_4ARG(_class, _interface, _type1, _name1, _type2, _name2, _type3, _name3, _type4, _name4) _XN_DECLARE_EVENT_CLASS(_class, _interface, void, _XN_RAISE_NO_RET_CODE(_XN_ARGS_4ARG(_name1, _name2, _name3, _name4)), _XN_FULL_SIGNATURE_4ARG(_type1, _name1, _type2, _name2, _type3, _name3, _type4, _name4), _XN_SIGNATURE_4ARG(_type1, _name1, _type2, _name2, _type3, _name3, _type4, _name4)) |
#define | XN_DECLARE_EVENT_4ARG_RETVAL(_class, _interface, _type1, _name1, _type2, _name2, _type3, _name3, _type4, _name4) _XN_DECLARE_EVENT_CLASS(_class, _interface, XnStatus, _XN_RAISE_WITH_RET_CODE(_XN_ARGS_4ARG(_name1, _name2, _name3, _name4)), _XN_FULL_SIGNATURE_4ARG(_type1, _name1, _type2, _name2, _type3, _name3, _type4, _name4), _XN_SIGNATURE_4ARG(_type1, _name1, _type2, _name2, _type3, _name3, _type4, _name4)) |
#define | XN_DECLARE_EVENT_5ARG(_class, _interface, _type1, _name1, _type2, _name2, _type3, _name3, _type4, _name4, _type5, _name5) _XN_DECLARE_EVENT_CLASS(_class, _interface, void, _XN_RAISE_NO_RET_CODE(_XN_ARGS_5ARG(_name1, _name2, _name3, _name4, _name5)), _XN_FULL_SIGNATURE_5ARG(_type1, _name1, _type2, _name2, _type3, _name3, _type4, _name4, _type5, _name5), _XN_SIGNATURE_5ARG(_type1, _name1, _type2, _name2, _type3, _name3, _type4, _name4, _type5, _name5)) |
#define | XN_DECLARE_EVENT_5ARG_RETVAL(_class, _interface, _type1, _name1, _type2, _name2, _type3, _name3, _type4, _name4, _type5, _name5) _XN_DECLARE_EVENT_CLASS(_class, _interface, XnStatus, _XN_RAISE_WITH_RET_CODE(_XN_ARGS_5ARG(_name1, _name2, _name3, _name4, _name5)), _XN_FULL_SIGNATURE_5ARG(_type1, _name1, _type2, _name2, _type3, _name3, _type4, _name4, _type5, _name5), _XN_SIGNATURE_5ARG(_type1, _name1, _type2, _name2, _type3, _name3, _type4, _name4, _type5, _name5)) |
#define _XN_ARGS_0ARG | ( | ) |
#define _XN_ARGS_1ARG | ( | _name1 | ) | _name1, |
#define _XN_ARGS_2ARG | ( | _name1, | |
_name2 | |||
) | _name1, _name2, |
#define _XN_ARGS_3ARG | ( | _name1, | |
_name2, | |||
_name3 | |||
) | _name1, _name2, _name3, |
#define _XN_ARGS_4ARG | ( | _name1, | |
_name2, | |||
_name3, | |||
_name4 | |||
) | _name1, _name2, _name3, _name4, |
#define _XN_ARGS_5ARG | ( | _name1, | |
_name2, | |||
_name3, | |||
_name4, | |||
_name5 | |||
) | _name1, _name2, _name3, _name4, _name5, |
#define _XN_DECLARE_EVENT_CLASS | ( | _class, | |
_interface, | |||
_retVal, | |||
_raise, | |||
_signature, | |||
_raise_sign | |||
) |
#define _XN_FULL_SIGNATURE_0ARG | ( | ) | void* pCookie |
#define _XN_FULL_SIGNATURE_1ARG | ( | _type1, | |
_name1 | |||
) | _type1 _name1, void* pCookie |
#define _XN_FULL_SIGNATURE_2ARG | ( | _type1, | |
_name1, | |||
_type2, | |||
_name2 | |||
) | _type1 _name1, _type2 _name2, void* pCookie |
#define _XN_FULL_SIGNATURE_3ARG | ( | _type1, | |
_name1, | |||
_type2, | |||
_name2, | |||
_type3, | |||
_name3 | |||
) | _type1 _name1, _type2 _name2, _type3 _name3, void* pCookie |
#define _XN_FULL_SIGNATURE_4ARG | ( | _type1, | |
_name1, | |||
_type2, | |||
_name2, | |||
_type3, | |||
_name3, | |||
_type4, | |||
_name4 | |||
) | _type1 _name1, _type2 _name2, _type3 _name3, _type4 _name4, void* pCookie |
#define _XN_FULL_SIGNATURE_5ARG | ( | _type1, | |
_name1, | |||
_type2, | |||
_name2, | |||
_type3, | |||
_name3, | |||
_type4, | |||
_name4, | |||
_type5, | |||
_name5 | |||
) | _type1 _name1, _type2 _name2, _type3 _name3, _type4 _name4, _type5 _name5, void* pCookie |
#define _XN_RAISE_NO_RET_CODE | ( | args | ) | pFunc(args pCallback->pCookie); |
#define _XN_RAISE_WITH_RET_CODE | ( | args | ) |
nRetVal = pFunc(args pCallback->pCookie); \ if (nRetVal != XN_STATUS_OK) \ { \ XnEvent::ApplyListChanges(); \ return (nRetVal); \ }
#define _XN_SIGNATURE_0ARG | ( | ) |
#define _XN_SIGNATURE_1ARG | ( | _type1, | |
_name1 | |||
) | _type1 _name1 |
#define _XN_SIGNATURE_2ARG | ( | _type1, | |
_name1, | |||
_type2, | |||
_name2 | |||
) | _type1 _name1, _type2 _name2 |
#define _XN_SIGNATURE_3ARG | ( | _type1, | |
_name1, | |||
_type2, | |||
_name2, | |||
_type3, | |||
_name3 | |||
) | _type1 _name1, _type2 _name2, _type3 _name3 |
#define _XN_SIGNATURE_4ARG | ( | _type1, | |
_name1, | |||
_type2, | |||
_name2, | |||
_type3, | |||
_name3, | |||
_type4, | |||
_name4 | |||
) | _type1 _name1, _type2 _name2, _type3 _name3, _type4 _name4 |
#define _XN_SIGNATURE_5ARG | ( | _type1, | |
_name1, | |||
_type2, | |||
_name2, | |||
_type3, | |||
_name3, | |||
_type4, | |||
_name4, | |||
_type5, | |||
_name5 | |||
) | _type1 _name1, _type2 _name2, _type3 _name3, _type4 _name4, _type5 _name5 |
#define XN_DECLARE_EVENT_0ARG | ( | _class, | |
_interface | |||
) | _XN_DECLARE_EVENT_CLASS(_class, _interface, void, _XN_RAISE_NO_RET_CODE(_XN_ARGS_0ARG()), _XN_FULL_SIGNATURE_0ARG(), _XN_SIGNATURE_0ARG()) |
#define XN_DECLARE_EVENT_0ARG_RETVAL | ( | _class, | |
_interface | |||
) | _XN_DECLARE_EVENT_CLASS(_class, _interface, XnStatus, _XN_RAISE_WITH_RET_CODE(_XN_ARGS_0ARG()), _XN_FULL_SIGNATURE_0ARG(), _XN_SIGNATURE_0ARG()) |
#define XN_DECLARE_EVENT_1ARG | ( | _class, | |
_interface, | |||
_type1, | |||
_name1 | |||
) | _XN_DECLARE_EVENT_CLASS(_class, _interface, void, _XN_RAISE_NO_RET_CODE(_XN_ARGS_1ARG(_name1)), _XN_FULL_SIGNATURE_1ARG(_type1, _name1), _XN_SIGNATURE_1ARG(_type1, _name1)) |
#define XN_DECLARE_EVENT_1ARG_RETVAL | ( | _class, | |
_interface, | |||
_type1, | |||
_name1 | |||
) | _XN_DECLARE_EVENT_CLASS(_class, _interface, XnStatus, _XN_RAISE_WITH_RET_CODE(_XN_ARGS_1ARG(_name1)), _XN_FULL_SIGNATURE_1ARG(_type1, _name1), _XN_SIGNATURE_1ARG(_type1, _name1)) |
#define XN_DECLARE_EVENT_2ARG | ( | _class, | |
_interface, | |||
_type1, | |||
_name1, | |||
_type2, | |||
_name2 | |||
) | _XN_DECLARE_EVENT_CLASS(_class, _interface, void, _XN_RAISE_NO_RET_CODE(_XN_ARGS_2ARG(_name1, _name2)), _XN_FULL_SIGNATURE_2ARG(_type1, _name1, _type2, _name2), _XN_SIGNATURE_2ARG(_type1, _name1, _type2, _name2)) |
#define XN_DECLARE_EVENT_2ARG_RETVAL | ( | _class, | |
_interface, | |||
_type1, | |||
_name1, | |||
_type2, | |||
_name2 | |||
) | _XN_DECLARE_EVENT_CLASS(_class, _interface, XnStatus, _XN_RAISE_WITH_RET_CODE(_XN_ARGS_2ARG(_name1, _name2)), _XN_FULL_SIGNATURE_2ARG(_type1, _name1, _type2, _name2), _XN_SIGNATURE_2ARG(_type1, _name1, _type2, _name2)) |
#define XN_DECLARE_EVENT_3ARG | ( | _class, | |
_interface, | |||
_type1, | |||
_name1, | |||
_type2, | |||
_name2, | |||
_type3, | |||
_name3 | |||
) | _XN_DECLARE_EVENT_CLASS(_class, _interface, void, _XN_RAISE_NO_RET_CODE(_XN_ARGS_3ARG(_name1, _name2, _name3)), _XN_FULL_SIGNATURE_3ARG(_type1, _name1, _type2, _name2, _type3, _name3), _XN_SIGNATURE_3ARG(_type1, _name1, _type2, _name2, _type3, _name3)) |
#define XN_DECLARE_EVENT_3ARG_RETVAL | ( | _class, | |
_interface, | |||
_type1, | |||
_name1, | |||
_type2, | |||
_name2, | |||
_type3, | |||
_name3 | |||
) | _XN_DECLARE_EVENT_CLASS(_class, _interface, XnStatus, _XN_RAISE_WITH_RET_CODE(_XN_ARGS_3ARG(_name1, _name2, _name3)), _XN_FULL_SIGNATURE_3ARG(_type1, _name1, _type2, _name2, _type3, _name3), _XN_SIGNATURE_3ARG(_type1, _name1, _type2, _name2, _type3, _name3)) |
#define XN_DECLARE_EVENT_4ARG | ( | _class, | |
_interface, | |||
_type1, | |||
_name1, | |||
_type2, | |||
_name2, | |||
_type3, | |||
_name3, | |||
_type4, | |||
_name4 | |||
) | _XN_DECLARE_EVENT_CLASS(_class, _interface, void, _XN_RAISE_NO_RET_CODE(_XN_ARGS_4ARG(_name1, _name2, _name3, _name4)), _XN_FULL_SIGNATURE_4ARG(_type1, _name1, _type2, _name2, _type3, _name3, _type4, _name4), _XN_SIGNATURE_4ARG(_type1, _name1, _type2, _name2, _type3, _name3, _type4, _name4)) |
#define XN_DECLARE_EVENT_4ARG_RETVAL | ( | _class, | |
_interface, | |||
_type1, | |||
_name1, | |||
_type2, | |||
_name2, | |||
_type3, | |||
_name3, | |||
_type4, | |||
_name4 | |||
) | _XN_DECLARE_EVENT_CLASS(_class, _interface, XnStatus, _XN_RAISE_WITH_RET_CODE(_XN_ARGS_4ARG(_name1, _name2, _name3, _name4)), _XN_FULL_SIGNATURE_4ARG(_type1, _name1, _type2, _name2, _type3, _name3, _type4, _name4), _XN_SIGNATURE_4ARG(_type1, _name1, _type2, _name2, _type3, _name3, _type4, _name4)) |
#define XN_DECLARE_EVENT_5ARG | ( | _class, | |
_interface, | |||
_type1, | |||
_name1, | |||
_type2, | |||
_name2, | |||
_type3, | |||
_name3, | |||
_type4, | |||
_name4, | |||
_type5, | |||
_name5 | |||
) | _XN_DECLARE_EVENT_CLASS(_class, _interface, void, _XN_RAISE_NO_RET_CODE(_XN_ARGS_5ARG(_name1, _name2, _name3, _name4, _name5)), _XN_FULL_SIGNATURE_5ARG(_type1, _name1, _type2, _name2, _type3, _name3, _type4, _name4, _type5, _name5), _XN_SIGNATURE_5ARG(_type1, _name1, _type2, _name2, _type3, _name3, _type4, _name4, _type5, _name5)) |
#define XN_DECLARE_EVENT_5ARG_RETVAL | ( | _class, | |
_interface, | |||
_type1, | |||
_name1, | |||
_type2, | |||
_name2, | |||
_type3, | |||
_name3, | |||
_type4, | |||
_name4, | |||
_type5, | |||
_name5 | |||
) | _XN_DECLARE_EVENT_CLASS(_class, _interface, XnStatus, _XN_RAISE_WITH_RET_CODE(_XN_ARGS_5ARG(_name1, _name2, _name3, _name4, _name5)), _XN_FULL_SIGNATURE_5ARG(_type1, _name1, _type2, _name2, _type3, _name3, _type4, _name4, _type5, _name5), _XN_SIGNATURE_5ARG(_type1, _name1, _type2, _name2, _type3, _name3, _type4, _name4, _type5, _name5)) |