#include <sourcegenerator.h>
Collaboration diagram for YSourceGenerator:
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 ¶m) |
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 | |
YEnvironment * | environment |
YOutput * | output |
|
|
|
|
|
Yasa supports only limited names of tasks. So there will be cutted here This is only needed using YASA_ID |
|
Copies a file from $EXECUTIVE/files/ to $PROJECTWORKDIR/ |
|
|
|
Creates a script file to start or cleanup the environment |
|
|
|
|
|
|
|
|
|
Create project sources, copy makefiles and make needed scripts (runit, cleanup) |
|
|
|
Writes the top of the source/header such as description of file, author, |
|
|
|
|
|
|
|
workspace, project, executive must be valid ! |
|
|
|
|