Public Types | Public Member Functions | Public Attributes | Static Public Attributes | Static Private Attributes
Leap::GestureList Class Reference

#include <Leap.h>

Inheritance diagram for Leap::GestureList:
Inheritance graph
[legend]

List of all members.

Public Types

typedef ConstListIterator
< GestureList, Gesture
const_iterator

Public Member Functions

def __getitem__
def __init__
def __iter__
def __len__
def append
LEAP_EXPORT GestureListappend (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 Attributes

 this

Static Public Attributes

tuple is_empty = _swig_property(LeapPython.GestureList_is_empty_get)

Static Private Attributes

tuple __getattr__ = lambdaself,name:_swig_getattr(self, GestureList, name)
 __repr__ = _swig_repr
tuple __setattr__ = lambdaself,name,value:_swig_setattr(self, GestureList, name, value)
 __swig_destroy__ = LeapPython.delete_GestureList
dictionary __swig_getmethods__ = {}
dictionary __swig_setmethods__ = {}

Detailed Description

The GestureList class represents a list of Gesture objects.

Get a GestureList object from a Frame object.

Since:
1.0

Definition at line 4002 of file Leap.h.


Member Typedef Documentation

A C++ iterator type for GestureList objects.

Since:
1.0

Definition at line 4058 of file Leap.h.


Constructor & Destructor Documentation

Leap::GestureList::GestureList ( const ListBaseImplementation< Gesture > &  )

Constructs an empty gesture list.

Since:
1.0

Definition at line 1613 of file Leap.py.


Member Function Documentation

def Leap::GestureList::__getitem__ (   self,
  index 
)

Definition at line 1623 of file Leap.py.

Definition at line 1631 of file Leap.py.

Definition at line 1620 of file Leap.py.

def Leap::GestureList::append (   self,
  other 
)

Definition at line 1626 of file Leap.py.

Appends the members of the specified GestureList to this GestureList.

Parameters:
otherA GestureList object containing Gesture objects to append to the end of this GestureList.
Since:
1.0

The C++ iterator set to the beginning of this GestureList.

Since:
1.0

The length of this list.

Returns:
The number of gestures in this list.
Since:
1.0

The C++ iterator set to the end of this GestureList.

Since:
1.0

Reports whether the list is empty.

Returns:
True, if the list has no members.
Since:
1.0
LEAP_EXPORT Gesture Leap::GestureList::operator[] ( int  index) const

Access a list member by its position in the list.

Parameters:
indexThe zero-based list position index.
Returns:
The Gesture object at the specified index.
Since:
1.0

Member Data Documentation

tuple Leap::GestureList::__getattr__ = lambdaself,name:_swig_getattr(self, GestureList, name) [static, private]

Reimplemented from Leap::Interface.

Definition at line 1610 of file Leap.py.

Definition at line 1611 of file Leap.py.

tuple Leap::GestureList::__setattr__ = lambdaself,name,value:_swig_setattr(self, GestureList, name, value) [static, private]

Reimplemented from Leap::Interface.

Definition at line 1606 of file Leap.py.

Leap::GestureList::__swig_destroy__ = LeapPython.delete_GestureList [static, private]

Definition at line 1637 of file Leap.py.

dictionary Leap::GestureList::__swig_getmethods__ = {} [static, private]

Reimplemented from Leap::Interface.

Definition at line 1607 of file Leap.py.

dictionary Leap::GestureList::__swig_setmethods__ = {} [static, private]

Reimplemented from Leap::Interface.

Definition at line 1603 of file Leap.py.

tuple Leap::GestureList::is_empty = _swig_property(LeapPython.GestureList_is_empty_get) [static]

Definition at line 1630 of file Leap.py.

Definition at line 1613 of file Leap.py.


The documentation for this class was generated from the following files:


leap_motion
Author(s): Florian Lier , Mirza Shah , Isaac IY Saito
autogenerated on Sat Jun 8 2019 18:47:25