Public Member Functions | |
| ManagerImpl (const char *name) | |
| Construct a ManagerImpl. | |
| virtual | ~ManagerImpl () |
| Destruct a ManagerImpl. | |
| Broker::Policy_ptr | CurrentPolicy (void) throw (CORBA::SystemException) |
| If this value is nil, the manager will implement a straightforward default policy. | |
| void | CurrentPolicy (Broker::Policy_ptr policy) throw (CORBA::SystemException) |
| If this value is nil, the manager will implement a straightforward default policy. | |
| void | AddTask (Broker::Task_ptr task) throw (CORBA::SystemException) |
| | |
| void | RemoveTask (Broker::Task_ptr task) throw (CORBA::SystemException) |
| | |
| void | ChangeTaskCPU (Broker::RealTimeTask_ptr task, CORBA::ULong ct, CORBA::ULong status, CORBA::ULong advice) throw (CORBA::SystemException, Broker::InvalidState) |
| Note: If there is no policy set, the manager will simply call SetComputeTime() on the given task with the given advice. | |
Private Member Functions | |
| int | TaskIndex (Broker::Task_ptr task) |
| Get the index of the given task in the mi_Tasks sequence. | |
Private Attributes | |
| Broker::Policy_var | mi_CurrentPolicy |
| The active policy object or nil. | |
| Broker::TaskList | mi_Tasks |
| The list of tasks currently being managed. | |
|
|
Construct a ManagerImpl.
|
|
|
Get the index of the given task in the mi_Tasks sequence.
|
|
|
The list of tasks currently being managed. This list will be passed to policies when they are Broker::Policy::Activate()'d. |
1.3.4