#include <sdlplugin.h>

Definition at line 17 of file sdlplugin.h.
Public Member Functions | |
| void | CoreInit (const BCore *core) |
| void | SaveSettings () |
| void | LoadSettings () |
| void | Module (const QString name, const QStringList params) |
| BBoB_Channel * | ChannelPointer (QString mod, QString input) const |
| BBoB_Module * | ModulePointer (const QString mod) const |
| QStringList | ModuleList () const |
| QMap< QString, QString > | ModuleParams (const QString name) const |
| QMap< QString, QString > | ModuleInputs (const QString name) const |
| QMap< QString, QString > | ModuleOutputs (const QString name) const |
| void | saveChannels () |
| QStringList | commands () const |
| QDockWidget * | getDock (const QString &command) |
| QWidget * | getConfig () |
Public Attributes | |
| QMap< QString, BBoB_Module * > | Modules |
| BCore * | bcore |
Private Attributes | |
| JoystickDialog * | JoystickDlog |
| SDLJoyStick * | joystick |
| void SDLPlugin::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 sdlplugin-core.cpp.
References bcore, QObject::connect(), joystick, JoystickDlog, LoadSettings(), SDLJoyStick::open(), and QTimer::start().

| void SDLPlugin::SaveSettings | ( | ) | [virtual] |
Saves state of all dialogs and any other settings this plugin needs.
Implements CoreInterface.
Definition at line 33 of file sdlplugin-core.cpp.
References bcore, BCore::isDockVisible(), JoystickDlog, BCore::settings, and BBoB_Settings::setValue().

| void SDLPlugin::LoadSettings | ( | ) |
Loads state of all dialogs and any other settings this plugin needs.
Definition at line 49 of file sdlplugin-core.cpp.
References bcore, commands(), getDock(), BBoB_Settings::getValue(), BCore::settings, and QVariant::toBool().
Referenced by CoreInit().

| void SDLPlugin::Module | ( | const QString | name, | |
| const QStringList | params | |||
| ) | [virtual] |
Implements CoreInterface.
Definition at line 57 of file sdlplugin-core.cpp.
References QMap::contains(), and Modules.

| BBoB_Channel * SDLPlugin::ChannelPointer | ( | QString | mod, | |
| QString | input | |||
| ) | const [virtual] |
Implements CoreInterface.
Definition at line 3 of file sdlplugin-module.cpp.
References QMap::contains(), and Modules.

| BBoB_Module * SDLPlugin::ModulePointer | ( | const QString | mod | ) | const [virtual] |
Implements CoreInterface.
Definition at line 59 of file sdlplugin-module.cpp.
References QMap::contains(), Modules, and QMap::value().

| QStringList SDLPlugin::ModuleList | ( | ) | const [virtual] |
Implements CoreInterface.
Definition at line 54 of file sdlplugin-module.cpp.
References QMap::keys(), and Modules.

Implements CoreInterface.
Definition at line 21 of file sdlplugin-module.cpp.
References QMap::contains(), and Modules.

Implements CoreInterface.
Definition at line 31 of file sdlplugin-module.cpp.
References Channel_Dir_In, BBoB_Channel::dir, BBoB_Channel::getMimetype(), Modules, and BBoB_Channel::name.

Implements CoreInterface.
Definition at line 43 of file sdlplugin-module.cpp.
References Channel_Dir_Out, BBoB_Channel::dir, BBoB_Channel::getMimetype(), Modules, and BBoB_Channel::name.

| void SDLPlugin::saveChannels | ( | ) |
Definition at line 13 of file sdlplugin-module.cpp.
References QList::at(), bcore, QMap::keys(), Modules, BCore::settings, and QList::size().

| QStringList SDLPlugin::commands | ( | ) | const [virtual] |
List of menu commands - Text shown in menu and in dock titlebar.
Implements DisplayInterface.
Definition at line 7 of file sdlplugin-display.cpp.
References QObject::tr().
Referenced by LoadSettings().

| QDockWidget * SDLPlugin::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 17 of file sdlplugin-display.cpp.
References BCore::addDock(), bcore, QObject::connect(), joystick, JoystickDlog, SDLJoyStick::num_axes, SDLJoyStick::num_buttons, SDLJoyStick::num_hats, and QDockWidget::setWidget().
Referenced by LoadSettings().

| QWidget* SDLPlugin::getConfig | ( | ) | [inline, virtual] |
JoystickDialog* SDLPlugin::JoystickDlog [private] |
Definition at line 39 of file sdlplugin.h.
Referenced by ChannelPointer(), Module(), ModuleInputs(), ModuleList(), ModuleOutputs(), ModuleParams(), ModulePointer(), and saveChannels().
Definition at line 42 of file sdlplugin.h.
Referenced by CoreInit(), getDock(), LoadSettings(), saveChannels(), and SaveSettings().
SDLJoyStick* SDLPlugin::joystick [private] |
1.5.3