SilentEye 0.4.1
Public Types | Static Public Member Functions | Static Private Member Functions | Static Private Attributes

SilentEye::ModuleManager Class Reference

Load and manage SilentEye's Plug-ins. More...

#include <modulemanager.h>

List of all members.

Public Types

enum  Category {
  IMAGEFORMAT, AUDIOFORMAT, VIDEOFORMAT, CRYPTO,
  C_UNDEF
}

Static Public Member Functions

static QList< ModuleInterface * > & getList ()
static QMap< QString,
ModuleInterface * > & 
get (Category cat)
static ModuleInterfaceget (Category cat, QString type)
static Category getCategory (ModuleInterface *)
static int count ()
static int count (Category cat)
static void load ()

Static Private Member Functions

static void loadPlugin (QObject *, QString="Unknown")

Static Private Attributes

static Logger m_logger
static QMap< Category, QMap
< QString, ModuleInterface * > > 
m_modulesMap
static QMap< QString,
ModuleInterface * > 
m_emptyMap
static QList< ModuleInterface * > m_modulesList

Detailed Description

Load and manage SilentEye's Plug-ins.

Definition at line 38 of file modulemanager.h.


Member Enumeration Documentation

Enumerator:
IMAGEFORMAT 
AUDIOFORMAT 
VIDEOFORMAT 
CRYPTO 
C_UNDEF 

Definition at line 41 of file modulemanager.h.


Member Function Documentation

int SilentEye::ModuleManager::count ( ) [static]
int SilentEye::ModuleManager::count ( Category  cat) [static]

Definition at line 77 of file modulemanager.cpp.

References count(), and m_modulesMap.

QMap< QString, ModuleInterface * > & SilentEye::ModuleManager::get ( Category  cat) [static]
ModuleInterface * SilentEye::ModuleManager::get ( Category  cat,
QString  type 
) [static]

Definition at line 44 of file modulemanager.cpp.

References m_modulesMap.

ModuleManager::Category SilentEye::ModuleManager::getCategory ( ModuleInterface module) [static]

Definition at line 52 of file modulemanager.cpp.

References C_UNDEF, and m_modulesMap.

Referenced by SilentEye::PreferenceDialog::PreferenceDialog().

QList< ModuleInterface * > & SilentEye::ModuleManager::getList ( ) [static]

Definition at line 29 of file modulemanager.cpp.

References m_modulesList.

Referenced by SilentEye::PreferenceDialog::PreferenceDialog().

void SilentEye::ModuleManager::load ( ) [static]
void SilentEye::ModuleManager::loadPlugin ( QObject *  plugin,
QString  error = "Unknown" 
) [static, private]

Member Data Documentation

QMap< QString, ModuleInterface * > SilentEye::ModuleManager::m_emptyMap [static, private]

Definition at line 46 of file modulemanager.h.

Referenced by get().

Definition at line 44 of file modulemanager.h.

Referenced by load(), and loadPlugin().

Definition at line 47 of file modulemanager.h.

Referenced by count(), getList(), and loadPlugin().

Definition at line 45 of file modulemanager.h.

Referenced by count(), get(), getCategory(), and loadPlugin().


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