Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

L1394::PhyNode Class Reference
[L1394_Node]

This class represents a node with physical layer only(like hubs). More...

#include <l1394_phynode.h>

Inheritance diagram for L1394::PhyNode:

L1394::Node List of all members.

Public Member Functions

virtual bool isPhyOnly ()
 This method tests if a node has only a physical layer.
virtual int read (const u_int64_t, Quadlet *)
 disabled read functions
virtual int write (const u_int64_t, const Quadlet &)
 disabled write functions
virtual IsogetIsoObject () const
PhyNode constructor
These functions creates the PhyNode objects.

 PhyNode (const u_int32_t, const Card *parent)
 constructor
 ~PhyNode ()
 destructor

Detailed Description

This class represents a node with physical layer only(like hubs).

FireWire nodes with a physical layer only are normally hubs. The read, write and lock functions are disabled for these nodes because the asynchrone transactions need a transaction layer. The GUID is set to 0 for these nodes.

A PhyNode is deleted after every bus rest and create new if it's still connected to the FireWire bus.(because there is no way to identify such a node)

Author:
Michael Repplinger

Definition at line 39 of file l1394_phynode.h.


Constructor & Destructor Documentation

L1394::PhyNode::PhyNode const   u_int32_t,
const Card parent
 

constructor

Parameters:
node_id : the current node_id by creating this object
parent : pointer to the parent node

Definition at line 20 of file l1394_phynode.cpp.

References L1394::_PhyNode.

L1394::PhyNode::~PhyNode  ) 
 

destructor

Definition at line 27 of file l1394_phynode.cpp.


Member Function Documentation

virtual Iso* L1394::PhyNode::getIsoObject  )  const [inline, virtual]
 

Definition at line 70 of file l1394_phynode.h.

L1394::PhyNode::isPhyOnly  )  [inline, virtual]
 

This method tests if a node has only a physical layer.

Returns:
bool: return true

Definition at line 63 of file l1394_phynode.h.

virtual int L1394::PhyNode::read const   u_int64_t,
Quadlet
[inline, virtual]
 

disabled read functions

Definition at line 66 of file l1394_phynode.h.

References L1394_FAILED.

virtual int L1394::PhyNode::write const   u_int64_t,
const Quadlet
[inline, virtual]
 

disabled write functions

Definition at line 68 of file l1394_phynode.h.

References L1394_FAILED.


The documentation for this class was generated from the following files:
Generated on Wed Aug 24 00:36:44 2005 for L1394 by doxygen 1.4.2
L1394 library (NMM) grahics.cs.uni-sb.de/~repplix/l1394_home/