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

RealTimeTaskDelegateImpl Class Reference

Inheritance diagram for RealTimeTaskDelegateImpl:

Inheritance graph
[legend]
Collaboration diagram for RealTimeTaskDelegateImpl:

Collaboration graph
[legend]
List of all members.

Detailed Description

Base class for delegates of the Broker::RealTimeTask class.

Definition at line 27 of file RealTimeTaskDelegateImpl.hh.

Public Member Functions

 RealTimeTaskDelegateImpl (void)
 Construct a RealTimeTaskDelegateImpl.

virtual ~RealTimeTaskDelegateImpl (void)
 Deconstruct a RealTimeTaskDelegateImpl.

virtual char * Name (void) throw (CORBA::SystemException)
 Mostly useful for debugging.

virtual void BeginCPUScheduling (Broker::Manager_ptr man, const Broker::ScheduleParameters &cs) throw (CORBA::SystemException, Broker::DuplicateScheduleParameter, Broker::InvalidScheduleParameter, Broker::MissingScheduleParameter)
 
Parameters:
man The resource manager that will handle scheduling during contention.
cs The high level scheduling parameters.
Exceptions:
DuplicateScheduleParameter if the given schedule has a duplicate parameter.
InvalidScheduleParameter if the given schedule has an invalid parameter.
MissingScheduleParameter if the given schedule is missing a required parameter.
CORBA::BAD_INV_ORDER if the method is called without intervening calls to EndCPUScheduling().


virtual void EndCPUScheduling (void) throw (CORBA::SystemException)
 
Exceptions:
CORBA::BAD_INV_ORDER if the method is called without BeginCPUScheduling() being called first.


virtual CORBA::ULong Period (void) throw (CORBA::SystemException)
 

virtual CORBA::ULong Deadline (void) throw (CORBA::SystemException)
 

virtual CORBA::ULong GetComputeTime (void) throw (CORBA::SystemException)
 
Returns:
The number of microseconds of compute time.


virtual void SetComputeTime (CORBA::ULong usecs) throw (CORBA::SystemException)
 
Parameters:
usecs The number of microseconds of compute time.


virtual void ReportCPU (Broker::RealTimeTask_ptr rtt, CORBA::ULong status, CORBA::ULong advice) throw (CORBA::SystemException)
 This method would then be used by adaptation proxies to change the advice parameter to their liking.

Parameters:
rtt The task object that was actually added to the manager.
status The CPU usage of the task in microseconds.
advice The amount of CPU time, in microseconds, that the application would like for the next period.
See also:
ChangeTaskCPU



The documentation for this class was generated from the following file:
Generated on Mon Dec 1 16:30:38 2003 for CPU Broker by doxygen 1.3.4