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

StrictPolicy Interface Reference

Inheritance diagram for StrictPolicy:

Inheritance graph
[legend]
Collaboration diagram for StrictPolicy:

Collaboration graph
[legend]
List of all members.

Detailed Description

A simple strict priority-based contention policy.

See also:
StrictPolicyImpl


Public Member Functions

Broker::TaskList GetTaskList ()
void SetTaskPriority (in Broker::Task task, in short priority)
 Set the priority of a task.

short GetTaskPriority (in Broker::Task task)
 Get the priority of a task.


Member Function Documentation

Broker::TaskList StrictPolicy::GetTaskList  ) 
 

Returns:
The list of task's managed by this policy.

short StrictPolicy::GetTaskPriority in Broker::Task  task  ) 
 

Get the priority of a task.

Parameters:
task The task whose priority should be changed.
Returns:
The task's priority.
Exceptions:
CORBA::BAD_PARAM if task is nil.
CORBA::BAD_PARAM if task is not managed by this policy.

void StrictPolicy::SetTaskPriority in Broker::Task  task,
in short  priority
 

Set the priority of a task.

Parameters:
task The task whose priority should be changed.
priority The new priority.
Exceptions:
CORBA::BAD_PARAM if task is nil.
CORBA::BAD_PARAM if task is not managed by this policy.


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