Connection Class Reference

#include <connection.h>

Inheritance diagram for Connection:
Collaboration diagram for Connection:

List of all members.

Public Member Functions

 Connection (ArchComponent &c)
virtual ~Connection ()
TTime getLatency () const
void setLatency (const TTime t)
TilegetSrcTile () const
void setSrcTile (Tile *t)
TilegetDstTile () const
void setDstTile (Tile *t)
bool bindChannel (TimedSDFchannel *c)
bool unbindChannel (TimedSDFchannel *c)
CompBindingsgetChannelBindings ()

Private Attributes

TTime latency
TilesrcTile
TiledstTile
CompBindingschannelBindings

Detailed Description

Connection Container for connection.


Constructor & Destructor Documentation

Connection::Connection ( ArchComponent c  ) 

Connection () Constructor.

References channelBindings, dstTile, and srcTile.

Connection::~Connection (  )  [virtual]

~Connection () Destructor.


Member Function Documentation

bool Connection::bindChannel ( TimedSDFchannel c  ) 

bindChannel () The function binds a channel to the connection. On success, it returns true and adss a binding of the channel to the resource. On failure, it returns false and it does not change the bindings to the channel.

References CompBindings::bind(), and channelBindings.

Referenced by LoadBalanceBinding::allocateConnectionResources(), and setMappingConnection().

Here is the call graph for this function:

void Connection::setDstTile ( Tile t  )  [inline]

References dstTile.

Referenced by constructPlatformGraph().

void Connection::setLatency ( const TTime  t  )  [inline]

References latency.

Referenced by constructPlatformGraph().

void Connection::setSrcTile ( Tile t  )  [inline]

References srcTile.

Referenced by constructPlatformGraph().

bool Connection::unbindChannel ( TimedSDFchannel c  ) 

unbindChannel () The function removes the binding of the channel to the connection.

References channelBindings, and CompBindings::unbind().

Referenced by LoadBalanceBinding::releaseConnectionResources().

Here is the call graph for this function:


Member Data Documentation

Referenced by getLatency(), and setLatency().


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