Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

StrictPolicyCallbackImpl Class Reference

List of all members.

Detailed Description

A straight forward implementation of a Qosket::StrictPolicy::StrictPolicyCallback.

See also:
Qosket::StrictPolicy::StrictPolicyCallback

Definition at line 30 of file StrictPolicyCallbackImpl.hh.

Public Member Functions

 StrictPolicyCallbackImpl (BrokerPolicies::StrictPolicy_ptr sp)
 Construct a StrictPolicyCallbackImpl that manages the given policy.
virtual ~StrictPolicyCallbackImpl (void)
 Deconstruct a StrictPolicyCallbackImpl object.
virtual void sendMessage (const char *msg) throw (CORBA::SystemException)
 Send a message to the call back.
virtual void SetPriorityOf (const char *task_name, CORBA::Short priority) throw (CORBA::SystemException)
 
Parameters:
task_name The name of the task.
priority The new priority for the task.

virtual CORBA::Short GetPriorityOf (const char *task_name) throw (CORBA::SystemException)
 
Parameters:
task_name The name of the task.
Returns:
The current priority of the task.


Protected Attributes

CORBA::ORB_ptr spci_ORB
 Reference to the current ORB for this process.
BrokerPolicies::StrictPolicy_var spci_Policy
 Reference to the policy object to control.


Constructor & Destructor Documentation

StrictPolicyCallbackImpl::StrictPolicyCallbackImpl BrokerPolicies::StrictPolicy_ptr  sp  ) 
 

Construct a StrictPolicyCallbackImpl that manages the given policy.

Parameters:
sp The BrokerPolicies::StrictPolicy object to control.

Definition at line 28 of file StrictPolicyCallbackImpl.cc.

References spci_ORB.


Member Function Documentation

void StrictPolicyCallbackImpl::sendMessage const char *  msg  )  throw (CORBA::SystemException) [virtual]
 

Send a message to the call back.

This is also used by the other methods to do logging.

Parameters:
msg The message to log.

Definition at line 41 of file StrictPolicyCallbackImpl.cc.

References require.


The documentation for this class was generated from the following files:
Generated on Fri Oct 22 07:51:04 2004 for CPU Broker by  doxygen 1.3.9.1