#include <l1394_fcpnode.h>
Inheritance diagram for L1394::FcpNode:
Public Member Functions | |
FcpNode constructor | |
These functions creates the FcpNode objects. | |
FcpNode (const u_int32_t node_id, const Card *parent) | |
Constructor. | |
virtual | ~FcpNode () |
Destructor. | |
Fcp specific transactions and functions | |
These functions send a command, based on the FCP protocol, to a FcpNode and return the response. | |
Quadlet | send (const Quadlet &command) const |
This method sends a Quadlet (4 bytes) to this node using FCP protocol. | |
QArray | send (const QArray &command) const |
This method sends an array of Quadlets to this node, using FCP protocol. | |
const char * | decode (const QArray &value) const |
This method decodes a response and returns the response-code as string. | |
const char * | decode (const Quadlet &value) const |
This method decodes a response and returns as string. | |
Unit/Subunit information | |
These functions return some Unit and Subunit informations. | |
int | getSubunitCount () const |
This functions return the count of subunits. | |
QArray | getSubunitInfo (int subunit) |
This method returns the subunit information from the i-th subunit. | |
QArray | getUnitInfo () |
This method returns the unit information block. | |
Device * | findSubunit (const int subunit_type) const |
This method returns the subunit with a specific type. | |
Device ** | getDeviceArray () const |
This method return an array with size 8. | |
Iso * | getIsoObject () const |
This method returns a DvIso-object. |
A FcpNode stores up to 8 subunits in an array. The subunit itself stores a pointer to a specific device.(see also class Subunit).
This class implements also functions to send commands to a node and gets information about the Unit and subunits.
For more information about FCP protocol see IEEE specification. For more information about AV/C see 'AV/C Digital Interface Command Set General specification'.
Definition at line 43 of file l1394_fcpnode.h.
|
Constructor.
Definition at line 24 of file l1394_fcpnode.cpp. References L1394::_FcpNode. |
|
Destructor.
Definition at line 56 of file l1394_fcpnode.cpp. References L1394::NODE_DESTROY. |
|
This method decodes a response and returns as string.
Definition at line 85 of file l1394_fcpnode.cpp. References L1394::Quadlet::getByte(). |
|
This method decodes a response and returns the response-code as string.
Definition at line 89 of file l1394_fcpnode.h. References L1394::QArray::getQuadlet(). |
|
This method returns the subunit with a specific type.
Definition at line 146 of file l1394_fcpnode.cpp. References L1394::Device::getDeviceType(). |
|
This method return an array with size 8. The array contain pointer to the subunits of an AvcNode. If an AvcNode has less than 8 subunits the array is filled with NULL.
Definition at line 143 of file l1394_fcpnode.h. |
|
This method returns a DvIso-object.
Definition at line 150 of file l1394_fcpnode.h. |
|
This functions return the count of subunits.
Definition at line 109 of file l1394_fcpnode.h. |
|
This method returns the subunit information from the i-th subunit.
Definition at line 101 of file l1394_fcpnode.cpp. References L1394::QArray::insert(), and send(). |
|
This method returns the unit information block.
Definition at line 112 of file l1394_fcpnode.cpp. References L1394::QArray::insert(), and send(). |
|
This method sends an array of Quadlets to this node, using FCP protocol.
Definition at line 75 of file l1394_fcpnode.cpp. |
|
This method sends a Quadlet (4 bytes) to this node using FCP protocol.
Definition at line 65 of file l1394_fcpnode.cpp. Referenced by L1394::AvcCameraRegister::automatic(), getSubunitInfo(), L1394::AvcVcr::getTimeCode(), getUnitInfo(), L1394::AvcCameraRegister::getValue(), L1394::AvcRegister::hasFeature(), L1394::AvcCameraRegister::hasFeature(), L1394::AvcVcr::mediumInfo(), L1394::AvcCameraRegister::onePush(), L1394::AvcRegister::send(), L1394::AvcCameraRegister::setValue(), and L1394::AvcRegister::status(). |