|
latest version v1.9 - last update 10 Apr 2010 |
|
The camera information class. More...
#include <ltiFireWireDCAM.h>

Public Member Functions | |
| cameraInfo () | |
| ~cameraInfo () | |
| bool | get (const int port, const nodeid_t &node) |
Public Attributes | |
| dc1394_camerainfo | info |
| dc1394_feature_set | featureSet |
| dc1394_miscinfo | miscInfo |
| format7Info | format7 |
| quadlet_t | basics |
| bool | inUse |
| std::string | errorStr |
| std::set< uint32 > | supportedModes |
| std::map< uint32, std::set < float > > | supportedFramerates |
Protected Member Functions | |
| bool | getFormat7Capabilities () |
| bool | getFormat7ModeInfo (const unsigned int format) |
| bool | getSupportedModesAndFramerates (const nodeid_t &node) |
The camera information class.
For each camera detected in the bus a set of information is extracted which is encapsulated in objects of this type.
| lti::fireWireDCAM::cameraInfo::cameraInfo | ( | ) |
Default constructor.
| lti::fireWireDCAM::cameraInfo::~cameraInfo | ( | ) |
Destructor.
| bool lti::fireWireDCAM::cameraInfo::get | ( | const int | port, | |
| const nodeid_t & | node | |||
| ) |
Get camera information from the given port and node.
| bool lti::fireWireDCAM::cameraInfo::getFormat7Capabilities | ( | ) | [protected] |
Get information about the format 7 capabilities.
| bool lti::fireWireDCAM::cameraInfo::getFormat7ModeInfo | ( | const unsigned int | format | ) | [protected] |
Get information on a specific format7 mode.
| format | Format code, which should lie between MODE_FORMAT7_MIN and MODE_FORMAT7_MAX (usually from MODE_FORMAT7_0 to MODE_FORMAT7_7). |
| bool lti::fireWireDCAM::cameraInfo::getSupportedModesAndFramerates | ( | const nodeid_t & | node | ) | [protected] |
Get information on the supported modes.
| quadlet_t lti::fireWireDCAM::cameraInfo::basics |
| std::string lti::fireWireDCAM::cameraInfo::errorStr |
Error string.
| dc1394_feature_set lti::fireWireDCAM::cameraInfo::featureSet |
Set of features of the current camera.
Information about format 7.
| dc1394_camerainfo lti::fireWireDCAM::cameraInfo::info |
Information about the camera.
Flag to indicate if this camera is already being used by an instance.
| dc1394_miscinfo lti::fireWireDCAM::cameraInfo::miscInfo |
Other information.
| std::map<uint32,std::set<float> > lti::fireWireDCAM::cameraInfo::supportedFramerates |
Store the framerates supported for each supported mode.
The map key is a given mode, using the IIDC value for them, and the value for that key is a set containing the framerates supported.
This information is generated when get() is called.
Store the modes supported.
This information is generated when get() is called.