Definition at line 247 of file Broker.idl.
Public Member Functions | |
void | AddTask (in Task new_task, in ScheduleParameters sp) |
Add a task to an active policy. | |
void | RemoveTask (in Task added_task) |
Remove a task from an active policy. | |
TaskList | GetTaskList () |
void | Activate (in TaskList tasks) |
Activate the policy. | |
void | Deactivate () |
Deactivate an active policy. | |
void | ChangeTaskCPU (in RealTimeTask task, in unsigned long ct, in unsigned long status, in unsigned long advice) raises (InvalidState) |
Public Attributes | |
readonly attribute string | Name |
The name of the policy. |
|
Activate the policy. NOTE: The policy is expected to discover and adjust the scheduling parameters of any currently executing tasks.
|
|
Add a task to an active policy. NOTE: This method will be called before the reservation is made, giving the policy a chance to adjust any values.
|
|
|
|
Deactivate an active policy. NOTE: The policy should change any scheduling parameters of the currently executing tasks, the next policy to be activated will handle any changes.
|
|
|
|
Remove a task from an active policy. NOTE: This method will be called after the reservation has been destroyed, so it can safely reallocate the newly freed CPU time.
|
|
The name of the policy. Mostly useful for debugging. Definition at line 252 of file Broker.idl. |