Class Spinnaker::ProducerList¶
ClassList > Spinnaker > ProducerList
A list of the available producers on the system.
#include <ProducerList.h>
Inherits the following classes: Spinnaker::IProducerList
Public Functions¶
| Type | Name |
|---|---|
| virtual void | Add (ProducerPtr prod) |
| virtual void | Append (const ProducerList * list) |
| virtual void | Clear () |
| virtual ProducerPtr | GetByIndex (unsigned int index) const |
| ProducerPtr | GetByProducerID (GenICam::gcstring producerID) const |
| virtual unsigned int | GetSize () const |
| ProducerList (void) |
|
| ProducerList (const ProducerList & prod) |
|
| virtual void | Remove (ProducerPtr prod) |
| ProducerList & | operator= (const ProducerList & prod) |
| virtual ProducerPtr | operator[] (unsigned int index) |
| virtual | ~ProducerList (void) |
Public Functions inherited from Spinnaker::IProducerList¶
| Type | Name |
|---|---|
| virtual void | Add (ProducerPtr prod) = 0 |
| virtual void | Append (const ProducerList * list) = 0 |
| virtual void | Clear () = 0 |
| virtual ProducerPtr | GetByIndex (unsigned int index) const = 0 |
| virtual unsigned int | GetSize () const = 0 |
| virtual void | Remove (ProducerPtr prod) = 0 |
| virtual ProducerPtr | operator[] (unsigned int index) = 0 |
| virtual | ~IProducerList (void) |
Protected Attributes inherited from Spinnaker::IProducerList¶
| Type | Name |
|---|---|
| ProducerListData * | m_pProducerListData |
Protected Functions inherited from Spinnaker::IProducerList¶
| Type | Name |
|---|---|
| IProducerList (void) |
|
| IProducerList (const IProducerList &) |
|
| IProducerList & | operator= (const IProducerList &) |
Public Functions Documentation¶
function Add¶
Adds a copy of an producer object.
Parameters:
prodAn producer object to be added to this list.
Implements Spinnaker::IProducerList::Add
function Append¶
Appends a copy of the producer list.
Parameters:
listAnother ProducerList object, whose elements are added to this list.
Implements Spinnaker::IProducerList::Append
function 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 Spinnaker::IProducerList::Clear
function GetByIndex¶
Returns a pointer to an Producer object at the "index".
Parameters:
indexThe index at which to retrieve the Producer object
Returns:
A pointer to an Producer object.
Implements Spinnaker::IProducerList::GetByIndex
function 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:
producerIDThe unique producer identifier of the producer object to retrieve
Returns:
A pointer to an Producer object.
function GetSize¶
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 Spinnaker::IProducerList::GetSize
function ProducerList [1/2]¶
function ProducerList [2/2]¶
function 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:
prodPointer to the producer that is to be removed
Implements Spinnaker::IProducerList::Remove
function operator=¶
Assignment operator.
function operator[]¶
Array subscription operators
Implements Spinnaker::IProducerList::operator[]
function ~ProducerList¶
The documentation for this class was generated from the following file C:/workspace/include/ProducerList.h