Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Examples  

YSourceGenerator Class Reference

#include <sourcegenerator.h>

Collaboration diagram for YSourceGenerator:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 YSourceGenerator (YEnvironment *e, YOutput *o)
int PrepareWorkProject ()
int WriteHeader (YSourceFile &file, const QString &description)
int WriteProjectConfig (YSourceFile &file)
int WriteExecutive (YSourceFile &file)
int WriteSchedulers (YSourceFile &file)
int WriteTaskSetHeader (YSourceFile &file)
int WriteTaskSetSource (YSourceFile &file)
int CreateProjectSources ()
void GetMutexProtocolInfo (int protocol, QString &name, QString &comment)
void GetResourceActionInfo (int action, QString &param)
QString & ConvertToValidLabelName (QString &name)
QString ConvertToValidYasaName (const QString &name)
QString GetTaskTypeInfo (YTask *task)
QString GetDeadlineBehaviour (YTask *task)
int CreateScriptFile (const QString &projectdir, const QString &workdir, const QString &command, const QString &filename)
int CopyProjectFile (const QString &filename)

Private Attributes

YEnvironmentenvironment
YOutputoutput

Constructor & Destructor Documentation

YSourceGenerator::YSourceGenerator YEnvironment   e,
YOutput   o
[inline]
 


Member Function Documentation

QString & YSourceGenerator::ConvertToValidLabelName QString &    name
 

QString YSourceGenerator::ConvertToValidYasaName const QString &    name
 

Yasa supports only limited names of tasks. So there will be cutted here This is only needed using YASA_ID

int YSourceGenerator::CopyProjectFile const QString &    filename
 

Copies a file from $EXECUTIVE/files/ to $PROJECTWORKDIR/

int YSourceGenerator::CreateProjectSources  
 

int YSourceGenerator::CreateScriptFile const QString &    projectdir,
const QString &    workdir,
const QString &    command,
const QString &    filename
 

Creates a script file to start or cleanup the environment

QString YSourceGenerator::GetDeadlineBehaviour YTask   task
 

void YSourceGenerator::GetMutexProtocolInfo int    protocol,
QString &    name,
QString &    comment
 

void YSourceGenerator::GetResourceActionInfo int    action,
QString &    param
 

QString YSourceGenerator::GetTaskTypeInfo YTask   task
 

int YSourceGenerator::PrepareWorkProject  
 

Create project sources, copy makefiles and make needed scripts (runit, cleanup)

int YSourceGenerator::WriteExecutive YSourceFile   file
 

int YSourceGenerator::WriteHeader YSourceFile   file,
const QString &    description
 

Writes the top of the source/header such as description of file, author,

int YSourceGenerator::WriteProjectConfig YSourceFile   file
 

int YSourceGenerator::WriteSchedulers YSourceFile   file
 

int YSourceGenerator::WriteTaskSetHeader YSourceFile   file
 

int YSourceGenerator::WriteTaskSetSource YSourceFile   file
 

workspace, project, executive must be valid !


Member Data Documentation

YEnvironment* YSourceGenerator::environment [private]
 

YOutput* YSourceGenerator::output [private]
 


The documentation for this class was generated from the following files:
Generated on Fri Feb 14 00:02:54 2003 for Yasa by doxygen1.3-rc3