T | The main object type. | |
T_var | The object's _var type. |
Definition at line 31 of file StrictPolicyDelegateImpl.hh.
Public Member Functions | ||||||||||||||||
StrictPolicyDelegateImpl (void) | ||||||||||||||||
Construct a StrictPolicyDelegateImpl object. | ||||||||||||||||
virtual | ~StrictPolicyDelegateImpl (void) | |||||||||||||||
Deconstruct a StrictPolicyDelegateImpl object. | ||||||||||||||||
virtual char * | Name (void) throw (CORBA::SystemException) | |||||||||||||||
Mostly useful for debugging. | ||||||||||||||||
virtual void | AddTask (Broker::Task_ptr new_task, const Broker::ScheduleParameters &sp) throw (CORBA::SystemException, Broker::DuplicateScheduleParameter, Broker::InvalidScheduleParameter, Broker::MissingScheduleParameter) | |||||||||||||||
NOTE: This method will be called before the reservation is made, giving the policy a chance to adjust any values.
| ||||||||||||||||
virtual void | RemoveTask (Broker::Task_ptr added_task) throw (CORBA::SystemException) | |||||||||||||||
NOTE: This method will be called after the reservation has been destroyed, so it can safely reallocate the newly freed CPU time.
| ||||||||||||||||
virtual void | Activate (const Broker::TaskList &tasks) throw (CORBA::SystemException) | |||||||||||||||
NOTE: The policy is expected to discover and adjust the scheduling parameters of any currently executing tasks.
| ||||||||||||||||
virtual void | Deactivate (void) throw (CORBA::SystemException) | |||||||||||||||
NOTE: The policy should change any scheduling parameters of the currently executing tasks, the next policy to be activated will handle any changes.
| ||||||||||||||||
virtual Broker::CPUReserve | ChangeTaskCPU (Broker::RealTimeTask_ptr task, const Broker::CPUReserve &advice) throw (CORBA::SystemException, Broker::InvalidState) | |||||||||||||||
| ||||||||||||||||
virtual CORBA::Float | GetMaxCPUAllocation (void) throw (CORBA::SystemException) | |||||||||||||||
| ||||||||||||||||
virtual void | SetMaxCPUAllocation (CORBA::Float amount) throw (CORBA::SystemException) | |||||||||||||||
| ||||||||||||||||
virtual Broker::TaskList * | GetTaskList (void) throw (CORBA::SystemException) | |||||||||||||||
| ||||||||||||||||
virtual void | SetTaskPriority (Broker::Task_ptr task, CORBA::Short priority) throw (CORBA::SystemException) | |||||||||||||||
| ||||||||||||||||
virtual CORBA::Short | GetTaskPriority (Broker::Task_ptr task) throw (CORBA::SystemException) | |||||||||||||||
|