FSMSADF::PlatformBinding Class Reference

#include <graph.h>

Inheritance diagram for FSMSADF::PlatformBinding:
Collaboration diagram for FSMSADF::PlatformBinding:

List of all members.

Public Member Functions

 PlatformBinding (GraphComponent c, PlatformGraph *pg, Graph *ag, bool create=true)
 ~PlatformBinding ()
PlatformBindingclone (GraphComponent c)
void constructFromXML (const CNodePtr mappingNode)
void convertToXML (const CNodePtr mappingNode)
bool isInitialBinding () const
GraphgetApplicationGraph () const
PlatformGraphgetPlatformGraph () const
TileBindingsgetTileBindings ()
TileBindinggetTileBinding (const Tile *t)
ConnectionBindingsgetConnectionBindings ()
ConnectionBindinggetConnectionBinding (const Connection *c)
GraphBindingConstraintsgetGraphBindingConstraints ()
void setGraphBindingConstraints (GraphBindingConstraints *c)

Private Member Functions

TileBindingcreateTileBinding (Tile *t)
ConnectionBindingcreateConnectionBinding (Connection *c)
void constructResourceUsageFromXML (const CNodePtr resourceUsageNode)
void convertResourceUsageToXML (const CNodePtr resourceUsageNode)

Private Attributes

GraphapplicationGraph
PlatformGraphplatformGraph
TileBindings tileBindings
ConnectionBindings connectionBindings
GraphBindingConstraintsgraphBindingConstraints

Detailed Description

PlatformBinding Container for platform binding.


Constructor & Destructor Documentation

FSMSADF::PlatformBinding::PlatformBinding ( GraphComponent  c,
PlatformGraph pg,
Graph ag,
bool  create = true 
)
FSMSADF::PlatformBinding::~PlatformBinding (  ) 

~PlatformBinding () Destructor.

References connectionBindings, graphBindingConstraints, and tileBindings.


Member Function Documentation

void FSMSADF::PlatformBinding::constructResourceUsageFromXML ( const CNodePtr  resourceUsageNode  )  [private]
void FSMSADF::PlatformBinding::convertResourceUsageToXML ( const CNodePtr  resourceUsageNode  )  [private]

convertResourceUsageToXML() This function converts the resource usage of this platform binding to an XML object.

References CAddNode(), connectionBindings, and tileBindings.

Referenced by convertToXML().

Here is the call graph for this function:

ConnectionBinding * FSMSADF::PlatformBinding::createConnectionBinding ( Connection c  )  [private]

createConnectionBinding() The function creates a connection binding object for tile t and adds it to the list of connection bindings associated with this platform binding.

References connectionBindings, FSMSADF::GraphComponent::getId(), FSMSADF::GraphComponent::getName(), and FSMSADF::GraphComponent::GraphComponent().

Referenced by PlatformBinding().

Here is the call graph for this function:

TileBinding * FSMSADF::PlatformBinding::createTileBinding ( Tile t  )  [private]

createTileBinding() The function creates a tile binding object for tile t and adds it to the list of tile bindings associated with this platform binding.

References FSMSADF::GraphComponent::getId(), FSMSADF::GraphComponent::getName(), FSMSADF::GraphComponent::GraphComponent(), and tileBindings.

Referenced by PlatformBinding().

Here is the call graph for this function:

ConnectionBinding * FSMSADF::PlatformBinding::getConnectionBinding ( const Connection c  ) 

getConnectionBinding() The function returns a pointer to the connection binding object of connection c.

References connectionBindings, and FSMSADF::GraphComponent::getName().

Referenced by constructFromXML(), constructResourceUsageFromXML(), and FSMSADF::GraphBinding::getConnectionBinding().

Here is the call graph for this function:

TileBinding * FSMSADF::PlatformBinding::getTileBinding ( const Tile t  ) 
bool FSMSADF::PlatformBinding::isInitialBinding (  )  const

isInitialBinding() The function returns true if this platform binding is the initial binding. The name of a default binding has the value "initial".

References FSMSADF::GraphComponent::getName().

Referenced by FSMSADF::MemoryDimAlgo::estimateStorageDist(), and FSMSADF::MemoryDimAlgo::getInitialPlatformBinding().

Here is the call graph for this function:

void FSMSADF::PlatformBinding::setGraphBindingConstraints ( GraphBindingConstraints c  )  [inline]

References graphBindingConstraints.

Referenced by clone(), and PlatformBinding().


Member Data Documentation


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