lti::fireWireDCAM::cameraSet Class Reference
Set of cameras.
More...
#include <ltiFireWireDCAM.h>
List of all members.
Detailed Description
Set of cameras.
This class represents the set of all available cameras
Constructor & Destructor Documentation
lti::fireWireDCAM::cameraSet::cameraSet |
( |
|
) |
|
lti::fireWireDCAM::cameraSet::~cameraSet |
( |
|
) |
|
Member Function Documentation
bool lti::fireWireDCAM::cameraSet::findCamera |
( |
const u_int64_t & |
euID64, |
|
|
int & |
camIdx | |
|
) |
| | const |
Try to find a camera within the set with the given identification.
- Parameters:
-
| euID64 | is the identification number used by the libdc1394 |
| camIdx | if the id is found, this will contain the index to access the camera with the given id, otherwise it will be set to -1. |
- Returns:
true
if the camera is found, or false if not.
bool lti::fireWireDCAM::cameraSet::findFreeCamera |
( |
int & |
camIdx |
) |
const |
This method finds the first available camera.
bool lti::fireWireDCAM::cameraSet::get |
( |
busInfo & |
bus |
) |
|
Evaluate the given bus and create all the necessary objects to obtain and retain the information of all available cameras.
cameraInfo& lti::fireWireDCAM::cameraSet::operator[] |
( |
const int |
idx |
) |
|
Get the information block of the camera identified with the given index.
const cameraInfo& lti::fireWireDCAM::cameraSet::operator[] |
( |
const int |
idx |
) |
const |
Get the information block of the camera identified with the given index.
bool lti::fireWireDCAM::cameraSet::releaseIndex |
( |
const int |
idx |
) |
|
Mark the camera with the given index as free to be used by other instances.
bool lti::fireWireDCAM::cameraSet::reserveIndex |
( |
const int |
idx |
) |
|
Mark the camera with the given index as being in use.
Only one instance of this functor can use a particular camera at a time.
unsigned int lti::fireWireDCAM::cameraSet::size |
( |
|
) |
const |
Return the total number of cameras found.
Member Data Documentation
The documentation for this class was generated from the following file: