FSMSADF::NetworkInterface Class Reference
#include <networkinterface.h>
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] |
References inConnections.
Referenced by FSMSADF::Connection::connectDst().
void FSMSADF::NetworkInterface::addConnectionAsOutput | ( | Connection * | c | ) | [inline] |
References outConnections.
Referenced by FSMSADF::Connection::connectSrc().
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().
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().
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().
NetworkInterface * NetworkInterface::create | ( | GraphComponent | c | ) | const |
create() The function returns a new NetworkInterface object.
References NetworkInterface().
Referenced by createCopy().
NetworkInterface * NetworkInterface::createCopy | ( | GraphComponent | c | ) | const |
createCopy() The function returns a new NetworkInterface object and copies all properties.
References create(), getInBandwidth(), getMaxNrInConnections(), getMaxNrOutConnections(), FSMSADF::GraphComponent::getName(), getOutBandwidth(), setInBandwidth(), setMaxNrInConnections(), setMaxNrOutConnections(), FSMSADF::GraphComponent::setName(), and setOutBandwidth().
Referenced by clone().
Bandwidth FSMSADF::NetworkInterface::getInBandwidth | ( | ) | const [inline] |
Connections& FSMSADF::NetworkInterface::getInConnections | ( | ) | [inline] |
References inConnections.
Size FSMSADF::NetworkInterface::getMaxNrInConnections | ( | ) | const [inline] |
Size FSMSADF::NetworkInterface::getMaxNrOutConnections | ( | ) | const [inline] |
Bandwidth FSMSADF::NetworkInterface::getOutBandwidth | ( | ) | const [inline] |
Connections& FSMSADF::NetworkInterface::getOutConnections | ( | ) | [inline] |
References outConnections.
Tile* FSMSADF::NetworkInterface::getTile | ( | ) | const [inline] |
Referenced by FSMSADF::GraphBinding::bindChannelToConnection(), FSMSADF::OutputHTML::convertPlatformBindingToPNG(), FSMSADF::OutputHTML::convertPlatformGraphToPNG(), FSMSADF::Connection::convertToXML(), FSMSADF::GraphBinding::getNetworkInterfaceBinding(), FSMSADF::OutputHTML::getNetworkInterfaceURL(), and FSMSADF::OutputHTML::printPlatformGraph().
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
Referenced by getInBandwidth(), and setInBandwidth().
Referenced by addConnectionAsInput(), and getInConnections().
Referenced by getMaxNrInConnections(), and setMaxNrInConnections().
Referenced by getMaxNrOutConnections(), and setMaxNrOutConnections().
Referenced by getOutBandwidth(), and setOutBandwidth().
Referenced by addConnectionAsOutput(), and getOutConnections().
The documentation for this class was generated from the following files: