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

YEnvironment Class Reference

#include <environment.h>

Inheritance diagram for YEnvironment:

Inheritance graph
[legend]
Collaboration diagram for YEnvironment:

Collaboration graph
[legend]
List of all members.

Signals

void EnvironmentExecuted ()
 This signal is emitted after executing the environment.

void EnvironmentCleanedUp ()

Public Member Functions

 YEnvironment (const YObjectArgs &i)
YResultsGetResults ()
YExecutivePlugInGetExecutive () const
YExecutivePlugInSetExecutive (const QString &name)
void SetExecutive (YExecutivePlugIn *e)
const YASA_CPUGetMaxCPU ()
YSchedulerSetGetSchedulerSet ()
virtual int SetConfig (YInputParser &parser)
virtual int GetConfig (YOutputParser &parser)
int InsertSchedulerProperty (QString &key)
const YASA_TIMERTICKGetSupportTimerTick () const
const YASA_CALCPREEMPTIONTIMEGetCalcPreemptionTime () const
const YASA_TICKGetTimerTick () const
const YASA_SCHEDULINGTIMEGetSchedulingTime () const
void SetSchedulingTime (const YASA_TIME &t)
const YASA_SYNCHRONIZATIONOFFSETGetSynchronizationOffset () const
void SetSynchronizationOffset (const YASA_TIME &t)
YProjectGetProject () const
const YStringGetGCCCompilerOptions () const
void SetGCCCompilerOptions (const QString &s)
QString GetEnvironmentDirectory (bool abspath=false) const
YEnvironmentLogFileSetGetEnvironmentLogFileSet ()
const QString & GetLogFileName () const
YFilePathGetLogFilePath ()
int ExecuteEnvironment ()
void CleanupEnvironment (QString absexecutivedir=QString::null)
void CorrectLogfilePath ()
int EvaluateLogFile ()
 Evaluate the logfile of the current environment.

void CleanupLogFile ()
 This function clears the internal list of the parsed logfile.


Private Attributes

Q_OBJECT YOutputoutput
 Ptr to output plugins.

YSchedulerSet schedulerset
 list of schedulers used in this environment

YExecutivePlugInexecutive
 ptr to selected executive

YEnvironmentLogFileSet logfile
 ptr to logfile set of this environment

YResults results
 This is the result class.

YASA_CALCPREEMPTIONTIME calcpreemptiontime
 default settings for property calcpreemption time (bool)

YASA_TIMERTICK support_timertick
 This environment supports tick timers.

YASA_TICK timertick
 tick value in this environment

YASA_MAXCPU maxcpu
 maximal number of cpu in this environment depending on executive and project settings

YASA_SCHEDULINGTIME schedulingtime
 The time the current executive needs to schedule (incl. task switching).

YASA_SYNCHRONIZATIONOFFSET synchronizationoffset
 Synchronization offset.

YString gcccompileroptions
 additional gcc (gnu c compiler) options

YFilePath logfilepath
YString logfilename

Constructor & Destructor Documentation

YEnvironment::YEnvironment const YObjectArgs   i
 


Member Function Documentation

void YEnvironment::CleanupEnvironment QString    absexecutivedir = QString::null
 

void YEnvironment::CleanupLogFile   [inline]
 

This function clears the internal list of the parsed logfile.

void YEnvironment::CorrectLogfilePath  
 

void YEnvironment::EnvironmentCleanedUp   [signal]
 

void YEnvironment::EnvironmentExecuted   [signal]
 

This signal is emitted after executing the environment.

int YEnvironment::EvaluateLogFile   [inline]
 

Evaluate the logfile of the current environment.

int YEnvironment::ExecuteEnvironment  
 

const YASA_CALCPREEMPTIONTIME& YEnvironment::GetCalcPreemptionTime   const [inline]
 

int YEnvironment::GetConfig YOutputParser   parser [virtual]
 

Read environment specific configuration data from instance and set to stream

Reimplemented from YObject.

QString YEnvironment::GetEnvironmentDirectory bool    abspath = false const
 

This function returns the work directory of the environment

YEnvironmentLogFileSet& YEnvironment::GetEnvironmentLogFileSet   [inline]
 

YExecutivePlugIn* YEnvironment::GetExecutive   const [inline]
 

const YString& YEnvironment::GetGCCCompilerOptions   const [inline]
 

const QString& YEnvironment::GetLogFileName   const [inline]
 

YFilePath& YEnvironment::GetLogFilePath   [inline]
 

const YASA_CPU& YEnvironment::GetMaxCPU   [inline]
 

YProject* YEnvironment::GetProject   const [inline]
 

YResults& YEnvironment::GetResults   [inline]
 

YSchedulerSet& YEnvironment::GetSchedulerSet   [inline]
 

const YASA_SCHEDULINGTIME& YEnvironment::GetSchedulingTime   const [inline]
 

const YASA_TIMERTICK& YEnvironment::GetSupportTimerTick   const [inline]
 

const YASA_SYNCHRONIZATIONOFFSET& YEnvironment::GetSynchronizationOffset   const [inline]
 

const YASA_TICK& YEnvironment::GetTimerTick   const [inline]
 

int YEnvironment::InsertSchedulerProperty QString &    key
 

int YEnvironment::SetConfig YInputParser   parser [virtual]
 

Read environment specific configuration data from stream and set to instance

Reimplemented from YObject.

void YEnvironment::SetExecutive YExecutivePlugIn   e
 

YExecutivePlugIn * YEnvironment::SetExecutive const QString &    name
 

A new executive name was set

void YEnvironment::SetGCCCompilerOptions const QString &    s [inline]
 

void YEnvironment::SetSchedulingTime const YASA_TIME   t [inline]
 

void YEnvironment::SetSynchronizationOffset const YASA_TIME   t [inline]
 


Member Data Documentation

YASA_CALCPREEMPTIONTIME YEnvironment::calcpreemptiontime [private]
 

default settings for property calcpreemption time (bool)

YExecutivePlugIn* YEnvironment::executive [private]
 

ptr to selected executive

YString YEnvironment::gcccompileroptions [private]
 

additional gcc (gnu c compiler) options

YEnvironmentLogFileSet YEnvironment::logfile [private]
 

ptr to logfile set of this environment

YString YEnvironment::logfilename [private]
 

YFilePath YEnvironment::logfilepath [private]
 

YASA_MAXCPU YEnvironment::maxcpu [private]
 

maximal number of cpu in this environment depending on executive and project settings

Q_OBJECT YOutput* YEnvironment::output [private]
 

Ptr to output plugins.

YResults YEnvironment::results [private]
 

This is the result class.

YSchedulerSet YEnvironment::schedulerset [private]
 

list of schedulers used in this environment

YASA_SCHEDULINGTIME YEnvironment::schedulingtime [private]
 

The time the current executive needs to schedule (incl. task switching).

YASA_TIMERTICK YEnvironment::support_timertick [private]
 

This environment supports tick timers.

YASA_SYNCHRONIZATIONOFFSET YEnvironment::synchronizationoffset [private]
 

Synchronization offset.

YASA_TICK YEnvironment::timertick [private]
 

tick value in this environment


The documentation for this class was generated from the following files:
Generated on Thu Feb 13 23:54:43 2003 for Yasa by doxygen1.3-rc3