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

L1394::internal::BusTopology Class Reference
[Internal]

This class stores the topology map. More...

#include <l1394_bustopology.h>

List of all members.

Public Member Functions

 BusTopology (Node *parent)
 Constructor.
 ~BusTopology ()
 Destructor.
QArrayreadTopoMap ()
 This method reads the topology map and returns a pointer to it.
internal::TopoNodegetRootNode ()
 Creates the topology tree and returns the root node;.
void print ()


Detailed Description

This class stores the topology map.

The topology map represent the actual configuration of the FireWire bus. All Card objects use this class to get information about the topology of the bus after a bus reset.
This class translate the topology map in a topology-tree. To access the topology tree use the method getRootNode().

Author:
Michael Repplinger

Definition at line 41 of file l1394_bustopology.h.


Constructor & Destructor Documentation

L1394::internal::BusTopology::BusTopology Node parent  ) 
 

Constructor.

Parameters:
Node* pointer to parent node.

Definition at line 24 of file l1394_bustopology.cpp.

References L1394::Singleton< T, CreationPolicy, LifetimePolicy, ThreadingModel >::getInstance().

L1394::internal::BusTopology::~BusTopology  ) 
 

Destructor.

Definition at line 34 of file l1394_bustopology.cpp.


Member Function Documentation

L1394::internal::BusTopology::getRootNode  ) 
 

Creates the topology tree and returns the root node;.

Definition at line 40 of file l1394_bustopology.cpp.

References readTopoMap().

void L1394::internal::BusTopology::print  ) 
 

Definition at line 173 of file l1394_bustopology.cpp.

References L1394::internal::Message::debugStream(), and L1394::internal::TopoNode::printNode().

L1394::internal::BusTopology::readTopoMap  ) 
 

This method reads the topology map and returns a pointer to it.

If you call this method the old topology map is deleted and a new one is created.

Returns:
QArray* : pointer to the topomap

Definition at line 48 of file l1394_bustopology.cpp.

References L1394::internal::Message::debugStream(), L1394::Quadlet::getBitRange(), and L1394::QArray::insert().

Referenced by getRootNode().


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