GlExamplePlugin Class Reference

#include <glexampleplugin.h>

Inheritance diagram for GlExamplePlugin:

QObject CoreInterface DisplayInterface

List of all members.


Detailed Description

Definition at line 14 of file glexampleplugin.h.


Signals

void signalDock (QDockWidget *dockWidget)

Public Member Functions

QStringList commands () const
QDockWidgetgetDock (const QString &command)
QWidgetgetConfig ()
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 ()

Public Attributes

QMap< QString,
BBoB_Module * > 
Modules
BCorebcore

Private Attributes

GlExampleModuleFrameModule
GlExampleModulePixelModule
GLDialogGlDlog
QStringList commandList

Member Function Documentation

QStringList GlExamplePlugin::commands (  )  const [virtual]

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

Implements DisplayInterface.

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

References commandList.

QDockWidget * GlExamplePlugin::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 glexampleplugin-display.cpp.

References BCore::addDock(), bcore, Channel_Dir_In, Channel_Type_Byte, BBoB_Module::Channels, FrameModule, BBoB_Module_Base::getName(), GlDlog, Module(), ModulePointer(), PixelModule, QDockWidget::setWidget(), and QObject::tr().

Referenced by LoadSettings().

Here is the call graph for this function:

QWidget* GlExamplePlugin::getConfig (  )  [inline, virtual]

Implements DisplayInterface.

Definition at line 30 of file glexampleplugin.h.

void GlExamplePlugin::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 glexampleplugin-core.cpp.

References bcore, commandList, GlDlog, QGLFormat::hasOpenGL(), QGLFramebufferObject::hasOpenGLFramebufferObjects(), QGLFormat::hasOpenGLOverlays(), QGLPixelBuffer::hasOpenGLPbuffers(), LoadSettings(), and QObject::tr().

Here is the call graph for this function:

void GlExamplePlugin::SaveSettings (  )  [virtual]

Implements CoreInterface.

Definition at line 49 of file glexampleplugin-core.cpp.

References bcore, BCore::settings, and BBoB_Settings::setValue().

Here is the call graph for this function:

void GlExamplePlugin::LoadSettings (  ) 

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

Definition at line 67 of file glexampleplugin-core.cpp.

References bcore, getDock(), BBoB_Settings::getValue(), BCore::settings, and QVariant::toBool().

Referenced by CoreInit().

Here is the call graph for this function:

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

Implements CoreInterface.

Definition at line 74 of file glexampleplugin-core.cpp.

References QMap::contains(), and Modules.

Referenced by getDock().

Here is the call graph for this function:

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

Implements CoreInterface.

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

References QMap::contains(), and Modules.

Here is the call graph for this function:

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

Implements CoreInterface.

Definition at line 59 of file glexampleplugin-module.cpp.

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

Referenced by getDock().

Here is the call graph for this function:

QStringList GlExamplePlugin::ModuleList (  )  const [virtual]

Implements CoreInterface.

Definition at line 54 of file glexampleplugin-module.cpp.

References QMap::keys(), and Modules.

Here is the call graph for this function:

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

Implements CoreInterface.

Definition at line 21 of file glexampleplugin-module.cpp.

References QMap::contains(), and Modules.

Here is the call graph for this function:

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

Implements CoreInterface.

Definition at line 31 of file glexampleplugin-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 > GlExamplePlugin::ModuleOutputs ( const QString  name  )  const [virtual]

Implements CoreInterface.

Definition at line 43 of file glexampleplugin-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 GlExamplePlugin::saveChannels (  ) 

Definition at line 13 of file glexampleplugin-module.cpp.

References QList::at(), bcore, QMap::keys(), Modules, BCore::settings, and QList::size().

Here is the call graph for this function:

void GlExamplePlugin::signalDock ( QDockWidget dockWidget  )  [signal]


Member Data Documentation

GlExampleModule* GlExamplePlugin::FrameModule [private]

Definition at line 20 of file glexampleplugin.h.

Referenced by getDock().

GlExampleModule* GlExamplePlugin::PixelModule [private]

Definition at line 21 of file glexampleplugin.h.

Referenced by getDock().

GLDialog* GlExamplePlugin::GlDlog [private]

Definition at line 23 of file glexampleplugin.h.

Referenced by CoreInit(), and getDock().

QMap<QString, BBoB_Module*> GlExamplePlugin::Modules

Definition at line 45 of file glexampleplugin.h.

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

BCore* GlExamplePlugin::bcore

Definition at line 48 of file glexampleplugin.h.

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

QStringList GlExamplePlugin::commandList [private]

Definition at line 51 of file glexampleplugin.h.

Referenced by commands(), and CoreInit().


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