Class: TMIDIStationery

Declaration: MediaUI.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TMediaStationery

Inherited By:

None.

Purpose:

TMIDIStationery is derived from TMediaStationery. Its main purpose is to provide a function that creates an appropriate media model for a MIDI sequence.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

None.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Other Considerations:

None.

Member Function: TMIDIStationery::TMIDIStationery

  1. TMIDIStationery ()
  2. TMIDIStationery (TMediaSequence * sequenceToAdopt)
  3. TMIDIStationery (const TMIDIStationery &)

Interface Category:

API.

Purpose:

  1. Default constructor.
  2. Constructor that creates a new TMIDIStationery object from a pointer to a TMediaSequence object.
  3. Copy constructor.

Calling Context:

  1. Called by the stream-in operators and objects of this class.
  2. Called directly by objects of this class.
  3. Called to copy a stationery object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TMIDIStationery::~TMIDIStationery

virtual ~ TMIDIStationery ()

Interface Category:

API.

Purpose:

Destructor.

Calling Context:

Called to destroy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TMIDIStationery::CreateModel

virtual TModel * CreateModel ()

Interface Category:

API.

Purpose:

Creates an instance of the media model object with the MIDI sequence.

Calling Context:

Call this function directly.

Parameters:

Return Value:

Returns a pointer to the newly created TModel object for the MIDI sequence.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.