A list of the available producers on the system. More...
Public Member Functions | |
| ProducerList (void) | |
| virtual | ~ProducerList (void) |
| ProducerList (const ProducerList &prod) | |
| ProducerList & | operator= (const ProducerList &prod) |
| Assignment operator. More... | |
| ProducerPtr | operator[] (unsigned int index) |
| Array subscription operators. More... | |
| unsigned int | GetSize () const |
| Returns the size of the producer list. More... | |
| ProducerPtr | GetByIndex (unsigned int index) const |
| Returns a pointer to an Producer object at the "index". More... | |
| ProducerPtr | GetByProducerID (GenICam::gcstring producerID) const |
| Returns a pointer to a producer object with the specified producer identifier. More... | |
| void | Clear () |
| Clears the list of producers and destroys their corresponding objects. More... | |
| void | Add (ProducerPtr prod) |
| Adds a copy of an producer object. More... | |
| void | Remove (ProducerPtr prod) |
| Removes all occurences of an producer that is pointed to by the input producer pointer and destroys its corresponding reference counted object. More... | |
| void | Append (const ProducerList *list) |
| Appends a copy of the producer list. More... | |
Public Member Functions inherited from IProducerList | |
| virtual | ~IProducerList (void) |
Friends | |
| class | SystemImpl |
| class | ProducerImpl |
Additional Inherited Members | |
Protected Member Functions inherited from IProducerList | |
| IProducerList (void) | |
| IProducerList (const IProducerList &) | |
| IProducerList & | operator= (const IProducerList &) |
Protected Attributes inherited from IProducerList | |
| ProducerListData * | m_pProducerListData |
A list of the available producers on the system.
| ProducerList | ( | void | ) |
|
virtual |
| ProducerList | ( | const ProducerList & | prod | ) |
|
virtual |
Adds a copy of an producer object.
| prod | An producer object to be added to this list. |
Implements IProducerList.
|
virtual |
Appends a copy of the producer list.
| list | Another ProducerList object, whose elements are added to this list. |
Implements IProducerList.
|
virtual |
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.
|
virtual |
Returns a pointer to an Producer object at the "index".
| index | The index at which to retrieve the Producer object |
Implements IProducerList.
| ProducerPtr GetByProducerID | ( | GenICam::gcstring | producerID | ) | const |
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.
| producerID | The unique producer identifier of the producer object to retrieve |
|
virtual |
Returns the size of the producer list.
The size is the number of Producer objects stored in the list.
Implements IProducerList.
| ProducerList& operator= | ( | const ProducerList & | prod | ) |
Assignment operator.
|
virtual |
Array subscription operators.
Implements IProducerList.
|
virtual |
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.
| prod | Pointer to the producer that is to be removed |
Implements IProducerList.
|
friend |
|
friend |