#include <Leap.h>

The GestureList class represents a list of Gesture objects.
Get a GestureList object from a Frame object.
Public Member Functions | |
| GestureList (const ListBaseImplementation< Gesture > &) | |
| LEAP_EXPORT | GestureList () |
| LEAP_EXPORT int | count () const |
| LEAP_EXPORT bool | isEmpty () const |
| LEAP_EXPORT bool | empty () const |
| LEAP_EXPORT Gesture | operator[] (int index) const |
| LEAP_EXPORT GestureList & | append (const GestureList &other) |
| LEAP_EXPORT const_iterator | begin () const |
| LEAP_EXPORT const_iterator | end () const |
Additional Inherited Members | |
Protected Attributes inherited from Leap::Interface | |
| class SharedObject * | m_object |
Protected Member Functions inherited from Leap::Interface | |
| LEAP_EXPORT | Interface (void *owner) |
| LEAP_EXPORT | Interface (Implementation *reference, void *owner) |
| LEAP_EXPORT | Interface (const Interface &rhs) |
| LEAP_EXPORT Interface & | operator= (const Interface &rhs) |
| virtual LEAP_EXPORT | ~Interface () |
| template<typename T > | |
| T * | get () const |
| 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 bool Leap::GestureList::empty | ( | ) | const |
Deprecated. Use GestureList::isEmpty() instead.
| 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.