Definition at line 28 of file ManagerImpl.hh.
Public Member Functions | |
ManagerImpl (const char *name) | |
Construct a ManagerImpl. | |
virtual | ~ManagerImpl () |
Destruct a ManagerImpl. | |
virtual Broker::Policy_ptr | CurrentPolicy (void) throw (CORBA::SystemException) |
If this value is nil, the manager will implement a straightforward default policy. | |
virtual void | CurrentPolicy (Broker::Policy_ptr policy) throw (CORBA::SystemException) |
If this value is nil, the manager will implement a straightforward default policy. | |
virtual void | AddTask (Broker::Task_ptr task, const Broker::ScheduleParameters &sp) throw (CORBA::SystemException, Broker::DuplicateScheduleParameter, Broker::InvalidScheduleParameter, Broker::MissingScheduleParameter) |
| |
virtual void | RemoveTask (Broker::Task_ptr task) throw (CORBA::SystemException) |
| |
virtual Broker::TaskList * | GetTaskList (void) throw (CORBA::SystemException) |
| |
virtual Broker::CPUReserve | ChangeTaskCPU (Broker::RealTimeTask_ptr task, const Broker::CPUReserve &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. | |
Static Public Member Functions | |
Broker::Task_ptr | ResolveTask (CORBA::ORB_ptr orb, Broker::TaskList &tl, const char *name) throw (CORBA::SystemException) |
Search of a task name in a Broker::TaskList. | |
Private Member Functions | |
void | RepairTaskList (void) |
Repair the task list by removing any dead/unreachable objects. | |
TaskNode * | FindTask (Broker::Task_ptr task) |
Find a TaskNode in the task list. | |
Private Attributes | |
Broker::Policy_var | mi_CurrentPolicy |
The active policy object or nil. | |
lnMinList | mi_Tasks |
The list of tasks currently being managed. |
|
Construct a ManagerImpl.
Definition at line 38 of file ManagerImpl.cc. References iPrintPointsAtExit(), and lnNewList(). |
Here is the call graph for this function:
|
Find a TaskNode in the task list.
Definition at line 109 of file ManagerImpl.cc. References lnMinList::lh_Head, lnMinNode::ln_Succ, mi_Tasks, ManagerImpl::TaskNode::tn_Link, and ManagerImpl::TaskNode::tn_Task. |
|
Search of a task name in a Broker::TaskList. Or, if the name is an IOR return a reference to that object.
Definition at line 274 of file ManagerImpl.cc. Referenced by bfManagerHey(), StrictPolicyCallbackImpl::GetPriorityOf(), pfPartitionPolicyHey(), pfStrictPolicyHey(), pfWeightedPolicyHey(), and StrictPolicyCallbackImpl::SetPriorityOf(). |
|
The list of tasks currently being managed. This list will be passed to policies when they are Broker::Policy::Activate()'d. Definition at line 147 of file ManagerImpl.hh. Referenced by FindTask(), GetTaskList(), and RepairTaskList(). |