FSMSADF::TileBinding Class Reference
#include <tile.h>
Detailed Description
TileBinding Container for tile bindings.
Constructor & Destructor Documentation
FSMSADF::TileBinding::TileBinding | ( | GraphComponent | c, | |
Tile * | t, | |||
bool | create = true | |||
) |
TileBinding () Constructor.
References createMemoryBinding(), createNetworkInterfaceBinding(), createProcessorBinding(), FSMSADF::Tile::getMemories(), FSMSADF::Tile::getNetworkInterfaces(), and FSMSADF::Tile::getProcessors().
Referenced by clone().
FSMSADF::TileBinding::~TileBinding | ( | ) |
~TileBinding () Destructor.
References memoryBindings, networkInterfaceBindings, and processorBindings.
Member Function Documentation
TileBinding * FSMSADF::TileBinding::clone | ( | GraphComponent | c | ) |
clone() Create a cloned copy of this tile binding.
References FSMSADF::NetworkInterfaceBinding::clone(), FSMSADF::MemoryBinding::clone(), FSMSADF::ProcessorBinding::clone(), FSMSADF::GraphComponent::getId(), getMemoryBindings(), FSMSADF::GraphComponent::getName(), getNetworkInterfaceBindings(), getProcessorBindings(), getTile(), FSMSADF::GraphComponent::GraphComponent(), memoryBindings, networkInterfaceBindings, processorBindings, and TileBinding().
Referenced by FSMSADF::PlatformBinding::clone().
constructFromXML() This function creates the tile binding as specified by the tileNode.
References CGetAttribute(), CGetChildNode(), CHasAttribute(), CIsNode(), CNextNode(), FSMSADF::NetworkInterfaceBinding::constructFromXML(), FSMSADF::MemoryBinding::constructFromXML(), FSMSADF::ProcessorBinding::constructFromXML(), FSMSADF::Tile::getMemory(), getMemoryBinding(), FSMSADF::Tile::getNetworkInterface(), getNetworkInterfaceBinding(), FSMSADF::Tile::getProcessor(), getProcessorBinding(), and getTile().
Referenced by FSMSADF::PlatformBinding::constructFromXML().
void FSMSADF::TileBinding::constructResourceUsageFromXML | ( | const CNodePtr | tileNode | ) |
constructFromXML() This function sets the resource usage of the tile.
References CGetAttribute(), CGetChildNode(), CHasAttribute(), CIsNode(), CNextNode(), FSMSADF::NetworkInterfaceBinding::constructResourceUsageFromXML(), FSMSADF::MemoryBinding::constructResourceUsageFromXML(), FSMSADF::ProcessorBinding::constructResourceUsageFromXML(), FSMSADF::Tile::getMemory(), getMemoryBinding(), FSMSADF::Tile::getNetworkInterface(), getNetworkInterfaceBinding(), FSMSADF::Tile::getProcessor(), getProcessorBinding(), and getTile().
Referenced by FSMSADF::PlatformBinding::constructResourceUsageFromXML().
void FSMSADF::TileBinding::convertResourceUsageToXML | ( | const CNodePtr | tileNode | ) |
convertToXML() This function converts the resource usage of this tile binding to an XML object.
References CAddAttribute(), CAddNode(), FSMSADF::GraphComponent::getName(), memoryBindings, networkInterfaceBindings, and processorBindings.
convertToXML() This function converts the tile binding to an XML object.
References CAddAttribute(), CAddNode(), FSMSADF::GraphComponent::getName(), memoryBindings, networkInterfaceBindings, and processorBindings.
MemoryBinding * FSMSADF::TileBinding::createMemoryBinding | ( | Memory * | m | ) | [private] |
createMemoryBinding() The function creates a memory binding object for memory m and adds it to the list of memory bindings associated with this tile binding.
References FSMSADF::GraphComponent::getId(), FSMSADF::GraphComponent::getName(), FSMSADF::GraphComponent::GraphComponent(), and memoryBindings.
Referenced by TileBinding().
NetworkInterfaceBinding * FSMSADF::TileBinding::createNetworkInterfaceBinding | ( | NetworkInterface * | n | ) | [private] |
createNetworkInterfaceBinding() The function creates a network interface binding object for network interface n and adds it to the list of network interface bindings associated with this tile binding.
References FSMSADF::GraphComponent::getId(), FSMSADF::GraphComponent::getName(), FSMSADF::GraphComponent::GraphComponent(), and networkInterfaceBindings.
Referenced by TileBinding().
ProcessorBinding * FSMSADF::TileBinding::createProcessorBinding | ( | Processor * | p | ) | [private] |
createProcessorBinding() The function creates a processor binding object for processor p and adds it to the list of processor bindings associated with this tile binding.
References FSMSADF::GraphComponent::getId(), FSMSADF::GraphComponent::getName(), FSMSADF::GraphComponent::GraphComponent(), and processorBindings.
Referenced by TileBinding().
MemoryBinding * FSMSADF::TileBinding::getMemoryBinding | ( | const Memory * | m | ) |
getMemoryBinding() The function returns a pointer to the memory binding associated with memory m.
References FSMSADF::GraphComponent::getName(), and memoryBindings.
Referenced by constructFromXML(), and constructResourceUsageFromXML().
MemoryBindings& FSMSADF::TileBinding::getMemoryBindings | ( | ) | [inline] |
NetworkInterfaceBinding * FSMSADF::TileBinding::getNetworkInterfaceBinding | ( | const NetworkInterface * | n | ) |
getNetworkInterfaceBinding() The function returns a pointer to the network interface binding associated with network interface n.
References FSMSADF::GraphComponent::getName(), and networkInterfaceBindings.
Referenced by constructFromXML(), and constructResourceUsageFromXML().
NetworkInterfaceBindings& FSMSADF::TileBinding::getNetworkInterfaceBindings | ( | ) | [inline] |
PlatformBinding* FSMSADF::TileBinding::getPlatformBinding | ( | ) | const [inline] |
References FSMSADF::GraphComponent::getParent().
Referenced by FSMSADF::NetworkInterfaceBinding::getGraphBindingConstraints(), FSMSADF::MemoryBinding::getGraphBindingConstraints(), FSMSADF::NetworkInterfaceBinding::getInBandwidthUsedForGraph(), FSMSADF::MemoryBinding::getMemorySizeUsedForGraph(), FSMSADF::NetworkInterfaceBinding::getNrInConnectionsUsedForGraph(), FSMSADF::NetworkInterfaceBinding::getNrOutConnectionsUsedForGraph(), FSMSADF::NetworkInterfaceBinding::getOutBandwidthUsedForGraph(), and FSMSADF::ProcessorBinding::getWheelsizeUsedForGraph().
ProcessorBinding * FSMSADF::TileBinding::getProcessorBinding | ( | const Processor * | p | ) |
getProcessorBinding() The function returns a pointer to the processor binding associated with processor p.
References FSMSADF::GraphComponent::getName(), and processorBindings.
Referenced by constructFromXML(), and constructResourceUsageFromXML().
ProcessorBindings& FSMSADF::TileBinding::getProcessorBindings | ( | ) | [inline] |
References processorBindings.
Referenced by clone(), FSMSADF::GraphBinding::computeParetoQuantities(), FSMSADF::OutputHTML::convertPlatformBindingToPNG(), FSMSADF::BindingAwareGraph::extractActorMapping(), FSMSADF::GraphBinding::extractApplicationBindingFromPlatformBinding(), FSMSADF::mapApplicationGraphToArchitectureGraph(), FSMSADF::OutputHTML::printPlatformBinding(), and FSMSADF::EarliestDeadLineFirstScheduling::scheduleScenario().
Tile* FSMSADF::TileBinding::getTile | ( | ) | const [inline] |
References tile.
Referenced by clone(), constructFromXML(), constructResourceUsageFromXML(), FSMSADF::OutputHTML::convertPlatformBindingToPNG(), and FSMSADF::OutputHTML::printPlatformBinding().
Member Data Documentation
Referenced by clone(), convertResourceUsageToXML(), convertToXML(), createMemoryBinding(), getMemoryBinding(), getMemoryBindings(), and ~TileBinding().
Tile* FSMSADF::TileBinding::tile [private] |
Referenced by getTile().
The documentation for this class was generated from the following files: