This class is used to discover and list device objects.
More...
#include <bgapi2_genicam.hpp>
|
class | iterator |
| This class provides a iterator that can read or modify any element in the list. More...
|
|
|
void | Refresh (bo_uint64 iTimeout) |
| This function starts the search for Devices and provides a list of device objects. The search is controlled by a timeout parameter. This function delivers, if at least one device object were found, but no later than after the set timeout period (see comments). More...
|
|
bo_uint64 | size () |
| This function delivers the number of device objects in the device list. More...
|
|
void | clear () |
| This function removes all device objects from the device list. More...
|
|
Device * | operator[] (const String &devid) |
| This operator allows the direct access to an object of the device list. More...
|
|
iterator | begin () |
| This function delivers an iterator on the top of the device list. More...
|
|
iterator | end () |
| This function delivers an iterator at the end of the device list. More...
|
|
iterator | find (const String &_keyval) |
| This function delivers an iterator on an object to be found. The object is not found, this functions delivers an end-iterator. More...
|
|
This class is used to discover and list device objects.
Definition at line 386 of file bgapi2_genicam.hpp.
◆ begin()
BGAPI2::DeviceList::begin |
( |
| ) |
|
This function delivers an iterator on the top of the device list.
- Returns
- iterator The iterator on the top of the device list.
- Exceptions
-
◆ clear()
BGAPI2::DeviceList::clear |
( |
| ) |
|
This function removes all device objects from the device list.
- Exceptions
-
◆ end()
BGAPI2::DeviceList::end |
( |
| ) |
|
This function delivers an iterator at the end of the device list.
- Returns
- iterator The iterator at the end of the device list.
- Exceptions
-
◆ find()
BGAPI2::DeviceList::find |
( |
const String & |
_keyval | ) |
|
This function delivers an iterator on an object to be found. The object is not found, this functions delivers an end-iterator.
- Parameters
-
_keyval | The ID to the object to be found. |
- Returns
- iterator The iterator to the found object.
- Exceptions
-
◆ operator[]()
BGAPI2::DeviceList::operator[] |
( |
const String & |
devid | ) |
|
This operator allows the direct access to an object of the device list.
- Parameters
-
devid | For this ID, the associated device object is delivered. |
- Returns
- Device* The requested device object.
- Exceptions
-
◆ Refresh()
BGAPI2::DeviceList::Refresh |
( |
bo_uint64 |
iTimeout | ) |
|
This function starts the search for Devices and provides a list of device objects. The search is controlled by a timeout parameter. This function delivers, if at least one device object were found, but no later than after the set timeout period (see comments).
- Parameters
-
iTimeout | After this time, the function delivers latest. |
- Exceptions
-
◆ size()
BGAPI2::DeviceList::size |
( |
| ) |
|
This function delivers the number of device objects in the device list.
- Returns
- bo_uint64 The number of device objects in the device list.
- Exceptions
-
The documentation for this class was generated from the following file: