Group CCameraList¶
The functions in this section provide access to information, objects, and functionality of camera lists. This includes updating, size and camera retrieval, and clearance.
Public Functions¶
| Type | Name |
|---|---|
| spinCameraListAppend (spinCameraList hCameraListBase, spinCameraList hCameraListToAppend) |
|
| spinCameraListClear (spinCameraList hCameraList) |
|
| spinCameraListCreateEmpty (spinCameraList * phCameraList) |
|
| spinCameraListDestroy (spinCameraList hCameraList) |
|
| spinCameraListGet (spinCameraList hCameraList, size_t index, spinCamera * phCamera) |
|
| spinCameraListGetBySerial (spinCameraList hCameraList, const char * pSerial, spinCamera * phCamera) |
|
| spinCameraListGetSize (spinCameraList hCameraList, size_t * pSize) |
|
| spinCameraListRemove (spinCameraList hCameraList, size_t index) |
|
| spinCameraListRemoveBySerial (spinCameraList hCameraList, const char * pSerial) |
Public Functions Documentation¶
function spinCameraListAppend¶
Appends all the cameras from one camera list to another
See also: spinError
Parameters:
hCameraListBaseThe camera list to receive the otherhCameraListToAppendThe camera list to add to the other
Returns:
spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
function spinCameraListClear¶
Clears a camera list
See also: spinError
Parameters:
hCameraListThe camera list to clear
Returns:
spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
function spinCameraListCreateEmpty¶
Creates an empty camera list (camera lists created this way must be destroyed)
See also: spinError
Parameters:
phCameraListThe camera list handle pointer in which the empty camera list is returned
Returns:
spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
function spinCameraListDestroy¶
Destroys a camera list
See also: spinError
Parameters:
hCameraListThe camera list to destroy
Returns:
spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
function spinCameraListGet¶
Retrieves a camera from a camera list using an index. This function will return a SPINNAKER_ERR_INVALID_PARAMETER error if the input index is out of range.
See also: spinError
Parameters:
hCameraListThe camera list of the camera to retrieveindexThe index of the cameraphCameraThe camera handle pointer in which the camera is returned
Returns:
spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
function spinCameraListGetBySerial¶
spinCameraListGetBySerial (
spinCameraList hCameraList,
const char * pSerial,
spinCamera * phCamera
)
Retrieves a camera from a camera list using its serial number. This function will return a NULL spinCamera pointer if no matching camera serial is found.
See also: spinError
Parameters:
hCameraListThe camera list of the camera to retrieveserialThe serial number of the camera to retrievephCameraThe camera handle pointer in which the camera is returned
Returns:
spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
function spinCameraListGetSize¶
Retrieves the number of cameras on a camera list
See also: spinError
Parameters:
hCameraListThe camera list where the cameras to be counted arepSizeThe unsigned integer pointer in which the number of cameras is returned
Returns:
spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
function spinCameraListRemove¶
Removes a camera from a camera list using its index
See also: spinError
Parameters:
hCameraListThe camera list of the camera to removeindexThe index of the camera to remove
Returns:
spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error
function spinCameraListRemoveBySerial¶
Removes a camera from a camera list using its serial number
See also: spinError
Parameters:
hCameraListThe camera list of the camera to removepSerialThe serial number of the camera to remove
Returns:
spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error