DLS::Articulation Class Reference

Provides access to the defined connections used for the synthesis model. More...

#include <DLS.h>

List of all members.

Public Member Functions

 Articulation (RIFF::Chunk *artl)
 Constructor.
virtual ~Articulation ()
virtual void UpdateChunks ()
 Apply articulation connections to the respective RIFF chunks.

Public Attributes

ConnectionpConnections
 Points to the beginning of a Connection array.
uint32_t Connections
 Reflects the number of Connections.

Protected Attributes

RIFF::ChunkpArticulationCk
uint32_t HeaderSize


Detailed Description

Provides access to the defined connections used for the synthesis model.

Definition at line 269 of file DLS.h.


Constructor & Destructor Documentation

DLS::Articulation::Articulation RIFF::Chunk artl  ) 
 

Constructor.

Expects an 'artl' or 'art2' chunk to be given where the articulation connections will be read from.

Parameters:
artl - pointer to an 'artl' or 'art2' chunk
Exceptions:
Exception if no 'artl' or 'art2' chunk was given

Definition at line 117 of file DLS.cpp.

References CHUNK_ID_ART2, CHUNK_ID_ARTL, RIFF::Chunk::GetChunkID(), and pArticulationCk.

DLS::Articulation::~Articulation  )  [virtual]
 

Definition at line 139 of file DLS.cpp.

References pConnections.


Member Function Documentation

void DLS::Articulation::UpdateChunks  )  [virtual]
 

Apply articulation connections to the respective RIFF chunks.

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

Definition at line 147 of file DLS.cpp.

References Connections, HeaderSize, RIFF::Chunk::LoadChunkData(), pArticulationCk, pConnections, and RIFF::Chunk::Resize().


Member Data Documentation

uint32_t DLS::Articulation::Connections
 

Reflects the number of Connections.

Definition at line 272 of file DLS.h.

Referenced by UpdateChunks().

uint32_t DLS::Articulation::HeaderSize [protected]
 

Definition at line 279 of file DLS.h.

Referenced by UpdateChunks().

RIFF::Chunk* DLS::Articulation::pArticulationCk [protected]
 

Definition at line 278 of file DLS.h.

Referenced by Articulation(), and UpdateChunks().

Connection* DLS::Articulation::pConnections
 

Points to the beginning of a Connection array.

Definition at line 271 of file DLS.h.

Referenced by UpdateChunks(), and ~Articulation().


The documentation for this class was generated from the following files:
Generated on Fri Nov 30 19:42:08 2007 for libgig by  doxygen 1.4.6