Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

PsMomeMultiThreadedController Class Reference

a multi-threaded controller for use in a shared memory architecture More...

#include <PsMomeMultiThreadedController.h>

Inheritance diagram for PsMomeMultiThreadedController:

Inheritance graph
[legend]
Collaboration diagram for PsMomeMultiThreadedController:

Collaboration graph
[legend]
List of all members.

Public Methods

 PsMomeMultiThreadedController (const PsObjectDescriptor &initialObjects, const PsDate &initialDate, unsigned int numberOfThreads)
virtual ~PsMomeMultiThreadedController ()
virtual PsnSchedulercreateScheduler ()
 create the scheduler that is in charge of effective scheduling of the controlled objects


Protected Attributes

unsigned int _numberOfThreads

Detailed Description

a multi-threaded controller for use in a shared memory architecture

Definition at line 25 of file PsMomeMultiThreadedController.h.


Constructor & Destructor Documentation

PsMomeMultiThreadedController::PsMomeMultiThreadedController const PsObjectDescriptor   initialObjects,
const PsDate   initialDate,
unsigned int    numberOfThreads
 

Definition at line 22 of file PsMomeMultiThreadedController.cxx.

References PsDate.

00025    : PsMomeController (initialObjects,
00026                        initialDate),
00027    _numberOfThreads(numberOfThreads) {
00028 
00029 }

PsMomeMultiThreadedController::~PsMomeMultiThreadedController   [virtual]
 

Definition at line 31 of file PsMomeMultiThreadedController.cxx.

00031                                                                {
00032 
00033 }


Member Function Documentation

PsnScheduler * PsMomeMultiThreadedController::createScheduler   [virtual]
 

create the scheduler that is in charge of effective scheduling of the controlled objects

Reimplemented from PsController.

Definition at line 35 of file PsMomeMultiThreadedController.cxx.

References PsController::_nbStepsByCycle, and _numberOfThreads.

00035                                                               {
00036    return new PsnMultiThreadedScheduler( _nbStepsByCycle , _numberOfThreads );
00037 }


Member Data Documentation

unsigned int PsMomeMultiThreadedController::_numberOfThreads [protected]
 

Definition at line 31 of file PsMomeMultiThreadedController.h.

Referenced by createScheduler().


The documentation for this class was generated from the following files:
logo OpenMask

Documentation generated on Mon Nov 25 15:26:10 2002

Generated with doxygen 1.2.12 by Dimitri van Heesch ,   1997-2001