#include <l1394_deviceregister.h>
Inheritance diagram for L1394::DeviceRegister:
Public Member Functions | |
DccCamera constructor | |
These functions creates the Register objects for Devices. | |
virtual | ~DeviceRegister () |
destructor | |
Register interface for all devices | |
These functions define the minimal register interface for all devices (except DccCameras) | |
virtual int | send () const =0 |
This function sends a command to the device and returns the response code. | |
virtual bool | hasFeature () const =0 |
This function tests, if a command is supported by a node, false if not. | |
virtual L1394::QArray | status () const =0 |
This function returns the actual status of command. |
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 the minimum interface for all devices (except DccCameras).
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.
Illegal combinations are ignored.
In the actual version of the library this class provides only three functions :
Function send() :
This function executes a command and returns the response_code of the device. The response code, defined in AV/C Digital Interface Command Set General Specification (Version 3.0), is used.(see the description of function send() for the return values.)
Function hasFeature() :
This function tests, if a feature is supported by a device. It returns true, if a feature is supported, false if not.
Function status() :
This function can be used, to get the actual status of a command. The response code, defined in AV/C Digital Interface Command Set General Specification (Version 3.0), is used.(see the description of function status() for the return values.)
Definition at line 61 of file l1394_deviceregister.h.
|
destructor
Definition at line 71 of file l1394_deviceregister.h. |
|
This function tests, if a command is supported by a node, false if not. For this function the general inquiry command is used.
Implemented in L1394::AvcCameraRegister, and L1394::AvcRegister. |
|
This function sends a command to the device and returns the response code.
Implemented in L1394::AvcRegister. |
|
This function returns the actual status of command.
Implemented in L1394::AvcRegister. |