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

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 SetManager (Broker::Manager_ptr man) throw (CORBA::SystemException)
 
Parameters:
man The manager this task was added to.

virtual void BeginCPUScheduling (const Broker::ScheduleParameters &sp) throw (CORBA::SystemException, Broker::DuplicateScheduleParameter, Broker::InvalidScheduleParameter, Broker::MissingScheduleParameter)
 
Parameters:
sp 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 Broker::CPUReserve PassCPU (Broker::RealTimeTask_ptr rtt, const Broker::CPUReserve &status, const Broker::CPUReserve &advice, const Broker::KeyedReportParameters &krp) 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.
krp Non-standard report parameters that are indexed by key name.
Returns:
The actual CPU reserve given to the task.
See also:
ChangeTaskCPU

virtual Broker::CPUReserve ReportCPU (const Broker::CPUReserve &status, const Broker::CPUReserve &advice, const Broker::KeyedReportParameters &krp) throw (CORBA::SystemException)
 This method would then be used by adaptation proxies to change the advice parameter to their liking.

Parameters:
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.
krp Non-standard report parameters that are indexed by key name.
Returns:
The actual CPU reserve given to the task.
See also:
ChangeTaskCPU


The documentation for this class was generated from the following file:
Generated on Fri Oct 22 07:51:04 2004 for CPU Broker by  doxygen 1.3.9.1