Classes | Defines
XnEvent.h File Reference
#include "XnCallback.h"
#include "XnList.h"
#include "XnTypes.h"
#include "XnOSCpp.h"
Include dependency graph for XnEvent.h:

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 Documentation

#define _XN_ARGS_0ARG ( )

Definition at line 222 of file XnEvent.h.

#define _XN_ARGS_1ARG (   _name1)    _name1,

Definition at line 226 of file XnEvent.h.

#define _XN_ARGS_2ARG (   _name1,
  _name2 
)    _name1, _name2,

Definition at line 230 of file XnEvent.h.

#define _XN_ARGS_3ARG (   _name1,
  _name2,
  _name3 
)    _name1, _name2, _name3,

Definition at line 234 of file XnEvent.h.

#define _XN_ARGS_4ARG (   _name1,
  _name2,
  _name3,
  _name4 
)    _name1, _name2, _name3, _name4,

Definition at line 238 of file XnEvent.h.

#define _XN_ARGS_5ARG (   _name1,
  _name2,
  _name3,
  _name4,
  _name5 
)    _name1, _name2, _name3, _name4, _name5,

Definition at line 242 of file XnEvent.h.

#define _XN_DECLARE_EVENT_CLASS (   _class,
  _interface,
  _retVal,
  _raise,
  _signature,
  _raise_sign 
)

Declares a class inheriting from XnEvent, that can be used as an event with specific signature. It is highly recommended not to use this macro directly.

Definition at line 183 of file XnEvent.h.

#define _XN_FULL_SIGNATURE_0ARG ( )    void* pCookie

Definition at line 221 of file XnEvent.h.

#define _XN_FULL_SIGNATURE_1ARG (   _type1,
  _name1 
)    _type1 _name1, void* pCookie

Definition at line 225 of file XnEvent.h.

#define _XN_FULL_SIGNATURE_2ARG (   _type1,
  _name1,
  _type2,
  _name2 
)    _type1 _name1, _type2 _name2, void* pCookie

Definition at line 229 of file XnEvent.h.

#define _XN_FULL_SIGNATURE_3ARG (   _type1,
  _name1,
  _type2,
  _name2,
  _type3,
  _name3 
)    _type1 _name1, _type2 _name2, _type3 _name3, void* pCookie

Definition at line 233 of file XnEvent.h.

#define _XN_FULL_SIGNATURE_4ARG (   _type1,
  _name1,
  _type2,
  _name2,
  _type3,
  _name3,
  _type4,
  _name4 
)    _type1 _name1, _type2 _name2, _type3 _name3, _type4 _name4, void* pCookie

Definition at line 237 of file XnEvent.h.

#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

Definition at line 241 of file XnEvent.h.

#define _XN_RAISE_NO_RET_CODE (   args)    pFunc(args pCallback->pCookie);

Definition at line 176 of file XnEvent.h.

#define _XN_RAISE_WITH_RET_CODE (   args)
Value:
nRetVal = pFunc(args pCallback->pCookie);       \
        if (nRetVal != XN_STATUS_OK)                            \
        {                                                                                       \
		XnEvent::ApplyListChanges();                  \
                return (nRetVal);                                               \
        }

Definition at line 168 of file XnEvent.h.

#define _XN_SIGNATURE_0ARG ( )

Definition at line 220 of file XnEvent.h.

#define _XN_SIGNATURE_1ARG (   _type1,
  _name1 
)    _type1 _name1

Definition at line 224 of file XnEvent.h.

#define _XN_SIGNATURE_2ARG (   _type1,
  _name1,
  _type2,
  _name2 
)    _type1 _name1, _type2 _name2

Definition at line 228 of file XnEvent.h.

#define _XN_SIGNATURE_3ARG (   _type1,
  _name1,
  _type2,
  _name2,
  _type3,
  _name3 
)    _type1 _name1, _type2 _name2, _type3 _name3

Definition at line 232 of file XnEvent.h.

#define _XN_SIGNATURE_4ARG (   _type1,
  _name1,
  _type2,
  _name2,
  _type3,
  _name3,
  _type4,
  _name4 
)    _type1 _name1, _type2 _name2, _type3 _name3, _type4 _name4

Definition at line 236 of file XnEvent.h.

#define _XN_SIGNATURE_5ARG (   _type1,
  _name1,
  _type2,
  _name2,
  _type3,
  _name3,
  _type4,
  _name4,
  _type5,
  _name5 
)    _type1 _name1, _type2 _name2, _type3 _name3, _type4 _name4, _type5 _name5

Definition at line 240 of file XnEvent.h.

#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())

Declares an event class

Definition at line 245 of file XnEvent.h.

Definition at line 248 of file XnEvent.h.

#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))

Definition at line 251 of file XnEvent.h.

#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))

Definition at line 254 of file XnEvent.h.

#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))

Definition at line 257 of file XnEvent.h.

#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))

Definition at line 260 of file XnEvent.h.

#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))

Definition at line 263 of file XnEvent.h.

#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))

Definition at line 266 of file XnEvent.h.

#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))

Definition at line 269 of file XnEvent.h.

#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))

Definition at line 272 of file XnEvent.h.

#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))

Definition at line 275 of file XnEvent.h.

#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))

Definition at line 278 of file XnEvent.h.



nao_openni
Author(s): Bener SUAY
autogenerated on Mon Jan 6 2014 11:27:51