#include <settings.h>

Collaboration diagram for Settings:

List of all members.

Public Member Functions

 Settings (CString module, CString type)
 ~Settings ()
void init (int argc, char **argv)
void init (CStrings args)
void initOutputStream ()

Public Attributes

CString module
CString type
bool helpFlag
CString settingsFile
CString outputFile
ofstream outputStream
bool stepFlag
bool outputAsHTML
SDFflowType flowType
CString tileMappingAlgo
CString nocMappingAlgo
list< CNode * > xmlAppGraphs
CNodexmlArchGraph
CNodexmlSystemUsage
double cnst_a
double cnst_b
double cnst_c
double cnst_d
double cnst_e
double cnst_f
double cnst_g
double cnst_k
double cnst_l
double cnst_m
double cnst_n
double cnst_o
double cnst_p
double cnst_q
uint maxDetour
uint maxNrRipups
uint maxNrTries

Private Member Functions

void parseArguments (CStrings args)
void parseSettingsFile ()
CNodeloadApplicationGraphFromFile (CString &file)
CNodeloadArchitectureGraphFromFile (CString &file)
CNodeloadSystemUsageFromFile (CString &file)

Detailed Description

Settings Object containing all settings for the tool.


Constructor & Destructor Documentation

Settings::Settings ( CString  module,
CString  type 
)
Settings::~Settings (  ) 

~Settings () Destructor.


Member Function Documentation

void Settings::init ( int  argc,
char **  argv 
)

init () Initialize the settings using the supplied arguments. Note that the first argument (argv[0]) is skipped.

Referenced by initSettings().

void Settings::init ( CStrings  args  ) 

init () Initialize the settings using the supplied arguments. The function loads also external files (e.g. settings, graph, etc) when required.

References helpFlag, parseArguments(), and parseSettingsFile().

Here is the call graph for this function:

void Settings::initOutputStream (  ) 

initOutputStream () Initialize the output stream.

References outputFile, and outputStream.

Referenced by initSettings().

CNode * Settings::loadApplicationGraphFromFile ( CString file  )  [private]

loadApplicationGraphFromFile () The function returns a pointer to an XML data structures contained in the supplied file that describes the SDFG.

References CGetAttribute(), CGetChildNode(), CGetRootNode(), CParseFile(), and module.

Referenced by parseSettingsFile().

Here is the call graph for this function:

CNode * Settings::loadArchitectureGraphFromFile ( CString file  )  [private]

loadArchitectureGraphFromFile () The function returns a pointer to an XML data structures contained in the supplied file that describes the platform.

References CGetAttribute(), CGetChildNode(), CGetRootNode(), CParseFile(), and module.

Referenced by parseSettingsFile().

Here is the call graph for this function:

CNode * Settings::loadSystemUsageFromFile ( CString file  )  [private]

loadSystemUsageFromFile () The function returns a pointer to an XML data structures contained in the supplied file that describes the used resources by other applications.

References CGetAttribute(), CGetChildNode(), CGetRootNode(), CParseFile(), and module.

Referenced by parseSettingsFile().

Here is the call graph for this function:

void Settings::parseArguments ( CStrings  args  )  [private]

parseArguments () Parse the supplied arguments.

References helpFlag, outputAsHTML, outputFile, settingsFile, and stepFlag.

Referenced by init().

void Settings::parseSettingsFile (  )  [private]

Member Data Documentation

Referenced by initOutputStream(), and main().


The documentation for this class was generated from the following files: