A list of the available producers on the system.
More...
#include <ProducerList.h>
A list of the available producers on the system.
- Examples
- ImageRelay.cpp.
◆ ProducerList() [1/2]
◆ ~ProducerList()
◆ ProducerList() [2/2]
◆ Add()
Adds a copy of an producer object.
- Parameters
-
| prod | An producer object to be added to this list. |
Implements IProducerList.
◆ Append()
Appends a copy of the producer list.
- Parameters
-
| list | Another ProducerList object, whose elements are added to this list. |
Implements IProducerList.
◆ Clear()
Clears the list of producers 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 producers is still in use this function will throw an exception.
Implements IProducerList.
- Examples
- ImageRelay.cpp.
◆ GetByIndex()
◆ GetByProducerID()
Returns a pointer to a producer object with the specified producer identifier.
This function will return a NULL ProducerPtr if no matching producer identifier is found.
- Parameters
-
| producerID | The unique producer identifier of the producer object to retrieve |
- Returns
- A pointer to an Producer object.
◆ GetSize()
| unsigned int GetSize |
( |
| ) |
const |
|
virtual |
Returns the size of the producer list.
The size is the number of Producer objects stored in the list.
- Returns
- An integer that represents the list size.
Implements IProducerList.
- Examples
- ImageRelay.cpp.
◆ operator=()
◆ operator[]()
◆ Remove()
Removes all occurences of an producer that is pointed to by the input producer pointer and destroys its corresponding reference counted object.
This function will throw a Spinnaker exception with SPINNAKER_ERR_NOT_AVAILABLE error if no matching producer is found.
- Parameters
-
| prod | Pointer to the producer that is to be removed |
Implements IProducerList.
◆ ProducerImpl
| friend class ProducerImpl |
|
friend |
◆ SystemImpl
The documentation for this class was generated from the following file: