LTI-Lib latest version v1.9 - last update 10 Apr 2010

lti::fireWireDCAM::cameraInfo Class Reference

The camera information class. More...

#include <ltiFireWireDCAM.h>

Collaboration diagram for lti::fireWireDCAM::cameraInfo:
Collaboration graph
[legend]

List of all members.

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< uint32supportedModes
std::map< uint32, std::set
< float > > 
supportedFramerates

Protected Member Functions

bool getFormat7Capabilities ()
bool getFormat7ModeInfo (const unsigned int format)
bool getSupportedModesAndFramerates (const nodeid_t &node)

Detailed Description

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.


Constructor & Destructor Documentation

lti::fireWireDCAM::cameraInfo::cameraInfo (  ) 

Default constructor.

lti::fireWireDCAM::cameraInfo::~cameraInfo (  ) 

Destructor.


Member Function Documentation

bool lti::fireWireDCAM::cameraInfo::get ( const int  port,
const nodeid_t &  node 
)

Get camera information from the given port and node.

Returns:
true if successful or false if an error occurred, in which case the errorStr will contain an appropriate message.
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.

Parameters:
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.

Returns:
true if successful or false otherwise

Member Data Documentation

Basic functionality of the camera.

This includes most importantly three features:

  • Bit 16: camera process power ON/OFF capability
  • Bit 19: one shot transmission capability
  • Bit 20: multishot transmission capability

Error string.

Set of features of the current camera.

Information about format 7.

Information about the camera.

Flag to indicate if this camera is already being used by an instance.

Other information.

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.


The documentation for this class was generated from the following file:

Generated on Sat Apr 10 15:28:01 2010 for LTI-Lib by Doxygen 1.6.1