Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

RealTimeSchedule Class Reference

List of all members.

Detailed Description

The RealTimeSchedule class is used to help policies that manage Broker::RealTimeTask's.


Public Member Functions

 RealTimeSchedule (CORBA::ULong start=0, CORBA::ULong period=0, CORBA::ULong deadline=0)
 Construct a RealTimeSchedule object with the given values.

virtual ~RealTimeSchedule ()
 Deconstruct a RealTimeSchedule object.

CORBA::ULong intersect (CORBA::ULong start, CORBA::ULong stop)
 Compute the number of microseconds that this schedule will have to execute during the given time frame.


Public Attributes

CORBA::ULong rts_Start
 The start time for the task.

CORBA::ULong rts_Period
 The task period in microseconds.

CORBA::ULong rts_Deadline
 The task deadline in microseconds, relative to the start of the period.


Constructor & Destructor Documentation

RealTimeSchedule::RealTimeSchedule CORBA::ULong  start = 0,
CORBA::ULong  period = 0,
CORBA::ULong  deadline = 0
 

Construct a RealTimeSchedule object with the given values.

Parameters:
start The start time for the task.
period The task period in microseconds.
deadline The task deadline in microseconds, relative to the start of the period.


Member Function Documentation

CORBA::ULong RealTimeSchedule::intersect CORBA::ULong  start,
CORBA::ULong  stop
 

Compute the number of microseconds that this schedule will have to execute during the given time frame.

Parameters:
start The start of the time frame, in microseconds.
stop The end of the time frame, in microseconds.
Returns:
The number of microseconds during the time frame in which this task will be schedulable.


Member Data Documentation

CORBA::ULong RealTimeSchedule::rts_Start
 

The start time for the task.

XXX somewhat bogus at the moment


The documentation for this class was generated from the following files:
Generated on Mon Dec 1 16:22:42 2003 for CPUBroker by doxygen 1.3.4