#include <Leap.h>
The GestureList class represents a list of Gesture objects.
Get a GestureList object from a Frame object.
◆ GestureList() [1/2]
◆ GestureList() [2/2]
LEAP_EXPORT Leap::GestureList::GestureList |
( |
| ) |
|
Constructs an empty gesture list.
◆ append()
◆ begin()
The C++ iterator set to the beginning of this GestureList.
◆ count()
LEAP_EXPORT int Leap::GestureList::count |
( |
| ) |
const |
The length of this list.
- Returns
- The number of gestures in this list.
◆ empty()
LEAP_EXPORT bool Leap::GestureList::empty |
( |
| ) |
const |
◆ end()
◆ isEmpty()
LEAP_EXPORT bool Leap::GestureList::isEmpty |
( |
| ) |
const |
Reports whether the list is empty.
- Returns
- True, if the list has no members.
◆ operator[]()
LEAP_EXPORT Gesture Leap::GestureList::operator[] |
( |
int |
index | ) |
const |
Access a list member by its position in the list.
- Parameters
-
index | The zero-based list position index. |
- Returns
- The Gesture object at the specified index.