FmodSystemPlugin Class Reference

#include <fmodplugin.h>

Inheritance diagram for FmodSystemPlugin:

QObject CoreInterface DisplayInterface MessageBusInterface

List of all members.


Detailed Description

Plugin for the Fmod Sound System.

Definition at line 25 of file fmodplugin.h.


Public Member Functions

bool systemIsAvailable ()
void CoreInit (const BCore *core)
void SaveSettings ()
void LoadSettings ()
void Module (const QString name, const QStringList params)
BBoB_ChannelChannelPointer (QString mod, QString input) const
BBoB_ModuleModulePointer (const QString mod) const
QStringList ModuleList () const
QMap< QString, QStringModuleParams (const QString name) const
QMap< QString, QStringModuleInputs (const QString name) const
QMap< QString, QStringModuleOutputs (const QString name) const
void saveChannels ()
bool loadBus (const int ID)
QString BusName ()
void BitBus (const int FromID, const int bit)
void ByteBus (const int FromID, const int byte)
void StringBus (const int FromID, const QString str)
const QString remote_protocol ()
void remote_data (QString)
QStringList commands () const
QString activated (const QString &command)
QDockWidgetgetDock (const QString &command)
QWidgetgetConfig ()

Public Attributes

QMap< QString,
BBoB_Module * > 
Modules
BCorebcore
int MyID

Private Attributes

FmodSoundSystemFmodSystem
FmodSystemDialogFmodSystemDlog
FmodSoundDialogFmodSoundDlog
FmodMeterAutoDialogFmodMeterDlog
FmodSpectrumFmodSpect
bool SystemDlog
bool SoundDlog
bool MeterDlog
QString s
QStringList sl

Member Function Documentation

bool FmodSystemPlugin::systemIsAvailable (  ) 

Definition at line 28 of file fmodplugin.cpp.

void FmodSystemPlugin::CoreInit ( const BCore core  )  [virtual]

Called by BCore Initialize - Sets variables, loads classes for message bus, and loads saved settings.

Implements CoreInterface.

Definition at line 7 of file fmodplugin-core.cpp.

References BCore::addConfigTab(), bcore, FmodMeterDlog, FmodSoundDlog, FmodSpect, FmodSystem, FmodSystemDlog, FmodSoundSystem::Fsystem, getConfig(), LoadSettings(), Module(), ModulePointer(), MyID, and FmodModule::setSystem().

Here is the call graph for this function:

void FmodSystemPlugin::SaveSettings (  )  [virtual]

Saves state of all dialogs and any other settings this plugin needs.

Implements CoreInterface.

Definition at line 36 of file fmodplugin-core.cpp.

References bcore, FmodSound::filename, FmodMeterDlog, FmodSoundDlog, FmodSystem, FmodSoundSystem::Fsystem, FmodSoundSystem::getSoundList(), BCore::isDockVisible(), MeterDlog, FmodSound::name, s, BBoB_Settings::setList(), BCore::settings, BBoB_Settings::setValue(), sl, SoundDlog, FmodSoundSystem::SoundList, and BBoB_Settings::writeList().

Here is the call graph for this function:

void FmodSystemPlugin::LoadSettings (  ) 

Loads state of all dialogs and any other settings this plugin needs.

Definition at line 72 of file fmodplugin-core.cpp.

References FmodSoundSystem::add(), bcore, commands(), FmodSystem, getDock(), BBoB_Settings::getList(), BBoB_Settings::getListValue(), BBoB_Settings::getValue(), name, BBoB_Settings::setList(), BCore::settings, and QVariant::toBool().

Referenced by CoreInit().

Here is the call graph for this function:

void FmodSystemPlugin::Module ( const QString  name,
const QStringList  params 
) [virtual]

Implements CoreInterface.

Definition at line 91 of file fmodplugin-core.cpp.

References QMap::contains(), and Modules.

Referenced by CoreInit(), and getDock().

Here is the call graph for this function:

BBoB_Channel * FmodSystemPlugin::ChannelPointer ( QString  mod,
QString  input 
) const [virtual]

Implements CoreInterface.

Definition at line 3 of file fmodplugin-module.cpp.

References QMap::contains(), and Modules.

Here is the call graph for this function:

BBoB_Module * FmodSystemPlugin::ModulePointer ( const QString  mod  )  const [virtual]

Implements CoreInterface.

Definition at line 49 of file fmodplugin-module.cpp.

References QMap::contains(), Modules, and QMap::value().

Referenced by CoreInit(), and getDock().

Here is the call graph for this function:

QStringList FmodSystemPlugin::ModuleList (  )  const [virtual]

Implements CoreInterface.

Definition at line 44 of file fmodplugin-module.cpp.

References QMap::keys(), and Modules.

Here is the call graph for this function:

QMap< QString, QString > FmodSystemPlugin::ModuleParams ( const QString  name  )  const [virtual]

Implements CoreInterface.

Definition at line 12 of file fmodplugin-module.cpp.

References QMap::contains(), and Modules.

Here is the call graph for this function:

QMap< QString, QString > FmodSystemPlugin::ModuleInputs ( const QString  name  )  const [virtual]

Implements CoreInterface.

Definition at line 22 of file fmodplugin-module.cpp.

References Channel_Dir_In, BBoB_Channel::dir, BBoB_Channel::getMimetype(), Modules, and BBoB_Channel::name.

Here is the call graph for this function:

QMap< QString, QString > FmodSystemPlugin::ModuleOutputs ( const QString  name  )  const [virtual]

Implements CoreInterface.

Definition at line 33 of file fmodplugin-module.cpp.

References Channel_Dir_Out, BBoB_Channel::dir, BBoB_Channel::getMimetype(), Modules, and BBoB_Channel::name.

Here is the call graph for this function:

void FmodSystemPlugin::saveChannels (  ) 

bool FmodSystemPlugin::loadBus ( const int  ID  )  [virtual]

Initialize BusID.

Implements MessageBusInterface.

Definition at line 6 of file fmodplugin-messagebus.cpp.

References MyID, and QByteArray::setNum().

Here is the call graph for this function:

QString FmodSystemPlugin::BusName (  )  [virtual]

Returns the name of this bus.

Implements MessageBusInterface.

Definition at line 17 of file fmodplugin-messagebus.cpp.

void FmodSystemPlugin::BitBus ( const int  FromID,
const int  bit 
) [virtual]

Receives bus data.

Implements MessageBusInterface.

Definition at line 24 of file fmodplugin-messagebus.cpp.

References QByteArray::setNum().

Here is the call graph for this function:

void FmodSystemPlugin::ByteBus ( const int  FromID,
const int  byte 
) [virtual]

Receives bus data.

Implements MessageBusInterface.

Definition at line 34 of file fmodplugin-messagebus.cpp.

References QByteArray::setNum().

Here is the call graph for this function:

void FmodSystemPlugin::StringBus ( const int  FromID,
const QString  str 
) [virtual]

Receives bus data.

Implements MessageBusInterface.

Definition at line 44 of file fmodplugin-messagebus.cpp.

References remote_data(), remote_protocol(), QString::remove(), s, and QString::startsWith().

Here is the call graph for this function:

const QString FmodSystemPlugin::remote_protocol (  )  [inline]

Definition at line 80 of file fmodplugin.h.

Referenced by StringBus().

void FmodSystemPlugin::remote_data ( QString  data  ) 

Receives remote command string and process.

Definition at line 8 of file fmodplugin.cpp.

References FmodSoundSystem::add(), FmodSystem, FmodSoundSystem::play(), QString::remove(), QString::section(), QString::startsWith(), and FmodSoundSystem::stop().

Referenced by StringBus().

Here is the call graph for this function:

QStringList FmodSystemPlugin::commands (  )  const [virtual]

List of menu commands - Text shown in menu and in dock titlebar.

Implements DisplayInterface.

Definition at line 7 of file fmodplugin-display.cpp.

References QObject::tr().

Referenced by getDock(), and LoadSettings().

Here is the call graph for this function:

QString FmodSystemPlugin::activated ( const QString command  ) 

QDockWidget * FmodSystemPlugin::getDock ( const QString command  )  [virtual]

Displayable widget - Creates Dialog and connects signals/slots. Then creates QDockWidget so dock options can be set, then it's passed to BCore which can pass to the MainWindow.

Implements DisplayInterface.

Definition at line 16 of file fmodplugin-display.cpp.

References BCore::addDock(), bcore, commands(), FmodMeterDlog, FmodSoundDlog, FmodSpect, FmodSystem, BBoB_Module_Base::getName(), FmodSoundSystem::getSoundList(), FmodSoundDialog::loadPlaylist(), Module(), ModulePointer(), and QDockWidget::setWidget().

Referenced by LoadSettings().

Here is the call graph for this function:

QWidget * FmodSystemPlugin::getConfig (  )  [virtual]

Implements DisplayInterface.

Definition at line 51 of file fmodplugin-display.cpp.

References FmodSystem, FmodSystemDialog::loadOutputList(), FmodSystemDialog::loadPlaybackList(), FmodSystemDialog::loadRecordingList(), FmodSoundSystem::OutputTypeList, FmodSoundSystem::PlaybackDrivers, and FmodSoundSystem::RecordingDrivers.

Referenced by CoreInit().


Member Data Documentation

FmodSoundSystem* FmodSystemPlugin::FmodSystem [private]

Definition at line 33 of file fmodplugin.h.

Referenced by CoreInit(), getConfig(), getDock(), LoadSettings(), remote_data(), and SaveSettings().

FmodSystemDialog* FmodSystemPlugin::FmodSystemDlog [private]

Definition at line 34 of file fmodplugin.h.

Referenced by CoreInit().

FmodSoundDialog* FmodSystemPlugin::FmodSoundDlog [private]

Definition at line 35 of file fmodplugin.h.

Referenced by CoreInit(), getDock(), and SaveSettings().

FmodMeterAutoDialog* FmodSystemPlugin::FmodMeterDlog [private]

Definition at line 36 of file fmodplugin.h.

Referenced by CoreInit(), getDock(), and SaveSettings().

FmodSpectrum* FmodSystemPlugin::FmodSpect [private]

Definition at line 37 of file fmodplugin.h.

Referenced by CoreInit(), and getDock().

bool FmodSystemPlugin::SystemDlog [private]

Definition at line 40 of file fmodplugin.h.

bool FmodSystemPlugin::SoundDlog [private]

Definition at line 41 of file fmodplugin.h.

Referenced by SaveSettings().

bool FmodSystemPlugin::MeterDlog [private]

Definition at line 42 of file fmodplugin.h.

Referenced by SaveSettings().

QString FmodSystemPlugin::s [private]

Definition at line 45 of file fmodplugin.h.

Referenced by SaveSettings(), and StringBus().

QStringList FmodSystemPlugin::sl [private]

Definition at line 46 of file fmodplugin.h.

Referenced by SaveSettings().

QMap<QString, BBoB_Module*> FmodSystemPlugin::Modules

Definition at line 64 of file fmodplugin.h.

Referenced by ChannelPointer(), Module(), ModuleInputs(), ModuleList(), ModuleOutputs(), ModuleParams(), and ModulePointer().

BCore* FmodSystemPlugin::bcore

Definition at line 67 of file fmodplugin.h.

Referenced by CoreInit(), getDock(), LoadSettings(), and SaveSettings().

int FmodSystemPlugin::MyID

Definition at line 77 of file fmodplugin.h.

Referenced by CoreInit(), and loadBus().


The documentation for this class was generated from the following files:
Generated on Sun Oct 28 22:51:41 2007 for BBoB by  doxygen 1.5.3