#include <l1394_dccregister.h>
Inheritance diagram for L1394::DccRegister:
Public Member Functions | |
DccRegister constructor | |
These functions creates the DccRegister for DccCameras. | |
DccRegister (const Node *parent) | |
constructor | |
virtual | ~DccRegister () |
destructor | |
Camera_register Interface | |
These functions implement the CameraRegister interface for DccCameras | |
virtual bool | onePush (const bool one_push=true) const |
This method activates or deactivates one-push mode of a feature. | |
virtual bool | on (const bool on=true) const |
This method enables or disables a feature. | |
virtual bool | automatic (const bool on=true) const |
This method activates or deactivates the automode of a feature. | |
virtual int | setValue (const int value) const |
This method changes the parameter of a feature. | |
virtual int | setTriggerMode (const int value) const |
This method changes the trigger mode of a feature. | |
virtual bool | setTriggerPolarity (const bool value) const |
This method sets trigger polarity to value (False = low active). | |
virtual int | getValue () const |
This method returns the actual value of a feature. | |
virtual int | getMinValue () const |
This method returns the minimum value of a feature. | |
virtual int | getMaxValue () const |
This method returns the maximum value of a feature. | |
virtual bool | hasFeature () const |
This method tests if a feature is supported by a camera. | |
virtual bool | hasOnePush () const |
This method tests, if one-push mode is supported by a camera. | |
virtual bool | hasReadout () const |
This method tests for readout mode of a feature. | |
virtual bool | hasOnOff () const |
This method tests, if on-off mode is supported by a feature. | |
virtual bool | hasAuto () const |
This method tests for auto mode of a feature. | |
virtual bool | hasManual () const |
This method tests for manual mode of a feature. | |
Some internal functions | |
These methods help to implement the interface. | |
DccRegister * | setOffset (int offset) |
This method set the offset register to access a feature. | |
DccRegister * | setWhiteBalance (bool value) |
This method is for internal use only!! DON'T use it. |
As described in class CameraRegister, class DccRegister defines how to execute a command of class DccCamera .
For example see class DccCamera or class Camera.
Illegal combinations are ignored.
Definition at line 44 of file l1394_dccregister.h.
|
constructor
Definition at line 22 of file l1394_dccregister.cpp. References L1394::Quadlet::fromInt(), and L1394::Singleton< T, CreationPolicy, LifetimePolicy, ThreadingModel >::getInstance(). |
|
destructor
Definition at line 62 of file l1394_dccregister.h. |
|
This method activates or deactivates the automode of a feature.
Implements L1394::CameraRegister. Definition at line 65 of file l1394_dccregister.cpp. References DCC_BASE, L1394::internal::Message::errorStream(), L1394::Quadlet::getBit(), L1394_FAILED, and L1394::Quadlet::setBit(). |
|
This method returns the maximum value of a feature.
Implements L1394::CameraRegister. Definition at line 171 of file l1394_dccregister.cpp. References DCC_BASE, L1394::internal::Message::errorStream(), L1394::Quadlet::getBitRange(), and L1394_FAILED. |
|
This method returns the minimum value of a feature.
Implements L1394::CameraRegister. Definition at line 162 of file l1394_dccregister.cpp. References DCC_BASE, L1394::internal::Message::errorStream(), L1394::Quadlet::getBitRange(), and L1394_FAILED. |
|
This method returns the actual value of a feature.
Implements L1394::CameraRegister. Definition at line 146 of file l1394_dccregister.cpp. References DCC_BASE, L1394::internal::Message::errorStream(), L1394::Quadlet::getBitRange(), and L1394_FAILED. |
|
This method tests for auto mode of a feature.
Implements L1394::CameraRegister. Definition at line 234 of file l1394_dccregister.cpp. References DCC_BASE, L1394::internal::Message::errorStream(), L1394::Quadlet::getBit(), and L1394_FAILED. |
|
This method tests if a feature is supported by a camera.
Implements L1394::CameraRegister. Definition at line 179 of file l1394_dccregister.cpp. References DCC_BASE, L1394::internal::Message::errorStream(), L1394::Quadlet::getBit(), and L1394_FAILED. |
|
This method tests for manual mode of a feature.
Implements L1394::CameraRegister. Definition at line 242 of file l1394_dccregister.cpp. References DCC_BASE, L1394::internal::Message::errorStream(), L1394::Quadlet::getBit(), and L1394_FAILED. |
|
This method tests, if one-push mode is supported by a camera.
Implements L1394::CameraRegister. Definition at line 211 of file l1394_dccregister.cpp. References DCC_BASE, L1394::internal::Message::errorStream(), L1394::Quadlet::getBit(), and L1394_FAILED. |
|
This method tests, if on-off mode is supported by a feature.
Implements L1394::CameraRegister. Definition at line 226 of file l1394_dccregister.cpp. References DCC_BASE, L1394::internal::Message::errorStream(), L1394::Quadlet::getBit(), and L1394_FAILED. |
|
This method tests for readout mode of a feature.
Implements L1394::CameraRegister. Definition at line 218 of file l1394_dccregister.cpp. References DCC_BASE, L1394::internal::Message::errorStream(), L1394::Quadlet::getBit(), and L1394_FAILED. |
|
This method enables or disables a feature. After disabling a feature, no write access has effect until enabling the feature again. So this method can be used, to lock (unlock) a feature to a value.
Definition at line 47 of file l1394_dccregister.cpp. References DCC_BASE, L1394::internal::Message::errorStream(), L1394::Quadlet::getBit(), L1394_FAILED, and L1394::Quadlet::setBit(). |
|
This method activates or deactivates one-push mode of a feature.
Implements L1394::CameraRegister. Definition at line 31 of file l1394_dccregister.cpp. References DCC_BASE, L1394::internal::Message::errorStream(), L1394::Quadlet::getBit(), L1394_FAILED, and L1394::Quadlet::setBit(). |
|
This method set the offset register to access a feature. This method is for internal use only!!!
Definition at line 193 of file l1394_dccregister.h. Referenced by L1394::DccCamera::autoExposure(), L1394::DccCamera::brightness(), L1394::DccCamera::filter(), L1394::DccCamera::focus(), L1394::DccCamera::gain(), L1394::DccCamera::gamma(), L1394::DccCamera::hue(), L1394::DccCamera::iris(), L1394::DccCamera::pan(), L1394::DccCamera::saturation(), L1394::DccCamera::sharpness(), L1394::DccCamera::shutter(), L1394::DccCamera::temperature(), L1394::DccCamera::tilt(), L1394::DccCamera::trigger(), L1394::DccCamera::whiteBalance(), and L1394::DccCamera::zoom(). |
|
This method changes the trigger mode of a feature.
Implements L1394::CameraRegister. Definition at line 114 of file l1394_dccregister.cpp. References DCC_BASE, L1394::internal::Message::errorStream(), L1394::Quadlet::getBitRange(), L1394_FAILED, and L1394::Quadlet::setBitRange(). |
|
This method sets trigger polarity to value (False = low active).
Implements L1394::CameraRegister. Definition at line 129 of file l1394_dccregister.cpp. References DCC_BASE, L1394::internal::Message::errorStream(), L1394::Quadlet::getBit(), L1394_FAILED, and L1394::Quadlet::setBit(). |
|
This method changes the parameter of a feature.
Implements L1394::CameraRegister. Definition at line 84 of file l1394_dccregister.cpp. References DCC_BASE, L1394::internal::Message::errorStream(), L1394::Quadlet::getBitRange(), L1394_FAILED, and L1394::Quadlet::setBitRange(). |
|
This method is for internal use only!! DON'T use it. This method sets the bit range for writing values to a register. This method will be removed in later versions.
Definition at line 203 of file l1394_dccregister.h. |