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

dotty.cc File Reference

#include <sys/types.h>
#include "dotty.h"
#include "id.h"
#include "component.h"
#include "connector.h"
#include "networkbase.h"
#include "processbase.h"
#include "portbase.h"
#include "fifobase.h"
#include "dotdefs.h"
#include "check.h"
#include <stdio.h>

Go to the source code of this file.

Functions

void printDotty (ostream &o, NetworkBase *p)
void printNetwork (ostream &o, int level, NetworkBase *p, bool ismain=false)
void printProcess (ostream &o, ProcessBase *p)
void printInPort (ostream &o, int level, InPortBase *p)
void printOutPort (ostream &o, int level, OutPortBase *p)
void printFifo (ostream &o, int level, FifoBase *p)
bool fileCheck (const char *fileName)
void readConfig (const char *filePlace)
void printDotty (const ProcessNetwork &p, ostream &o, ostream &e)

Variables

ostream * g_errorStream = &std::cerr


Function Documentation

bool fileCheck const char *  fileName  ) 
 

Definition at line 371 of file dotty.cc.

Referenced by printDotty().

void printDotty const ProcessNetwork p,
ostream &  o,
ostream &  e
 

Definition at line 41 of file dotty.cc.

References g_errorStream, and printDotty().

void printDotty ostream &  o,
NetworkBase p
 

Definition at line 47 of file dotty.cc.

References DotDefs::center, check(), DotDefs::edgeDecorate, DotDefs::edgeMinLen, DotDefs::edgeWeight, fileCheck(), DotDefs::fontColorClusterTitle, DotDefs::fontNameClusterTitle, DotDefs::fontSizeClusterTitle, IdBase::fullName(), g_errorStream, DotDefs::levelInit, DotDefs::margin, IdBase::name(), DotDefs::nodeHeightProcess, DotDefs::nodeSep, DotDefs::nodeShapeProcess, DotDefs::nodeStyle, DotDefs::nodeWidthProcess, DotDefs::orientation, printNetwork(), DotDefs::rankDir, DotDefs::ratio, readConfig(), DotDefs::size, Component::type(), and uniqueId().

void printFifo ostream &  o,
int  level,
FifoBase p
 

Definition at line 306 of file dotty.cc.

References FifoBase::dstPort(), DotDefs::fontColorFifo, DotDefs::fontNameFifo, DotDefs::fontSizeFifo, IdBase::fullName(), IdBase::name(), DotDefs::nodeColorFifo, DotDefs::nodeFifo, DotDefs::nodeHeightFifo, DotDefs::nodeShapeFifo, DotDefs::nodeWidthFifo, Connector::nrDst(), Connector::nrSrc(), IdBase::parent(), and FifoBase::srcPort().

Referenced by printNetwork().

void printInPort ostream &  o,
int  level,
InPortBase p
 

Definition at line 230 of file dotty.cc.

References DotDefs::fontColorPort, DotDefs::fontNamePort, DotDefs::fontSizePort, IdBase::fullName(), InPortBase::getDstPort(), IdBase::name(), DotDefs::nodeColorPort, DotDefs::nodeHeightPort, DotDefs::nodeShapePort, DotDefs::nodeWidthPort, Connector::nrDst(), and IdBase::parent().

Referenced by printNetwork().

void printNetwork ostream &  o,
int  level,
NetworkBase p,
bool  ismain = false
 

Definition at line 122 of file dotty.cc.

References DotDefs::fontColorClusterTitle, DotDefs::fontColorProcessNetwork, DotDefs::fontNameClusterTitle, DotDefs::fontNameProcessNetwork, DotDefs::fontSizeClusterTitle, DotDefs::fontSizeProcessNetwork, IdBase::fullName(), NetworkBase::getFifo(), Component::getInPort(), NetworkBase::getNetwork(), Component::getOutPort(), NetworkBase::getProcess(), DotDefs::levelInit, IdBase::name(), DotDefs::nodeColorProcessNetwork, DotDefs::nodeHeightProcessNetwork, DotDefs::nodeShapeProcessNetwork, DotDefs::nodeStyle, DotDefs::nodeWidthProcessNetwork, NetworkBase::nrFifos(), Component::nrInPorts(), NetworkBase::nrNetworks(), Component::nrOutPorts(), NetworkBase::nrProcesses(), printFifo(), printInPort(), printOutPort(), printProcess(), and Component::type().

Referenced by printDotty().

void printOutPort ostream &  o,
int  level,
OutPortBase p
 

Definition at line 270 of file dotty.cc.

References DotDefs::fontColorPort, DotDefs::fontNamePort, DotDefs::fontSizePort, IdBase::fullName(), OutPortBase::getSrcPort(), IdBase::name(), DotDefs::nodeColorPort, DotDefs::nodeHeightPort, DotDefs::nodeShapePort, DotDefs::nodeWidthPort, Connector::nrSrc(), and IdBase::parent().

Referenced by printNetwork().

void printProcess ostream &  o,
ProcessBase p
 

Definition at line 216 of file dotty.cc.

References DotDefs::fontColorProcess, DotDefs::fontNameProcess, DotDefs::fontSizeProcess, IdBase::fullName(), IdBase::name(), DotDefs::nodeColorProcess, and Component::type().

Referenced by printNetwork().

void readConfig const char *  filePlace  ) 
 

Definition at line 381 of file dotty.cc.

References g_errorStream, and readDottyConfiguration().

Referenced by printDotty().


Variable Documentation

ostream* g_errorStream = &std::cerr [static]
 

Definition at line 39 of file dotty.cc.

Referenced by printDotty(), and readConfig().


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