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

QuoAdvocate Class Reference

Inheritance diagram for QuoAdvocate:

Inheritance graph
[legend]
Collaboration diagram for QuoAdvocate:

Collaboration graph
[legend]
List of all members.

Detailed Description

A Broker::RealTimeAdvocate that suggests the task gets the exact amount of compute time as needed by the last period.

Definition at line 30 of file QuoAdvocate.hh.

Public Member Functions

virtual void SetDelegateAttribute (const char *id, const CORBA::Any &value) throw (CORBA::SystemException)
 
Parameters:
id The attribute identifier.
value The new attribute value.


virtual CORBA::Any * GetDelegateAttribute (const char *id) throw (CORBA::SystemException)
 
Parameters:
id The attribute identifier.
Returns:
The attribute's current value.


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



Protected Attributes

quo::ValueSC_var eta_Status
 The QuO system condition that should be updated with the 'status' value given in ReportCPU.

quo::ValueSC_var eta_Advice
 The QuO system condition that should be updated with the 'advice' value given in ReportCPU.


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