sdf/tools/sdf3generate/sdf3generate.cc File Reference

#include "sdf3generate.h"
#include "../../sdf.h"
Include dependency graph for sdf/tools/sdf3generate/sdf3generate.cc:

Classes

struct  _Settings

Typedefs

typedef struct _Settings Settings

Functions

void helpMessage (ostream &out)
void parseCommandLine (int argc, char **argv)
void parseSettingsFile (CString module, CString type)
void setDefaults ()
void initSettings (int argc, char **argv)
void generateRandomSDFG (ostream &out)
int main (int argc, char **argv)

Variables

Settings settings

Typedef Documentation

typedef struct _Settings Settings

Settings Struct to store program settings.


Function Documentation

void generateRandomSDFG ( ostream &  out  ) 

generateRandomSDFG () Generate a random SDF graph which is connected, consistent and deadlock-free.

References generateSDFgraph(), generateSDFgraphProperties(), and outputSDFasXML().

Here is the call graph for this function:

void helpMessage ( ostream &  out  ) 

helpMessage () Function prints help message for the tool.

References DOTTED_VERSION, and TOOL.

void initSettings ( int  argc,
char **  argv 
)

initSettings () The function initializes the program settings.

References MODULE, parseCommandLine(), parseSettingsFile(), setDefaults(), and SETTINGS_TYPE.

Here is the call graph for this function:

int main ( int  argc,
char **  argv 
)

main () It does none of the hard work, but it is very needed...

References generateRandomSDFG(), initSettings(), MaxPlusAnalysis::out, and Settings::outputFile.

Here is the call graph for this function:

void parseCommandLine ( int  argc,
char **  argv 
)

parseCommandLine () The function parses the command line arguments and add info to the supplied settings structure.

References helpMessage(), Settings::outputFile, and Settings::settingsFile.

Here is the call graph for this function:

void parseSettingsFile ( CString  module,
CString  type 
)

parseSettingsFile () The function parses all settings from the file.

References CGetAttribute(), CGetChildNode(), CGetRootNode(), CHasAttribute(), CHasChildNode(), CNextNode(), CParseFile(), and Settings::settingsFile.

Here is the call graph for this function:

void setDefaults (  ) 

setDefaults () Set all settings at their default value.

References Settings::settingsFile.


Variable Documentation

settings Program settings.