#include <Leap.h>
Public Types | |
typedef ConstListIterator< GestureList, Gesture > | const_iterator |
Public Member Functions | |
def | __getitem__ (self, index) |
def | __init__ (self) |
def | __iter__ (self) |
def | __len__ (self) |
def | append (self, other) |
LEAP_EXPORT GestureList & | append (const GestureList &other) |
LEAP_EXPORT const_iterator | begin () const |
LEAP_EXPORT int | count () const |
LEAP_EXPORT const_iterator | end () const |
GestureList (const ListBaseImplementation< Gesture > &) | |
LEAP_EXPORT | GestureList () |
LEAP_EXPORT bool | isEmpty () const |
LEAP_EXPORT Gesture | operator[] (int index) const |
Public Member Functions inherited from Leap::Interface | |
def | __init__ (self, args, kwargs) |
Public Attributes | |
this | |
Static Public Attributes | |
is_empty = _swig_property(LeapPython.GestureList_is_empty_get) | |
Static Private Attributes | |
__getattr__ = lambdaself,name:_swig_getattr(self, GestureList, name) | |
__repr__ = _swig_repr | |
__setattr__ = lambdaself,name,value:_swig_setattr(self, GestureList, name, value) | |
__swig_destroy__ = LeapPython.delete_GestureList | |
dictionary | __swig_getmethods__ = {} |
dictionary | __swig_setmethods__ = {} |
Additional Inherited Members | |
Protected Member Functions inherited from Leap::Interface | |
template<typename T > | |
T * | get () const |
LEAP_EXPORT | Interface (void *owner) |
LEAP_EXPORT | Interface (Implementation *reference, void *owner) |
LEAP_EXPORT | Interface (const Interface &rhs) |
Interface (class SharedObject *object) | |
LEAP_EXPORT Interface & | operator= (const Interface &rhs) |
virtual LEAP_EXPORT | ~Interface () |
Static Protected Member Functions inherited from Leap::Interface | |
static LEAP_EXPORT void | deleteCString (const char *cstr) |
Protected Attributes inherited from Leap::Interface | |
class SharedObject * | m_object |
The GestureList class represents a list of Gesture objects.
Get a GestureList object from a Frame object.
Leap::GestureList::GestureList | ( | const ListBaseImplementation< Gesture > & | ) |
LEAP_EXPORT Leap::GestureList::GestureList | ( | ) |
Constructs an empty gesture list.
LEAP_EXPORT GestureList& Leap::GestureList::append | ( | const GestureList & | other | ) |
Appends the members of the specified GestureList to this GestureList.
other | A GestureList object containing Gesture objects to append to the end of this GestureList. |
LEAP_EXPORT const_iterator Leap::GestureList::begin | ( | ) | const |
The C++ iterator set to the beginning of this GestureList.
LEAP_EXPORT int Leap::GestureList::count | ( | ) | const |
The length of this list.
LEAP_EXPORT const_iterator Leap::GestureList::end | ( | ) | const |
The C++ iterator set to the end of this GestureList.
LEAP_EXPORT bool Leap::GestureList::isEmpty | ( | ) | const |
Reports whether the list is empty.
LEAP_EXPORT Gesture Leap::GestureList::operator[] | ( | int | index | ) | const |
Access a list member by its position in the list.
index | The zero-based list position index. |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
static |