Public Member Functions | Public Attributes | List of all members
CQScheduler Class Reference
Inheritance diagram for CQScheduler:
DEBaseSched

Public Member Functions

unsigned int cancelEvent (int pEvID)
 
unsigned int cancelEvent (int pEvID, const Star *pDest)
 
unsigned int cancelEvent (const SpecialEvent *pEv, int pEvID)
 
unsigned int cancelEvent (const SpecialEvent *pEv, const Type *pData)
 
const char * className () const
 
StringList displaySchedule ()
 
int fetchEvent (InDEPort *p, double timeVal)
 
SEQEventQueueCgetSEQueue ()
 
double getStopTime ()
 
double getTimeOfEvent (const SpecialEvent *pEv, int pEvID) const
 
int isA (const char *) const
 
bool isScheduled (const SpecialEvent *pEv, int pEvID) const
 
double nextEvent () const
 
void putEvent (const SpecialEvent *pEmiter, Star *pDest, Type *pData, double pLevel, int pEvID)
 
void putEvent (const SpecialEvent *pEmiter, Star *pDest, Type *pData, double pLevel, double pFineLevel, int pEvID)
 
BasePrioQueue * queue ()
 
void resetStopTime (double limit)
 
void resortEvents ()
 
int run ()
 
void setCurrentTime (double val)
 
void setStopTime (double limit)
 
void setup ()
 
double whenStop ()
 
- Public Member Functions inherited from DEBaseSched
int checkDelayFreeLoop ()
 
const char * className () const
 
int computeDepth ()
 
const char * domain () const
 
int isA (const char *) const
 

Public Attributes

CQEventQueue eventQ
 
- Public Attributes inherited from DEBaseSched
double relTimeScale
 

Additional Inherited Members

- Protected Member Functions inherited from DEBaseSched
int checkLoop (PortHole *p, DEStar *s)
 
int setDepth (PortHole *p, DEStar *s)
 
int errorDelayFree (PortHole *p)
 
void errorUndefined (PortHole *p)
 
- Static Protected Attributes inherited from DEBaseSched
static const int cDefaultToUniversalPriority = -1
 

Member Function Documentation

double CQScheduler::nextEvent ( ) const
virtual

Return time of next event, -1 if there is none.

Implements DEBaseSched.