FSMSADF::TileBinding Class Reference

#include <tile.h>

Inheritance diagram for FSMSADF::TileBinding:
Collaboration diagram for FSMSADF::TileBinding:

List of all members.

Public Member Functions

 TileBinding (GraphComponent c, Tile *t, bool create=true)
 ~TileBinding ()
TileBindingclone (GraphComponent c)
void constructFromXML (Scenario *s, const CNodePtr tileNode)
void constructResourceUsageFromXML (const CNodePtr tileNode)
void convertToXML (Scenario *s, const CNodePtr tileNode)
void convertResourceUsageToXML (const CNodePtr tileNode)
TilegetTile () const
ProcessorBindingsgetProcessorBindings ()
ProcessorBindinggetProcessorBinding (const Processor *p)
MemoryBindingsgetMemoryBindings ()
MemoryBindinggetMemoryBinding (const Memory *m)
NetworkInterfaceBindingsgetNetworkInterfaceBindings ()
NetworkInterfaceBindinggetNetworkInterfaceBinding (const NetworkInterface *n)
PlatformBindinggetPlatformBinding () const

Private Member Functions

ProcessorBindingcreateProcessorBinding (Processor *p)
MemoryBindingcreateMemoryBinding (Memory *m)
NetworkInterfaceBindingcreateNetworkInterfaceBinding (NetworkInterface *n)

Private Attributes

Tiletile
ProcessorBindings processorBindings
MemoryBindings memoryBindings
NetworkInterfaceBindings networkInterfaceBindings

Detailed Description

TileBinding Container for tile bindings.


Constructor & Destructor Documentation

FSMSADF::TileBinding::TileBinding ( GraphComponent  c,
Tile t,
bool  create = true 
)
FSMSADF::TileBinding::~TileBinding (  ) 

~TileBinding () Destructor.

References memoryBindings, networkInterfaceBindings, and processorBindings.


Member Function Documentation

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.

Here is the call graph for this function:

void FSMSADF::TileBinding::convertToXML ( Scenario s,
const CNodePtr  tileNode 
)

convertToXML() This function converts the tile binding to an XML object.

References CAddAttribute(), CAddNode(), FSMSADF::GraphComponent::getName(), memoryBindings, networkInterfaceBindings, and processorBindings.

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:


Member Data Documentation

Referenced by getTile().


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