libgig  4.3.0
DLS::Articulator Class Reference

Abstract base class for classes that provide articulation information (thus for Instrument and Region class). More...

#include <DLS.h>

Inheritance diagram for DLS::Articulator:
DLS::Storage DLS::Instrument DLS::Region gig::Instrument gig::Region

Public Member Functions

 Articulator (RIFF::List *ParentList)
 
ArticulationGetFirstArticulation ()
 
ArticulationGetNextArticulation ()
 
virtual void UpdateChunks (progress_t *pProgress)
 Apply all articulations to the respective RIFF chunks. More...
 
virtual void DeleteChunks ()
 Remove all RIFF chunks associated with this Articulator object. More...
 
virtual void CopyAssign (const Articulator *orig)
 Not yet implemented in this version, since the .gig format does not need to copy DLS articulators and so far nobody used pure DLS instrument AFAIK.
 

Protected Types

typedef std::list< Articulation * > ArticulationList
 

Protected Member Functions

void LoadArticulations ()
 

Protected Attributes

RIFF::ListpParentList
 
ArticulationList * pArticulations
 
ArticulationList::iterator ArticulationsIterator
 

Detailed Description

Abstract base class for classes that provide articulation information (thus for Instrument and Region class).

Definition at line 343 of file DLS.h.

Member Function Documentation

◆ DeleteChunks()

void DLS::Articulator::DeleteChunks ( )
virtual

Remove all RIFF chunks associated with this Articulator object.

See Storage::DeleteChunks() for details.

Implements DLS::Storage.

Reimplemented in DLS::Instrument, and DLS::Region.

Definition at line 255 of file DLS.cpp.

Referenced by DLS::Region::DeleteChunks(), and DLS::Instrument::DeleteChunks().

◆ UpdateChunks()

void DLS::Articulator::UpdateChunks ( progress_t pProgress)
virtual

Apply all articulations to the respective RIFF chunks.

You have to call File::Save() to make changes persistent.

Parameters
pProgress- callback function for progress notification

Implements DLS::Storage.

Reimplemented in gig::Instrument, gig::Region, DLS::Instrument, and DLS::Region.

Definition at line 241 of file DLS.cpp.

Referenced by DLS::Region::UpdateChunks(), and DLS::Instrument::UpdateChunks().


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