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

utilbase.cc File Reference

#include <sys/types.h>
#include "utilbase.h"
#include "component.h"
#include "portbase.h"
#include "fifobase.h"
#include "processbase.h"
#include "networkbase.h"
#include <string.h>

Go to the source code of this file.

Functions

FifoBasegetFarFifo (const InPortBase *p)
FifoBasegetFarFifo (const OutPortBase *p)
InPortBasegetFarInPort (const FifoBase *f)
OutPortBasegetFarOutPort (const FifoBase *f)
void getFarInPorts (const FifoBase *f, InPortBases &ports)
void getFarInPorts (const InPortBase *p, InPortBases &ports)
void getFarOutPorts (const FifoBase *f, OutPortBases &ports)
void getFarOutPorts (const OutPortBase *p, OutPortBases &ports)
InPortBasegetFarInPort (const InPortBase *p)
OutPortBasegetFarOutPort (const OutPortBase *p)
InPortBasefindInPort (const Component *c, const char *name)
OutPortBasefindOutPort (const Component *c, const char *name)
FifoBasefindFifo (const NetworkBase *n, const char *name)
ProcessBasefindProcess (const NetworkBase *n, const char *name)
NetworkBasefindNetwork (const NetworkBase *n, const char *name)
FifoBaserecFindFifo (const NetworkBase *n, const char *name)
FifoBaserecFindInPort (const NetworkBase *n, const char *name)
FifoBaserecFindOutPort (const NetworkBase *n, const char *name)
ProcessBaserecFindProcess (const NetworkBase *n, const char *name)
NetworkBaserecFindNetwork (const NetworkBase *n, const char *name)


Function Documentation

FifoBase* findFifo const NetworkBase n,
const char *  name
 

Definition at line 130 of file utilbase.cc.

References NetworkBase::getFifo(), IdBase::name(), and NetworkBase::nrFifos().

InPortBase* findInPort const Component c,
const char *  name
 

Definition at line 106 of file utilbase.cc.

References Component::getInPort(), IdBase::name(), and Component::nrInPorts().

NetworkBase* findNetwork const NetworkBase n,
const char *  name
 

Definition at line 152 of file utilbase.cc.

References NetworkBase::getNetwork(), IdBase::name(), and NetworkBase::nrNetworks().

OutPortBase* findOutPort const Component c,
const char *  name
 

Definition at line 117 of file utilbase.cc.

References Component::getOutPort(), IdBase::name(), and Component::nrOutPorts().

ProcessBase* findProcess const NetworkBase n,
const char *  name
 

Definition at line 141 of file utilbase.cc.

References NetworkBase::getProcess(), IdBase::name(), and NetworkBase::nrProcesses().

FifoBase* getFarFifo const OutPortBase p  ) 
 

Definition at line 30 of file utilbase.cc.

References Connector::getDst(), and OutPortBase::getDstFifo().

Referenced by getFarFifo(), and cosySelect::pushBack().

FifoBase* getFarFifo const InPortBase p  ) 
 

Definition at line 21 of file utilbase.cc.

InPortBase* getFarInPort const InPortBase p  ) 
 

InPortBase* getFarInPort const FifoBase f  ) 
 

Definition at line 40 of file utilbase.cc.

void getFarInPorts const InPortBase p,
InPortBases ports
 

Definition at line 68 of file utilbase.cc.

References InPortBase::getDstPort(), and Connector::nrDst().

Referenced by cosyNetwork::cosyNetwork(), and getFarInPorts().

void getFarInPorts const FifoBase f,
InPortBases ports
 

Definition at line 56 of file utilbase.cc.

OutPortBase* getFarOutPort const OutPortBase p  ) 
 

OutPortBase* getFarOutPort const FifoBase f  ) 
 

Definition at line 48 of file utilbase.cc.

void getFarOutPorts const OutPortBase p,
OutPortBases ports
 

Definition at line 90 of file utilbase.cc.

References OutPortBase::getSrcPort(), and Connector::nrSrc().

Referenced by cosyNetwork::cosyNetwork(), and getFarOutPorts().

void getFarOutPorts const FifoBase f,
OutPortBases ports
 

Definition at line 80 of file utilbase.cc.

FifoBase* recFindFifo const NetworkBase n,
const char *  name
 

FifoBase* recFindInPort const NetworkBase n,
const char *  name
 

NetworkBase* recFindNetwork const NetworkBase n,
const char *  name
 

FifoBase* recFindOutPort const NetworkBase n,
const char *  name
 

ProcessBase* recFindProcess const NetworkBase n,
const char *  name
 


Generated on Wed Feb 15 14:52:40 2006 for yapi by doxygen 1.3.2