NetworkInterface Class Reference

#include <networkinterface.h>

Inheritance diagram for NetworkInterface:
Collaboration diagram for NetworkInterface:

List of all members.

Public Types

enum  { nrConn = 0, inBw, outBw }

Public Member Functions

 NetworkInterface (ArchComponent &c)
virtual ~NetworkInterface ()
CSize getNrConnections () const
double getInBandwidth () const
double getOutBandwidth () const
void setConnections (const CSize nrConnections, const double inBandwidth, const double outBandwidth)
bool reserveConnection (TimedSDFchannel *c, const CSize nrConnections, const double inBandwidth, const double outBandwidth)
bool releaseConnection (TimedSDFchannel *c)
CSize availableNrConnections () const
double availableInBandwidth () const
double availableOutBandwidth () const
CompBindingsgetBindings () const

Private Attributes

CompBindingsconnections

Detailed Description

NetworkInterface Container for tile network interface.


Member Enumeration Documentation

anonymous enum
Enumerator:
nrConn 
inBw 
outBw 

Constructor & Destructor Documentation

NetworkInterface::NetworkInterface ( ArchComponent c  )  [inline]

References connections.

virtual NetworkInterface::~NetworkInterface (  )  [inline, virtual]

References connections.


Member Function Documentation

CSize NetworkInterface::availableNrConnections (  )  const
CompBindings* NetworkInterface::getBindings (  )  const [inline]
double NetworkInterface::getInBandwidth (  )  const
CSize NetworkInterface::getNrConnections (  )  const
double NetworkInterface::getOutBandwidth (  )  const
bool NetworkInterface::releaseConnection ( TimedSDFchannel c  ) 
bool NetworkInterface::reserveConnection ( TimedSDFchannel c,
const CSize  nrConnections,
const double  inBandwidth,
const double  outBandwidth 
)
void NetworkInterface::setConnections ( const CSize  nrConnections,
const double  inBandwidth,
const double  outBandwidth 
)

References connections.

Referenced by constructPlatformGraph().


Member Data Documentation


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