Connection Class Reference
#include <connection.h>
Public Member Functions | |
Connection (ArchComponent &c) | |
virtual | ~Connection () |
TTime | getLatency () const |
void | setLatency (const TTime t) |
Tile * | getSrcTile () const |
void | setSrcTile (Tile *t) |
Tile * | getDstTile () const |
void | setDstTile (Tile *t) |
bool | bindChannel (TimedSDFchannel *c) |
bool | unbindChannel (TimedSDFchannel *c) |
CompBindings * | getChannelBindings () |
Private Attributes | |
TTime | latency |
Tile * | srcTile |
Tile * | dstTile |
CompBindings * | channelBindings |
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().
CompBindings* Connection::getChannelBindings | ( | ) | [inline] |
Tile* Connection::getDstTile | ( | ) | const [inline] |
References dstTile.
Referenced by SDFconvertToHTML::convertPlatformGraph(), SDFconvertToHTML::convertPlatformMapping(), createConnectionNode(), BindingAwareSDFG::createMappedChannelToConnectionMPFlow(), BindingAwareSDFG::createMappedChannelToConnectionNSoC(), PlatformGraph::getConnection(), PlatformGraph::getConnections(), BindingAwareSDFG::modelBindingInMPFlow(), BindingAwareSDFG::modelBindingInNSoCFlow(), SDFconvertToHTML::outputPlatformGraphAsDot(), and SDFconvertToHTML::outputPlatformMappingAsDot().
TTime Connection::getLatency | ( | ) | const [inline] |
Tile* Connection::getSrcTile | ( | ) | const [inline] |
References srcTile.
Referenced by SDFconvertToHTML::convertPlatformGraph(), SDFconvertToHTML::convertPlatformMapping(), createConnectionNode(), BindingAwareSDFG::createMappedChannelToConnectionMPFlow(), BindingAwareSDFG::modelBindingInMPFlow(), BindingAwareSDFG::modelBindingInNSoCFlow(), SDFconvertToHTML::outputPlatformGraphAsDot(), and SDFconvertToHTML::outputPlatformMappingAsDot().
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().
Member Data Documentation
CompBindings* Connection::channelBindings [private] |
Referenced by bindChannel(), Connection(), and unbindChannel().
Tile* Connection::dstTile [private] |
Referenced by Connection(), getDstTile(), and setDstTile().
TTime Connection::latency [private] |
Referenced by getLatency(), and setLatency().
Tile* Connection::srcTile [private] |
Referenced by Connection(), getSrcTile(), and setSrcTile().
The documentation for this class was generated from the following files: