#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.
◆ const_iterator
◆ DeviceList() [1/2]
◆ DeviceList() [2/2]
Constructs an empty list of devices.
- Since
- 1.0
◆ __init__()
def Leap.DeviceList.__init__ |
( |
|
self | ) |
|
◆ __getitem__()
def Leap.DeviceList.__getitem__ |
( |
|
self, |
|
|
|
index |
|
) |
| |
◆ __iter__()
def Leap.DeviceList.__iter__ |
( |
|
self | ) |
|
◆ __len__()
def Leap.DeviceList.__len__ |
( |
|
self | ) |
|
◆ append() [1/2]
def Leap.DeviceList.append |
( |
|
self, |
|
|
|
other |
|
) |
| |
◆ append() [2/2]
◆ begin()
The C++ iterator set to the beginning of this DeviceList.
- Since
- 1.0
◆ count()
Returns the number of devices in this list.
- Returns
- The number of devices in this list.
- Since
- 1.0
◆ end()
The C++ iterator set to the end of this DeviceList.
- Since
- 1.0
◆ isEmpty()
Reports whether the list is empty.
- Returns
- True, if the list has no members.
- Since
- 1.0
◆ operator[]()
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
◆ __getattr__
◆ __repr__
◆ __setattr__
◆ __swig_destroy__
Leap.DeviceList.__swig_destroy__ = LeapPython.delete_DeviceList |
|
staticprivate |
◆ __swig_getmethods__
dictionary Leap.DeviceList.__swig_getmethods__ = {} |
|
staticprivate |
◆ __swig_setmethods__
dictionary Leap.DeviceList.__swig_setmethods__ = {} |
|
staticprivate |
◆ is_empty
Leap.DeviceList.is_empty = _swig_property(LeapPython.DeviceList_is_empty_get) |
|
static |
◆ this
The documentation for this class was generated from the following files: