FSMSADF::NetworkInterface Class Reference

#include <networkinterface.h>

Inheritance diagram for FSMSADF::NetworkInterface:
Collaboration diagram for FSMSADF::NetworkInterface:

List of all members.

Public Member Functions

 NetworkInterface (GraphComponent c)
 ~NetworkInterface ()
NetworkInterfacecreate (GraphComponent c) const
NetworkInterfacecreateCopy (GraphComponent c) const
NetworkInterfaceclone (GraphComponent c) const
void constructFromXML (const CNodePtr networkInterfaceNode)
void convertToXML (const CNodePtr networkInterfaceNode)
ConnectionsgetInConnections ()
ConnectionsgetOutConnections ()
void addConnectionAsInput (Connection *c)
void addConnectionAsOutput (Connection *c)
Size getMaxNrInConnections () const
void setMaxNrInConnections (const Size n)
Size getMaxNrOutConnections () const
void setMaxNrOutConnections (const Size n)
Bandwidth getInBandwidth () const
void setInBandwidth (const Bandwidth b)
Bandwidth getOutBandwidth () const
void setOutBandwidth (const Bandwidth b)
TilegetTile () const

Private Attributes

Connections inConnections
Connections outConnections
Size maxNrInConnections
Size maxNrOutConnections
Bandwidth inBandwidth
Bandwidth outBandwidth

Detailed Description

NetworkInterface Container for tile network interface.


Constructor & Destructor Documentation

NetworkInterface::NetworkInterface ( GraphComponent  c  ) 

NetworkInterface() Constructor.

Referenced by create().

NetworkInterface::~NetworkInterface (  ) 

~NetworkInterface() Destructor.


Member Function Documentation

void FSMSADF::NetworkInterface::addConnectionAsInput ( Connection c  )  [inline]
void FSMSADF::NetworkInterface::addConnectionAsOutput ( Connection c  )  [inline]
NetworkInterface * NetworkInterface::clone ( GraphComponent  c  )  const

clone() The function returns a new NetworkInterface object and copies all properties, but when the parent of the graph component c and this object are different, all pointers are relocated. However, the links to the connections are lost. Those are restored when cloning the connections in the platform graph.

References createCopy().

Here is the call graph for this function:

void NetworkInterface::constructFromXML ( const CNodePtr  networkInterfaceNode  ) 

constructFromXML() Load all properties of this NetworkInterface from the supplied XML node.

References CGetAttribute(), CHasAttribute(), setInBandwidth(), setMaxNrInConnections(), setMaxNrOutConnections(), FSMSADF::GraphComponent::setName(), and setOutBandwidth().

Referenced by FSMSADF::Tile::constructFromXML().

Here is the call graph for this function:

void NetworkInterface::convertToXML ( const CNodePtr  networkInterfaceNode  ) 

convertToXML() Add all properties of this NetworkInterface to the supplied XML node.

References CAddAttribute(), getInBandwidth(), getMaxNrInConnections(), getMaxNrOutConnections(), FSMSADF::GraphComponent::getName(), and getOutBandwidth().

Here is the call graph for this function:

NetworkInterface * NetworkInterface::create ( GraphComponent  c  )  const

create() The function returns a new NetworkInterface object.

References NetworkInterface().

Referenced by createCopy().

Here is the call graph for this function:

NetworkInterface * NetworkInterface::createCopy ( GraphComponent  c  )  const
Connections& FSMSADF::NetworkInterface::getInConnections (  )  [inline]

References inConnections.

Connections& FSMSADF::NetworkInterface::getOutConnections (  )  [inline]

References outConnections.

void FSMSADF::NetworkInterface::setInBandwidth ( const Bandwidth  b  )  [inline]

References inBandwidth.

Referenced by constructFromXML(), and createCopy().

void FSMSADF::NetworkInterface::setMaxNrInConnections ( const Size  n  )  [inline]

References maxNrInConnections.

Referenced by constructFromXML(), and createCopy().

void FSMSADF::NetworkInterface::setMaxNrOutConnections ( const Size  n  )  [inline]

References maxNrOutConnections.

Referenced by constructFromXML(), and createCopy().

void FSMSADF::NetworkInterface::setOutBandwidth ( const Bandwidth  b  )  [inline]

References outBandwidth.

Referenced by constructFromXML(), and createCopy().


Member Data Documentation


The documentation for this class was generated from the following files: