#include <l1394_cameraregister.h>
Inheritance diagram for L1394::CameraRegister:
Public Member Functions | |
CameraRegister constructor | |
These functions creates the Register objects for Camera devices. | |
virtual | ~CameraRegister () |
destructor | |
Camera_register Interface | |
These functions defines how to execute a feature of class Camera. | |
virtual bool | onePush (const bool one_push=true) const =0 |
This method activates or deactivates one-push mode of a feature. | |
virtual bool | automatic (const bool on=true) const =0 |
This method activates or deactivates the automode of a feature. | |
virtual int | setTriggerMode (const int value) const =0 |
This method sets the trigger mode. | |
virtual bool | setTriggerPolarity (const bool value) const =0 |
This method sets trigger polarity to value (False = low active). | |
virtual int | setValue (const int value) const =0 |
This method change the value of a feature. | |
virtual int | getValue () const =0 |
This method returns the current value of a feature. | |
virtual int | getMinValue () const =0 |
This method returns the minimal value of a feature. | |
virtual int | getMaxValue () const =0 |
This method returns the maximal value of a feature. | |
virtual bool | on (const bool=true) const =0 |
This method enables or disables a feature. | |
virtual bool | hasFeature () const =0 |
This method tests if a feature is supported by a camera. | |
virtual bool | hasOnePush () const =0 |
This method tests, if one-push mode is supported by a camera. | |
virtual bool | hasReadout () const =0 |
This method tests for readout mode of a feature. | |
virtual bool | hasOnOff () const =0 |
This method tests, if on-off mode is support by a feature. | |
virtual bool | hasAuto () const =0 |
This method tests for auto mode of a feature. | |
virtual bool | hasManual () const =0 |
This method tests for manual mode of a feature. |
If you access a feature of a device a so called L1394 Register object is returned. The L1394 Register object provides functions to define how to execute the feature.
The functions of this class define, how to execute commands of a Camera.
If you store a pointer to a L1394 Register object remember, that the functions of this class are only valid for the last feature called by the Device.
Functions changing the status of the camera, like setValue(int) return the new value. So you can test, if the new value is set correct.
Illegal combinations are ignored.
For an example see class Camera.
Definition at line 45 of file l1394_cameraregister.h.
|
destructor
Definition at line 55 of file l1394_cameraregister.h. |
|
This method activates or deactivates the automode of a feature.
Implemented in L1394::AvcCameraRegister, and L1394::DccRegister. |
|
This method returns the maximal value of a feature.
Implemented in L1394::AvcCameraRegister, and L1394::DccRegister. |
|
This method returns the minimal value of a feature.
Implemented in L1394::AvcCameraRegister, and L1394::DccRegister. |
|
This method returns the current value of a feature.
Implemented in L1394::AvcCameraRegister, and L1394::DccRegister. |
|
This method tests for auto mode of a feature.
Implemented in L1394::AvcCameraRegister, and L1394::DccRegister. |
|
This method tests if a feature is supported by a camera.
Implemented in L1394::AvcCameraRegister, and L1394::DccRegister. |
|
This method tests for manual mode of a feature.
Implemented in L1394::AvcCameraRegister, and L1394::DccRegister. |
|
This method tests, if one-push mode is supported by a camera.
Implemented in L1394::AvcCameraRegister, and L1394::DccRegister. |
|
This method tests, if on-off mode is support by a feature.
Implemented in L1394::AvcCameraRegister, and L1394::DccRegister. |
|
This method tests for readout mode of a feature.
Implemented in L1394::AvcCameraRegister, and L1394::DccRegister. |
|
This method enables or disables a feature. After disabling a feature, no write access has affect until enabling the feature again. So this method can be used, to lock (unlock) a feature to a value.
Implemented in L1394::AvcCameraRegister. |
|
This method activates or deactivates one-push mode of a feature.
Implemented in L1394::AvcCameraRegister, and L1394::DccRegister. |
|
This method sets the trigger mode. This method works only combined with the trigger feature.
Implemented in L1394::AvcCameraRegister, and L1394::DccRegister. |
|
This method sets trigger polarity to value (False = low active). This method works only combined with the trigger feature.
Implemented in L1394::AvcCameraRegister, and L1394::DccRegister. |
|
This method change the value of a feature.
Implemented in L1394::AvcCameraRegister, and L1394::DccRegister. |