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

Broker::Task Interface Reference

Inheritance diagram for Broker::Task:

Inheritance graph
[legend]
List of all members.

Detailed Description

The Task interface encapsulates the per-process detection policy.


Public Member Functions

void BeginCPUScheduling (in Manager man, in ScheduleParameters cs) raises (DuplicateScheduleParameter, InvalidScheduleParameter, MissingScheduleParameter)
 Begin CPU scheduling for this task with the given parameters.

void EndCPUScheduling ()
 End CPU scheduling for this task.


Public Attributes

readonly attribute string Name
 The name of the task.


Member Function Documentation

void Broker::Task::BeginCPUScheduling in Manager  man,
in ScheduleParameters  cs
raises (DuplicateScheduleParameter, InvalidScheduleParameter, MissingScheduleParameter)
 

Begin CPU scheduling for this task with the given parameters.

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().

void Broker::Task::EndCPUScheduling  ) 
 

End CPU scheduling for this task.

Exceptions:
CORBA::BAD_INV_ORDER if the method is called without BeginCPUScheduling() being called first.


Member Data Documentation

readonly attribute string Broker::Task::Name
 

The name of the task.

Mostly useful for debugging.


The documentation for this interface was generated from the following file:
Generated on Mon Dec 1 16:22:46 2003 for CPUBroker by doxygen 1.3.4