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

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

This class stores the BusInfo block of the control and status register(CSR) defined in IEEE 1212. More...

#include <l1394_businfo.h>

List of all members.

Public Member Functions

 BusInfo (QArray *)
 Constructor.
 ~BusInfo ()
 Destructor.
Quadlet getNodeInfo () const
 return the complete node information Quadlet
int getIrmc () const
 return 1 if node is Iso Resource Manager Capable, else 0
int getCmc () const
 return 1 if node is Cycle Master Capable, else 0
int getIsc () const
 return 1 if node Iso Capable, else 0
int getBmc () const
 return 1 if node is Bus Master Capable, else 0
int getCykClk () const
 return the Cycle Clock
int getMaxRec () const
 return maximum record
int getChipIdLow () const
 return the ChipIdLow (last 32 Bit of GUID)
int getChipIdHi () const
 return the chipIdHi (the last 8Bit from the first 32 Bit part of GUID)
int getNodeVendorId () const
 return the node vendor id (the first 24 Bit of GUID)
const char * getBusName () const
 return the bus name (should be "1394")

Friends

ostream & operator<< (ostream &o, const BusInfo &)


Detailed Description

This class stores the BusInfo block of the control and status register(CSR) defined in IEEE 1212.

Every Node has a BusInfo object that stores its capabilities. For more information see IEEE 1212 specification.

Author:
Michael Repplinger

Definition at line 36 of file l1394_businfo.h.


Constructor & Destructor Documentation

L1394::internal::BusInfo::BusInfo QArray info_block  ) 
 

Constructor.

Parameters:
QArray* pointer to the bus information block

Definition at line 22 of file l1394_businfo.cpp.

References L1394::QArray::getQuadlet().

L1394::internal::BusInfo::~BusInfo  ) 
 

Destructor.

Definition at line 33 of file l1394_businfo.cpp.


Member Function Documentation

L1394::internal::BusInfo::getBmc  )  const [inline]
 

return 1 if node is Bus Master Capable, else 0

Definition at line 75 of file l1394_businfo.h.

References L1394::Quadlet::getBit().

L1394::internal::BusInfo::getBusName  )  const [inline]
 

return the bus name (should be "1394")

Definition at line 107 of file l1394_businfo.h.

L1394::internal::BusInfo::getChipIdHi  )  const [inline]
 

return the chipIdHi (the last 8Bit from the first 32 Bit part of GUID)

Definition at line 97 of file l1394_businfo.h.

References L1394::Quadlet::getBitRange().

L1394::internal::BusInfo::getChipIdLow  )  const [inline]
 

return the ChipIdLow (last 32 Bit of GUID)

Definition at line 92 of file l1394_businfo.h.

References L1394::Quadlet::toInt().

L1394::internal::BusInfo::getCmc  )  const [inline]
 

return 1 if node is Cycle Master Capable, else 0

Definition at line 65 of file l1394_businfo.h.

References L1394::Quadlet::getBit().

Referenced by L1394::internal::operator<<().

L1394::internal::BusInfo::getCykClk  )  const [inline]
 

return the Cycle Clock

Definition at line 82 of file l1394_businfo.h.

References L1394::Quadlet::getBitRange().

L1394::internal::BusInfo::getIrmc  )  const [inline]
 

return 1 if node is Iso Resource Manager Capable, else 0

Definition at line 60 of file l1394_businfo.h.

References L1394::Quadlet::getBit().

Referenced by L1394::internal::operator<<().

L1394::internal::BusInfo::getIsc  )  const [inline]
 

return 1 if node Iso Capable, else 0

Definition at line 70 of file l1394_businfo.h.

References L1394::Quadlet::getBit().

Referenced by L1394::internal::operator<<().

L1394::internal::BusInfo::getMaxRec  )  const [inline]
 

return maximum record

Definition at line 87 of file l1394_businfo.h.

References L1394::Quadlet::getBitRange().

L1394::internal::BusInfo::getNodeInfo  )  const [inline]
 

return the complete node information Quadlet

Definition at line 55 of file l1394_businfo.h.

L1394::internal::BusInfo::getNodeVendorId  )  const [inline]
 

return the node vendor id (the first 24 Bit of GUID)

Definition at line 102 of file l1394_businfo.h.

References L1394::Quadlet::getBitRange().


Friends And Related Function Documentation

ostream& operator<< ostream &  o,
const BusInfo bi
[friend]
 

Definition at line 41 of file l1394_businfo.cpp.


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/