Drag[en]gine Game Engine  1.0
deSynthesizerSystem Class Reference

Synthesizer system. More...

#include <deSynthesizerSystem.h>

Inheritance diagram for deSynthesizerSystem:
deBaseSystem

Public Member Functions

Constructors and Destructors
 deSynthesizerSystem (deEngine *engine)
 Create synthesizer system. More...
 
virtual ~deSynthesizerSystem ()
 Clean up synthesizer system. More...
 
Management
deBaseSynthesizerModuleGetActiveModule () const
 Activate synthesizer module or NULL if none is active. More...
 
void LoadSound (deSound *sound)
 Create and assign peer for sound using the active module. More...
 
void LoadSynthesizer (deSynthesizer *synthesizer)
 Create and assign peer for synthesizer using the active module. More...
 
void LoadSynthesizerInstance (deSynthesizerInstance *instance)
 Create and assign peer for synthesizer instance using the active module. More...
 
Overloadables
virtual void SetActiveModule (deLoadableModule *module)
 
virtual void ClearPermanents ()
 
virtual void PostStart ()
 
virtual void PreStop ()
 
- Public Member Functions inherited from deBaseSystem
 deBaseSystem (deEngine *engine, const char *systemName, int requiredModuleType)
 
virtual ~deBaseSystem ()
 
deEngineGetEngine () const
 
deLoadableModuleGetActiveLoadableModule () const
 
bool GetIsRunning () const
 
bool GetHasFailed () const
 
const char * GetSystemName () const
 
virtual bool CanStart ()
 
void SetHasFailed (bool hasFailed)
 
virtual void Start ()
 
virtual void Stop ()
 
void CheckAndActivateFirst (deModuleSystem::eModuleTypes type)
 
void LogInfo (const char *message)
 
void LogInfoFormat (const char *message,...)
 
void LogInfoFormatUsing (const char *message, va_list args)
 
void LogWarn (const char *message)
 
void LogWarnFormat (const char *message,...)
 
void LogWarnFormatUsing (const char *message, va_list args)
 
void LogError (const char *message)
 
void LogErrorFormat (const char *message,...)
 
void LogErrorFormatUsing (const char *message, va_list args)
 
void LogException (const deException &exception)
 

Detailed Description

Synthesizer system.

The synthesizer system is a single type system providing sound support for the engine. An synthesizer module is able to carry out the actions stored in an synthesizer object.

Author
Pl├╝ss Roland
Version
1.0
Date
2015

Constructor & Destructor Documentation

◆ deSynthesizerSystem()

deSynthesizerSystem::deSynthesizerSystem ( deEngine engine)

Create synthesizer system.

◆ ~deSynthesizerSystem()

virtual deSynthesizerSystem::~deSynthesizerSystem ( )
virtual

Clean up synthesizer system.

Member Function Documentation

◆ ClearPermanents()

virtual void deSynthesizerSystem::ClearPermanents ( )
virtual

Clears cross references and links that could lead to memory leaks. Do not forget to call the super function.

Reimplemented from deBaseSystem.

Referenced by GetActiveModule().

◆ GetActiveModule()

deBaseSynthesizerModule* deSynthesizerSystem::GetActiveModule ( ) const
inline

Activate synthesizer module or NULL if none is active.

References ClearPermanents(), LoadSound(), LoadSynthesizer(), LoadSynthesizerInstance(), PostStart(), PreStop(), and SetActiveModule().

◆ LoadSound()

void deSynthesizerSystem::LoadSound ( deSound sound)

Create and assign peer for sound using the active module.

Referenced by GetActiveModule().

◆ LoadSynthesizer()

void deSynthesizerSystem::LoadSynthesizer ( deSynthesizer synthesizer)

Create and assign peer for synthesizer using the active module.

Referenced by GetActiveModule().

◆ LoadSynthesizerInstance()

void deSynthesizerSystem::LoadSynthesizerInstance ( deSynthesizerInstance instance)

Create and assign peer for synthesizer instance using the active module.

Referenced by GetActiveModule().

◆ PostStart()

virtual void deSynthesizerSystem::PostStart ( )
virtual

Carry out here actions right after the system started up.

Reimplemented from deBaseSystem.

Referenced by GetActiveModule().

◆ PreStop()

virtual void deSynthesizerSystem::PreStop ( )
virtual

Carry out here actions right before the system shuts down.

Reimplemented from deBaseSystem.

Referenced by GetActiveModule().

◆ SetActiveModule()

virtual void deSynthesizerSystem::SetActiveModule ( deLoadableModule module)
virtual

Sets the active loadable module. Do not forget to call the super function.

Reimplemented from deBaseSystem.

Referenced by GetActiveModule().


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