cosi::library::onchipcommunication::_Link Class Reference

#include <_Link.h>

Inheritance diagram for cosi::library::onchipcommunication::_Link:

cosi::library::onchipcommunication::InstantiableLink cosi::library::onchipcommunication::Link cosi::library::onchipcommunication::PointToPointBus

List of all members.

Public Member Functions

 _Link ()
virtual ~_Link ()
void SetSource (Name pS)
 Sets the name of the source node.
Name GetSource ()
 Returns the name of the library element that can be the source of this link.
void SetDestination (Name pS)
 Sets the name of the destination node.
Name GetDestination ()
 Returns the name of the library elements that can be the destination of this link.
void SetSourceInterface (cosi::quantity::onchipcommunication::Interface pIf)
 Sets the type of the interface that can be the source interface of this link.
cosi::quantity::onchipcommunication::Interface GetSourceInterface ()
 Returns that source interface of this link.
void SetDestinationInterface (cosi::quantity::onchipcommunication::Interface pIf)
 Sets the type of the interface that can be the destination interface of this link.
cosi::quantity::onchipcommunication::Interface GetDestinationInterface ()
 Returns the destination interface of this node.
bool Directed ()
void Directed (bool pD)

Private Attributes

bool mDirected
 This field is true if the link is directed.
Name mSource
 The name of the source node of this link.
Name mDest
 The name of the destination node of this link.
cosi::quantity::onchipcommunication::Interface mSourceInterface
 The type of the source interface of this link.
cosi::quantity::onchipcommunication::Interface mDestInterface
 The type of the destination interface of this link.


Constructor & Destructor Documentation

cosi::library::onchipcommunication::_Link::_Link (  ) 

cosi::library::onchipcommunication::_Link::~_Link (  )  [virtual]


Member Function Documentation

void cosi::library::onchipcommunication::_Link::SetSource ( Name  pS  ) 

Sets the name of the source node.

This is the name of the library element that can be a source for this link.

Name cosi::library::onchipcommunication::_Link::GetSource (  ) 

Returns the name of the library element that can be the source of this link.

void cosi::library::onchipcommunication::_Link::SetDestination ( Name  pS  ) 

Sets the name of the destination node.

This is the name of the library element that can be a destination for this link.

Name cosi::library::onchipcommunication::_Link::GetDestination (  ) 

Returns the name of the library elements that can be the destination of this link.

void cosi::library::onchipcommunication::_Link::SetSourceInterface ( cosi::quantity::onchipcommunication::Interface  pIf  ) 

Sets the type of the interface that can be the source interface of this link.

The source node can have many interfaces. A link connectes one source interface to one destination interface.

cosi::quantity::onchipcommunication::Interface cosi::library::onchipcommunication::_Link::GetSourceInterface (  ) 

Returns that source interface of this link.

void cosi::library::onchipcommunication::_Link::SetDestinationInterface ( cosi::quantity::onchipcommunication::Interface  pIf  ) 

Sets the type of the interface that can be the destination interface of this link.

The destination node can have many interfaces. A link connectes one source interface to one destination interface.

cosi::quantity::onchipcommunication::Interface cosi::library::onchipcommunication::_Link::GetDestinationInterface (  ) 

Returns the destination interface of this node.

bool cosi::library::onchipcommunication::_Link::Directed (  ) 

void cosi::library::onchipcommunication::_Link::Directed ( bool  pD  ) 


Member Data Documentation

This field is true if the link is directed.

The name of the source node of this link.

The name of the destination node of this link.


The documentation for this class was generated from the following files:
  • libraries/onchipcommunication/common/_Link.h
  • libraries/onchipcommunication/common/_Link.cpp

Generated on Sun Sep 7 18:37:47 2008 for COSI by  doxygen 1.5.4
Contact 
©2002-2018 U.C. Regents