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

ExactTaskAdvocate_Quo Class Reference

Inheritance diagram for ExactTaskAdvocate_Quo:

Inheritance graph
[legend]
Collaboration diagram for ExactTaskAdvocate_Quo:

Collaboration graph
[legend]
List of all members.

Detailed Description

An ExactTaskAdvocate that includes some support for Quo.

XXX Make me a template.


Public Member Functions

 ExactTaskAdvocate_Quo (const Broker::TaskParameters &tp) throw (CORBA::SystemException, Broker::DuplicateTaskParameter, Broker::InvalidTaskParameter, Broker::MissingTaskParameter)
 Construct an ExactTaskAdvocate_Quo object.

virtual void ReportCPU (CORBA::ULong status) throw (CORBA::SystemException, Broker::InvalidStatus)
 
Parameters:
status XXX
Exceptions:
InvalidStatus if the status value is invalid.
CORBA::BAD_INV_ORDER if the method is called without BeginCPUScheduling() being called first.


quo::ValueSC_ptr GetLastStatus (void)

Protected Attributes

quo::ValueSC_var eta_LastStatus
 The Quo system condition that stores the last reported status value.


Constructor & Destructor Documentation

ExactTaskAdvocate_Quo::ExactTaskAdvocate_Quo const Broker::TaskParameters tp  )  throw (CORBA::SystemException, Broker::DuplicateTaskParameter, Broker::InvalidTaskParameter, Broker::MissingTaskParameter)
 

Construct an ExactTaskAdvocate_Quo object.

In addition to the parameters recognized by its parents, this implementation will recognize:

  • LastStatus A Quo system condition that will store the last reported status value. (optional).
Parameters:
tp The description of the task.
Returns:
A new Task object.
Exceptions:
DuplicateTaskParameter if the given schedule has a duplicate parameter.
InvalidTaskParameter if the given schedule has an invalid parameter.
MissingTaskParameter if the given schedule is missing a required parameter.

See also:
RKTask::RKTask


Member Function Documentation

quo::ValueSC_ptr ExactTaskAdvocate_Quo::GetLastStatus void   ) 
 

Returns:
The Quo system condition that stores the last reported status value.

void ExactTaskAdvocate_Quo::ReportCPU CORBA::ULong  status  )  throw (CORBA::SystemException, Broker::InvalidStatus) [virtual]
 

Parameters:
status XXX
Exceptions:
InvalidStatus if the status value is invalid.
CORBA::BAD_INV_ORDER if the method is called without BeginCPUScheduling() being called first.

The implementation in this subclass will call the parent's ReportCPU and then set the LastStatus system condition.

Reimplemented from ExactTaskAdvocate.


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