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

TSE3::MidiSchedulerFactory Class Reference

MidiScheduler class factory. More...

#include <MidiScheduler.h>

List of all members.

Public Member Functions

 MidiSchedulerFactory (bool canReturnNull=false)
virtual ~MidiSchedulerFactory ()
MidiSchedulercreateScheduler ()


Detailed Description

MidiScheduler class factory.

This class will generate an appropriate MidiScheduler for the current platform. It provides a measure of platform indepenance in the generation of .

To create a portable and maintainable TSE3 application, do not directly instantiate a particular MidiScheduler, use the MidiSchedulerFactory.

Author:
Pete Goodliffe
Version:
3.00


Constructor & Destructor Documentation

TSE3::MidiSchedulerFactory::MidiSchedulerFactory bool  canReturnNull = false  ) 
 

Creates a MidiSchedulerFactory object.

You can specify whether or not the factory can return a in the case of no appropriate platform MidiScheduler being available.

Parameters:
canReturnNull true if the factory can return a NullMidiScheduler in the worst case

virtual TSE3::MidiSchedulerFactory::~MidiSchedulerFactory  )  [virtual]
 


Member Function Documentation

MidiScheduler* TSE3::MidiSchedulerFactory::createScheduler  ) 
 

Create the most appropriate (for some definition of appropriate given by the version of the MidiSchedulerFactory class) MidiScheduler object.

The MidiScheduler is created with new; it is your responsibility to ensure it is deleted.

Returns:
New appropriate MidiScheduler object


The documentation for this class was generated from the following file:
Generated on Wed May 25 14:46:33 2005 for TSE3 by doxygen 1.3.2