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

StubTask Class Reference

List of all members.

Detailed Description

A Broker::Task class that can be used for testing.

Definition at line 26 of file StubTask.hh.

Public Member Functions

 StubTask ()
 Construct an empty StubTask object.
virtual ~StubTask ()
 Deconstruct a StubTask object.
virtual char * Name () throw (CORBA::SystemException)
virtual void SetManager (Broker::Manager_ptr man) throw (CORBA::SystemException)
 Set the object that will be managing this task.
virtual void BeginCPUScheduling (const Broker::ScheduleParameters &sp) throw (CORBA::SystemException, Broker::DuplicateScheduleParameter, Broker::InvalidScheduleParameter, Broker::MissingScheduleParameter)
 Empty implementation of Broker::Task::BeginCPUScheduling.
virtual void EndCPUScheduling (void) throw (CORBA::SystemException)
 Empty implementation of Broker::Task::EndCPUScheduling.

Protected Attributes

Broker::Manager_var st_Manager
 The Broker::Manager used to handle scheduling during contention.


Member Function Documentation

virtual void StubTask::BeginCPUScheduling const Broker::ScheduleParameters sp  )  throw (CORBA::SystemException, Broker::DuplicateScheduleParameter, Broker::InvalidScheduleParameter, Broker::MissingScheduleParameter) [inline, virtual]
 

Empty implementation of Broker::Task::BeginCPUScheduling.

Parameters:
sp Unused.

Definition at line 70 of file StubTask.hh.

virtual char* StubTask::Name void   )  throw (CORBA::SystemException) [inline, virtual]
 

Returns:
The string "<stub>".

Definition at line 48 of file StubTask.hh.

virtual void StubTask::SetManager Broker::Manager_ptr  man  )  throw (CORBA::SystemException) [inline, virtual]
 

Set the object that will be managing this task.

Parameters:
man Stored in the st_Manager field.

Definition at line 59 of file StubTask.hh.

References st_Manager.


Member Data Documentation

Broker::Manager_var StubTask::st_Manager [protected]
 

The Broker::Manager used to handle scheduling during contention.

Only valid between BeginCPUScheduling and EndCPUScheduling calls.

Definition at line 93 of file StubTask.hh.

Referenced by EndCPUScheduling(), and SetManager().


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