MMSBackendPluginHandler Class Reference

#include <mmsbackendpluginhandler.h>

List of all members.

Public Member Functions

 MMSBackendPluginHandler (MMSPluginData plugindata, bool autoload=false, IMMSBackendPlugin *_plugin=NULL)
 Constructor for the plugin handler of a backend plugin.
 ~MMSBackendPluginHandler ()
bool isLoaded ()
bool isInitialized ()
void load ()
void unload ()
MMSPluginData getPluginData ()
void setPluginData (MMSPluginData plugindata)
void setSwitcherInterface (IMMSSwitcher *switcher)
void invokeInitialize (void *data=NULL)
void invokeOnEvent (IMMSEvent event)
void invokeShutdown (void *data=NULL)

Private Attributes

bool loaded
bool initialized
MMSPluginData plugindata
MMSMutex calllock

Detailed Description

Definition at line 43 of file mmsbackendpluginhandler.h.

Constructor & Destructor Documentation

MMSBackendPluginHandler::MMSBackendPluginHandler ( MMSPluginData  plugindata,
bool  autoload = false,
IMMSBackendPlugin _plugin = NULL 

Constructor for the plugin handler of a backend plugin.

plugindata The plugindata object as usually read from the database.
autoload If true, the plugin will be loaded (no effect if _plugin is set)
_plugin Pointer to already instantiated plugin object. Usually used for static plugins.

Definition at line 35 of file mmsbackendpluginhandler.cpp.

MMSBackendPluginHandler::~MMSBackendPluginHandler (  ) 

Definition at line 48 of file mmsbackendpluginhandler.cpp.

Member Function Documentation

bool MMSBackendPluginHandler::isLoaded (  ) 

Definition at line 88 of file mmsbackendpluginhandler.cpp.

bool MMSBackendPluginHandler::isInitialized (  ) 

Definition at line 92 of file mmsbackendpluginhandler.cpp.

void MMSBackendPluginHandler::load (  ) 

Definition at line 96 of file mmsbackendpluginhandler.cpp.

void MMSBackendPluginHandler::unload (  ) 

Definition at line 109 of file mmsbackendpluginhandler.cpp.

MMSPluginData MMSBackendPluginHandler::getPluginData (  ) 

Definition at line 131 of file mmsbackendpluginhandler.cpp.

void MMSBackendPluginHandler::setPluginData ( MMSPluginData  plugindata  ) 

Definition at line 127 of file mmsbackendpluginhandler.cpp.

void MMSBackendPluginHandler::setSwitcherInterface ( IMMSSwitcher switcher  ) 

Definition at line 135 of file mmsbackendpluginhandler.cpp.

void MMSBackendPluginHandler::invokeInitialize ( void *  data = NULL  ) 

Definition at line 55 of file mmsbackendpluginhandler.cpp.

void MMSBackendPluginHandler::invokeOnEvent ( IMMSEvent  event  ) 

Definition at line 66 of file mmsbackendpluginhandler.cpp.

void MMSBackendPluginHandler::invokeShutdown ( void *  data = NULL  ) 

Definition at line 77 of file mmsbackendpluginhandler.cpp.

Member Data Documentation

Definition at line 45 of file mmsbackendpluginhandler.h.

Definition at line 46 of file mmsbackendpluginhandler.h.

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