#include <l1394_avccameraregister.h>
Inheritance diagram for L1394::AvcCameraRegister:
Public Member Functions | |
CameraRegister constructor | |
These functions implement the CameraRegister interface for AvcCameras | |
AvcCameraRegister (const FcpNode *parent_node, const int subunit_value) | |
This method creates a CameraRegister object for AvcCameras. | |
~AvcCameraRegister () | |
destructor | |
Camera_register Interface | |
These functions implement the CameraRegister interface for AvcCameras | |
virtual bool | onePush (const bool one_push=true) const |
This method activates or deactivates one-push mode of a feature. | |
virtual bool | automatic (const bool on=true) const |
This method activates or deactivates the auto-mode of a feature. | |
virtual int | setValue (const int value) const |
This method changes the value of a feature. | |
virtual int | setTriggerMode (const int value) const |
This method sets the value of the trigger mode. | |
virtual bool | setTriggerPolarity (const bool value) const |
This method enables or disables the trigger polarity. | |
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 | on (const bool=true) const |
This method enable or disable a feature. | |
virtual bool | hasFeature () const |
This method tests if a feature is supported by the camera. | |
virtual bool | hasOnePush () const |
This method check, if one-push mode is supported by the 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 support 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 functions help to implement the interface. | |
void | setOffset (int) |
As described in class CameraRegister, class AvcCameraRegister defines how to execute a feature of a Camera based on the AV/C camera subunit Specification (Version 2.1).
For example-code see class Camera and AvcCamera.
Illegal combinations are ignored.
Definition at line 43 of file l1394_avccameraregister.h.
|
This method creates a CameraRegister object for AvcCameras.
Definition at line 22 of file l1394_avccameraregister.cpp. |
|
destructor
Definition at line 26 of file l1394_avccameraregister.cpp. |
|
This method activates or deactivates the auto-mode of a feature.
Implements L1394::CameraRegister. Definition at line 41 of file l1394_avccameraregister.cpp. References CONTROL, L1394::AvcRegister::opcode, L1394::AvcRegister::parent_node, L1394::FcpNode::send(), L1394::QArray::setByte(), and L1394::AvcRegister::subunit_value. |
|
This method returns the maximum value of a feature.
Implements L1394::CameraRegister. Definition at line 111 of file l1394_avccameraregister.cpp. |
|
This method returns the minimum value of a feature.
Implements L1394::CameraRegister. Definition at line 105 of file l1394_avccameraregister.cpp. |
|
This method returns the actual value of a feature.
Implements L1394::CameraRegister. Definition at line 93 of file l1394_avccameraregister.cpp. References L1394::AvcRegister::data_array, L1394::Quadlet::getByte(), L1394::Singleton< T, CreationPolicy, LifetimePolicy, ThreadingModel >::getInstance(), L1394::QArray::getSize(), L1394::AvcRegister::parent_node, L1394::FcpNode::send(), L1394::QArray::setByte(), and STATUS. |
|
This method tests for auto mode of a feature.
Implements L1394::CameraRegister. Definition at line 146 of file l1394_avccameraregister.cpp. |
|
This method tests if a feature is supported by the camera.
Reimplemented from L1394::AvcRegister. Definition at line 117 of file l1394_avccameraregister.cpp. References L1394::AvcRegister::data_array, L1394::Quadlet::getByte(), IMPLEMENTED, L1394::AvcRegister::parent_node, L1394::FcpNode::send(), L1394::QArray::setByte(), and SPECIFIC_INQUIRY. |
|
This method tests for manual mode of a feature.
Implements L1394::CameraRegister. Definition at line 152 of file l1394_avccameraregister.cpp. |
|
This method check, if one-push mode is supported by the camera.
Implements L1394::CameraRegister. Definition at line 128 of file l1394_avccameraregister.cpp. |
|
This method tests, if on-off mode is support by a feature.
Implements L1394::CameraRegister. Definition at line 140 of file l1394_avccameraregister.cpp. |
|
This method tests for readout mode of a feature.
Implements L1394::CameraRegister. Definition at line 134 of file l1394_avccameraregister.cpp. |
|
This method enable or disable 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.
Implements L1394::CameraRegister. Definition at line 139 of file l1394_avccameraregister.h. |
|
This method activates or deactivates one-push mode of a feature.
Implements L1394::CameraRegister. Definition at line 32 of file l1394_avccameraregister.cpp. References ACCEPTED, L1394::AvcRegister::data_array, L1394::Quadlet::getByte(), L1394::AvcRegister::parent_node, L1394::FcpNode::send(), and L1394::QArray::setByte(). |
|
Definition at line 187 of file l1394_avccameraregister.h. Referenced by L1394::AvcCamera::filter(), L1394::AvcCamera::pan(), L1394::AvcCamera::shutter(), L1394::AvcCamera::temperature(), L1394::AvcCamera::tilt(), and L1394::AvcCamera::trigger(). |
|
This method sets the value of the trigger mode.
Implements L1394::CameraRegister. Definition at line 82 of file l1394_avccameraregister.cpp. |
|
This method enables or disables the trigger polarity.
Implements L1394::CameraRegister. Definition at line 88 of file l1394_avccameraregister.cpp. |
|
This method changes the value of a feature.
Implements L1394::CameraRegister. Definition at line 53 of file l1394_avccameraregister.cpp. References CONTROL, L1394::AvcRegister::data_array, L1394::QArray::getByte(), L1394::QArray::getSize(), NOT_IMPLEMENTED, L1394::AvcRegister::parent_node, L1394::FcpNode::send(), L1394::QArray::setByte(), and STATUS. |