#include <l1394_toponode.h>
Public Member Functions | |
TopoNode (int, TopoNode *) | |
Constructor. | |
~TopoNode () | |
Destructor. | |
void | setChild (int i, TopoNode *node) |
add a child to a port | |
void | setPortStatus (int, unsigned short int) |
TopoNode * | getChild (int i) |
return a pointer to the i'th node | |
unsigned short int | getPortStatus (int i) |
int | getMaxPort () |
int | getPhyId () |
int | getPhySpeed () |
int | getPhyDelay () |
int | getPwrClass () |
int | getGapCount () |
int | getLinkActive () |
void | setNodeInfo (Quadlet *t) |
void | printNode () |
const char * | getPhySpeedSpec (int i) |
Static Public Attributes | |
static const char * | phy_speed_spec [] |
static const char * | phy_delay_spec [] |
static const char * | pwr_class_spec [] |
static const char * | port_value [] |
Friends | |
ostream & | operator<< (ostream &, TopoNode &) |
A TopoNode store also information from the physical layer. This value describe the information like speed, ports, powerclass and so on.
Definition at line 40 of file l1394_toponode.h.
|
Constructor.
Definition at line 51 of file l1394_toponode.cpp. |
|
Destructor.
Definition at line 64 of file l1394_toponode.cpp. |
|
return a pointer to the i'th node
Definition at line 71 of file l1394_toponode.h. Referenced by printNode(). |
|
Definition at line 83 of file l1394_toponode.h. References L1394::Quadlet::getBitRange(). |
|
Definition at line 84 of file l1394_toponode.h. References L1394::Quadlet::getBit(). |
|
Definition at line 78 of file l1394_toponode.h. |
|
Definition at line 81 of file l1394_toponode.h. References L1394::Quadlet::getBitRange(). Referenced by L1394::internal::operator<<(). |
|
Definition at line 79 of file l1394_toponode.h. References L1394::Quadlet::getBitRange(). Referenced by printNode(). |
|
Definition at line 80 of file l1394_toponode.h. References L1394::Quadlet::getBitRange(). Referenced by L1394::internal::operator<<(). |
|
Definition at line 88 of file l1394_toponode.h. References phy_speed_spec. |
|
Definition at line 76 of file l1394_toponode.h. |
|
Definition at line 82 of file l1394_toponode.h. References L1394::Quadlet::getBitRange(). Referenced by L1394::internal::operator<<(). |
|
Definition at line 80 of file l1394_toponode.cpp. References getChild(), getPhyId(), and port_value. Referenced by L1394::internal::BusTopology::print(). |
|
add a child to a port
Definition at line 61 of file l1394_toponode.h. |
|
Definition at line 92 of file l1394_toponode.cpp. |
|
Definition at line 73 of file l1394_toponode.cpp. |
|
Definition at line 97 of file l1394_toponode.cpp. |
|
Initial value: {"<=144ns (~14/Base_Rate)", "<reserved>", "<reserved>","<reserved>"} Definition at line 48 of file l1394_toponode.cpp. Referenced by L1394::internal::operator<<(). |
|
Initial value: {"98.304 Mbit/s", "196.608 Mbit/s", "393.216 Mbit/s", "<reserved>"} Definition at line 31 of file l1394_toponode.cpp. Referenced by getPhySpeedSpec(), and L1394::internal::operator<<(). |
|
Initial value: {" Port not present", "Not active", "Active and connected to parent node", "Active and connected to child node" } Definition at line 25 of file l1394_toponode.cpp. Referenced by printNode(). |
|
Initial value: {"Node does need bus power and does not repeat power.", "Self powered and provides 15W (minimum) to bus.", "Self powered and provides 30W (minimum) to bus.", "Self powered and provides 45W (minimum) to bus.", "Node need 3W from the bus.", "<reserved>", "Node need 3W from the bus. Additional 3W(max) is need to enable link.", "Node need 3W from the bus. Additional 7W(max) is need to enable link."} Definition at line 35 of file l1394_toponode.cpp. Referenced by L1394::internal::operator<<(). |