A list of the available interfaces on the system.
More...
#include <InterfaceList.h>
A list of the available interfaces on the system.
- Examples
- NodeMapInfo_QuickSpin.cpp.
◆ InterfaceList() [1/2]
◆ ~InterfaceList()
◆ InterfaceList() [2/2]
◆ Add()
Adds a copy of an interface object.
- Parameters
-
iface | An interface object to be added to this list. |
Implements IInterfaceList.
◆ Append()
Appends a copy of the interfact list.
- Parameters
-
list | Another InterfaceList object, whose elements are added to this list. |
Implements IInterfaceList.
◆ Clear()
Clears the list of interfaces and destroys their corresponding objects.
It is important to first make sure there are no referenced cameras still in use before calling Clear(). If a camera on any of the interfaces is still in use this function will throw an exception.
Implements IInterfaceList.
- Examples
- NodeMapInfo_QuickSpin.cpp.
◆ GetByIndex()
◆ GetByInterfaceID()
InterfacePtr GetByInterfaceID |
( |
std::string |
interfaceID | ) |
const |
Returns a pointer to a interface object with the specified interface identifier.
This function will return a NULL InterfacePtr if no matching interface identifier is found.
- Parameters
-
interfaceID | The unique interface identifier of the interface object to retrieve |
- Returns
- A pointer to an Interface object.
◆ GetSize()
unsigned int GetSize |
( |
| ) |
const |
|
virtual |
◆ operator=()
◆ operator[]()
◆ Remove()
Removes all occurences of an interface that is pointed to by the input interface pointer and destroys its corresponding reference counted object.
This function will throw a Spinnaker exception with SPINNAKER_ERR_NOT_AVAILABLEerror if no matching interface is found.
- Parameters
-
iface | Pointer to the interface that is to be removed |
Implements IInterfaceList.
◆ ProducerImpl
friend class ProducerImpl |
|
friend |
◆ SystemImpl
The documentation for this class was generated from the following file: