Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members

Connector Class Reference

#include <connector.h>

Inheritance diagram for Connector:

IdBase FifoBase PortBase FifoImpl InPortBase OutPortBase FifoImplT< T > InPortImpl OutPortImpl Fifo< T > InPortImplT< T > OutPortImplT< T > InPort< T > OutPort< T > List of all members.

Public Member Functions

 Connector (const IdBase &n)
unsigned int nrSrc () const
unsigned int nrDst () const
ConnectorgetSrc (unsigned int i=0) const
ConnectorgetDst (unsigned int i=0) const
virtual bool isFifo () const

Private Types

typedef std::vector< Connector * > Connectors
typedef Connectors::iterator Iterator

Private Attributes

Connectors s
Connectors d

Friends

void link (Connector &s, Connector &d)

Member Typedef Documentation

typedef std::vector<Connector*> Connector::Connectors [private]
 

Definition at line 34 of file connector.h.

typedef Connectors::iterator Connector::Iterator [private]
 

Definition at line 35 of file connector.h.


Constructor & Destructor Documentation

Connector::Connector const IdBase n  ) 
 

Definition at line 16 of file connector.cc.


Member Function Documentation

Connector * Connector::getDst unsigned int  i = 0  )  const
 

Definition at line 35 of file connector.cc.

References d.

Referenced by FifoBase::dstPort(), OutPortBase::getDstFifo(), OutPortBase::getDstPort(), InPortBase::getDstPort(), and getFarFifo().

Connector * Connector::getSrc unsigned int  i = 0  )  const
 

Definition at line 29 of file connector.cc.

References s.

Referenced by getFarFifo(), InPortBase::getSrcFifo(), OutPortBase::getSrcPort(), InPortBase::getSrcPort(), and FifoBase::srcPort().

virtual bool Connector::isFifo  )  const [inline, virtual]
 

Reimplemented in FifoBase.

Definition at line 29 of file connector.h.

Referenced by OutPortBase::getDstFifo(), OutPortBase::getDstPort(), InPortBase::getSrcFifo(), and InPortBase::getSrcPort().

unsigned int Connector::nrDst  )  const
 

Definition at line 24 of file connector.cc.

References d.

Referenced by check(), getFarInPort(), getFarInPorts(), printFifo(), and printInPort().

unsigned int Connector::nrSrc  )  const
 

Definition at line 19 of file connector.cc.

References s.

Referenced by check(), getFarOutPort(), getFarOutPorts(), OutPortBase::getSrcPort(), printFifo(), and printOutPort().


Friends And Related Function Documentation

void link Connector s,
Connector d
[friend]
 

Definition at line 41 of file connector.cc.

Referenced by InPortBase::InPortBase(), and OutPortBase::OutPortBase().


Member Data Documentation

Connectors Connector::d [private]
 

Definition at line 38 of file connector.h.

Referenced by getDst(), link(), and nrDst().

Connectors Connector::s [private]
 

Definition at line 37 of file connector.h.

Referenced by getSrc(), link(), and nrSrc().


The documentation for this class was generated from the following files:
Generated on Wed Feb 15 14:52:40 2006 for yapi by doxygen 1.3.2