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

YScheduler Class Reference

#include <scheduler.h>

Inheritance diagram for YScheduler:

Inheritance graph
[legend]
Collaboration diagram for YScheduler:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 YScheduler (const YObjectArgs &args)
 timer tick of the scheduler

virtual int SetConfig (YInputParser &parser)
virtual int GetConfig (YOutputParser &parser)
const YASA_TIMERTICKGetSupportTimerTick () const
const YASA_CALCPREEMPTIONTIMEGetCalcPreemptionTime () const
bool GetSupportCalcPreemptionTime () const
void SetCalcPreemptionTime (bool b)
void DeriveCalcPreemptionTime ()
const YASA_TICKGetTimerTick () const
void SetTimerTick (YASA_TIME t)
void DeriveTimerTick ()
YSchedulerPlugInGetScheduler () const
void SetScheduler (YSchedulerPlugIn *)
YSchedulerPlugInSetScheduler (const QString &)
YEnvironmentGetEnvironment () const

Private Attributes

Q_OBJECT YSchedulerPlugInscheduler
YASA_CALCPREEMPTIONTIME calcpreemptiontime
 ptr to scheduler plugin

YASA_TIMERTICK support_timertick
 should the preemption time be calculated

YASA_TICK timertick
 This environment supports tick timers.


Detailed Description

This class represents an instance or the scheduler in the specific environment configuration.


Constructor & Destructor Documentation

YScheduler::YScheduler const YObjectArgs   args
 

timer tick of the scheduler


Member Function Documentation

void YScheduler::DeriveCalcPreemptionTime   [inline]
 

void YScheduler::DeriveTimerTick   [inline]
 

const YASA_CALCPREEMPTIONTIME& YScheduler::GetCalcPreemptionTime   const [inline]
 

int YScheduler::GetConfig YOutputParser   parser [virtual]
 

Read scheduler specific configuration data from stream and set to instance

Reimplemented from YObject.

YEnvironment * YScheduler::GetEnvironment   const
 

YSchedulerPlugIn* YScheduler::GetScheduler   const [inline]
 

bool YScheduler::GetSupportCalcPreemptionTime   const [inline]
 

Return true if all objects (executive & scheduler) are able to support calc preemption time If they are not able all childs are disabled

const YASA_TIMERTICK& YScheduler::GetSupportTimerTick   const [inline]
 

const YASA_TICK& YScheduler::GetTimerTick   const [inline]
 

void YScheduler::SetCalcPreemptionTime bool    b [inline]
 

int YScheduler::SetConfig YInputParser   parser [virtual]
 

Read scheduler specific configuration data from instance and set to stream

Reimplemented from YObject.

YSchedulerPlugIn * YScheduler::SetScheduler const QString &    name
 

A new executive name was set

void YScheduler::SetScheduler YSchedulerPlugIn  
 

void YScheduler::SetTimerTick YASA_TIME    t [inline]
 


Member Data Documentation

YASA_CALCPREEMPTIONTIME YScheduler::calcpreemptiontime [private]
 

ptr to scheduler plugin

Q_OBJECT YSchedulerPlugIn* YScheduler::scheduler [private]
 

YASA_TIMERTICK YScheduler::support_timertick [private]
 

should the preemption time be calculated

YASA_TICK YScheduler::timertick [private]
 

This environment supports tick timers.


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