Definition at line 26 of file StubPolicy.hh.
Public Member Functions | |
StubPolicy (const char *name) | |
Construct a StubPolicy object with the given value. | |
virtual | ~StubPolicy () |
Deconstruct a StubPolicy object. | |
char * | Name (void) throw (CORBA::SystemException) |
void | AddTask (Broker::Task_ptr task, const Broker::ScheduleParameters &sp) throw (CORBA::SystemException) |
Add a task to the sp_Tasks list. | |
void | RemoveTask (Broker::Task_ptr task) throw (CORBA::SystemException) |
Remove a task from the sp_Tasks list. | |
Broker::TaskList * | GetTaskList (void) throw (CORBA::SystemException) |
void | Activate (const Broker::TaskList &tasks) throw (CORBA::SystemException) |
Activate the policy and add the given list of tasks to sp_Tasks. | |
void | Deactivate (void) throw (CORBA::SystemException) |
Deactivate the policy and set the length of sp_Tasks to zero. | |
void | ChangeTaskCPU (Broker::RealTimeTask_ptr task, CORBA::ULong ct, CORBA::ULong status, CORBA::ULong advice) throw (CORBA::SystemException, Broker::InvalidState) |
Change the compute time for the given task to the given advice. | |
int | TaskIndex (Broker::Task_ptr task) |
Find a task in the sp_Tasks list. | |
Public Attributes | |
CORBA::String_var | sp_Name |
The policy's name. | |
Broker::TaskList | sp_Tasks |
The list of tasks being managed by this policy. |
|
Construct a StubPolicy object with the given value.
Definition at line 36 of file StubPolicy.hh. References sp_Name. |
|
Activate the policy and add the given list of tasks to sp_Tasks.
Definition at line 114 of file StubPolicy.hh. References sp_Tasks, and Broker::TaskList. |
|
Add a task to the sp_Tasks list.
Definition at line 66 of file StubPolicy.hh. References Broker::ScheduleParameters, and sp_Tasks. |
|
Change the compute time for the given task to the given advice.
Definition at line 143 of file StubPolicy.hh. |
|
Definition at line 100 of file StubPolicy.hh. References Broker::TaskList. |
|
Definition at line 51 of file StubPolicy.hh. References sp_Name. |
|
Remove a task from the sp_Tasks list.
Definition at line 81 of file StubPolicy.hh. References sp_Tasks, and TaskIndex(). |
Here is the call graph for this function:
|
Find a task in the sp_Tasks list.
Definition at line 159 of file StubPolicy.hh. References sp_Tasks. Referenced by RemoveTask(). |