#include <Leap.h>
The DeviceList class represents a list of Device objects.
Get a DeviceList object by calling Controller::devices().
- Since
- 1.0
Definition at line 4114 of file Leap.h.
Constructs an empty list of devices.
- Since
- 1.0
def Leap.DeviceList.__init__ |
( |
|
self | ) |
|
def Leap.DeviceList.__getitem__ |
( |
|
self, |
|
|
|
index |
|
) |
| |
def Leap.DeviceList.__iter__ |
( |
|
self | ) |
|
def Leap.DeviceList.__len__ |
( |
|
self | ) |
|
def Leap.DeviceList.append |
( |
|
self, |
|
|
|
other |
|
) |
| |
The C++ iterator set to the beginning of this DeviceList.
- Since
- 1.0
Returns the number of devices in this list.
- Returns
- The number of devices in this list.
- Since
- 1.0
The C++ iterator set to the end of this DeviceList.
- Since
- 1.0
Reports whether the list is empty.
- Returns
- True, if the list has no members.
- Since
- 1.0
Access a list member by its position in the list.
- Parameters
-
index | The zero-based list position index. |
- Returns
- The Device object at the specified index.
- Since
- 1.0
Leap.DeviceList.__getattr__ = lambdaself,name:_swig_getattr(self, DeviceList, name) |
|
staticprivate |
Leap.DeviceList.__setattr__ = lambdaself,name,value:_swig_setattr(self, DeviceList, name, value) |
|
staticprivate |
Leap.DeviceList.__swig_destroy__ = LeapPython.delete_DeviceList |
|
staticprivate |
dictionary Leap.DeviceList.__swig_getmethods__ = {} |
|
staticprivate |
dictionary Leap.DeviceList.__swig_setmethods__ = {} |
|
staticprivate |
Leap.DeviceList.is_empty = _swig_property(LeapPython.DeviceList_is_empty_get) |
|
static |
The documentation for this class was generated from the following files: