FSMSADF::Tile Class Reference

#include <tile.h>

Inheritance diagram for FSMSADF::Tile:
Collaboration diagram for FSMSADF::Tile:

List of all members.

Public Member Functions

 Tile (GraphComponent c)
virtual ~Tile ()
Tilecreate (GraphComponent c) const
TilecreateCopy (GraphComponent c) const
Tileclone (GraphComponent c) const
void constructFromXML (const CNodePtr tileNode)
void convertToXML (const CNodePtr tileNode)
ProcessorsgetProcessors ()
ProcessorgetProcessor (const CString &name) const
ProcessorcreateProcessor (const CString &name)
void addProcessor (Processor *p)
void removeProcessor (Processor *p)
MemoriesgetMemories ()
MemorygetMemory (const CString &name) const
MemorycreateMemory (const CString &name)
void addMemory (Memory *m)
void removeMemory (Memory *m)
NetworkInterfacesgetNetworkInterfaces ()
NetworkInterfacegetNetworkInterface (const CString &name) const
NetworkInterfacecreateNetworkInterface (const CString &name)
void addNetworkInterface (NetworkInterface *n)
void removeNetworkInterface (NetworkInterface *n)

Private Attributes

Processors processors
Memories memories
NetworkInterfaces networkInterfaces

Detailed Description

Tile Container for tile.


Constructor & Destructor Documentation

Tile::Tile ( GraphComponent  c  ) 

Tile () Constructor.

Referenced by create().

Tile::~Tile (  )  [virtual]

~Tile () Destructor.

References memories, networkInterfaces, and processors.


Member Function Documentation

void Tile::addMemory ( Memory m  ) 

addMemory() The function adds memory m to the tile.

References memories.

Referenced by clone(), createCopy(), and createMemory().

void Tile::addNetworkInterface ( NetworkInterface n  ) 

addNetworkInterface() The function adds the network interface n to the tile.

References networkInterfaces.

Referenced by clone(), createCopy(), and createNetworkInterface().

void Tile::addProcessor ( Processor p  ) 

addProcessor() The function adds processor p to this tile.

References processors.

Referenced by clone(), createCopy(), and createProcessor().

Tile * Tile::clone ( GraphComponent  c  )  const

clone() The function creates a clone of this tile.

References addMemory(), addNetworkInterface(), addProcessor(), create(), FSMSADF::GraphComponent::getId(), FSMSADF::GraphComponent::getName(), memories, networkInterfaces, and processors.

Here is the call graph for this function:

void Tile::constructFromXML ( const CNodePtr  tileNode  ) 
void Tile::convertToXML ( const CNodePtr  tileNode  ) 

convertToXML() The function adds the elements of this tile to the supplied tile node.

References CAddAttribute(), CAddNode(), FSMSADF::GraphComponent::getName(), memories, networkInterfaces, and processors.

Here is the call graph for this function:

Tile * Tile::create ( GraphComponent  c  )  const

create() The function creates a new tile object

References Tile().

Referenced by clone(), and createCopy().

Here is the call graph for this function:

Tile * Tile::createCopy ( GraphComponent  c  )  const

createCopy() The function creates a copy of this tile.

References addMemory(), addNetworkInterface(), addProcessor(), create(), FSMSADF::GraphComponent::getId(), FSMSADF::GraphComponent::getName(), memories, networkInterfaces, and processors.

Here is the call graph for this function:

Memory * Tile::createMemory ( const CString name  ) 

createMemory() The function creates a new memory and adds it to the tile.

References addMemory(), FSMSADF::GraphComponent::GraphComponent(), and memories.

Referenced by constructFromXML().

Here is the call graph for this function:

NetworkInterface * Tile::createNetworkInterface ( const CString name  ) 

createNetworkInterface() The function creates a new network interface and adds it to this tile.

References addNetworkInterface(), FSMSADF::GraphComponent::GraphComponent(), and networkInterfaces.

Referenced by constructFromXML().

Here is the call graph for this function:

Processor * Tile::createProcessor ( const CString name  ) 

createProcessor() The function creates a new processor and adds it to this tile.

References addProcessor(), FSMSADF::GraphComponent::GraphComponent(), and processors.

Referenced by constructFromXML().

Here is the call graph for this function:

Memory * Tile::getMemory ( const CString name  )  const

getMemory() The function returns a pointer to a memory with the supplied name. When no such memory exists, an exception is thrown.

References memories.

Referenced by FSMSADF::TileBinding::constructFromXML(), and FSMSADF::TileBinding::constructResourceUsageFromXML().

NetworkInterface * Tile::getNetworkInterface ( const CString name  )  const

getNetworkInterface() The function returns a pointer to a network interface with the supplied name. When no such network interface exists, an exception is thrown.

References networkInterfaces.

Referenced by FSMSADF::Connection::clone(), FSMSADF::TileBinding::constructFromXML(), FSMSADF::Connection::constructFromXML(), and FSMSADF::TileBinding::constructResourceUsageFromXML().

Processor * Tile::getProcessor ( const CString name  )  const

getProcessor() The function returns a pointer to a processor with the supplied name. When no such processor exists, an exception is thrown.

References processors.

Referenced by FSMSADF::TileBinding::constructFromXML(), and FSMSADF::TileBinding::constructResourceUsageFromXML().

void Tile::removeMemory ( Memory m  ) 

removeMemory() The function removes memory m from the tile.

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

Here is the call graph for this function:

void Tile::removeNetworkInterface ( NetworkInterface n  ) 

removeNetworkInterface() The function removes the network interface n from the tile.

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

Here is the call graph for this function:

void Tile::removeProcessor ( Processor p  ) 

removeProcessor() The function removes the processor p from the tile.

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

Here is the call graph for this function:


Member Data Documentation


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