|
AppCore
|
#include <DispatchingModuleManager.h>
Public Member Functions | |
| DispatchingModuleManager (Dispatching *core) | |
| virtual | ~DispatchingModuleManager () |
| void | Enable (ds_string pluginName) |
| void | Disable (ds_string pluginName) |
| bool | IsPluginEnabled (ds_string pluginName) |
| bool | LoadDispatchingModules () |
| void | RestartTimers (DS_Event &event) |
| ds_string | GetVersions () const |
| bool | PluginRequest (DS_Event &event) |
| bool | PrepareEvent (DS_Event &event, ds_string &sendString, bool &forceImmediateSending) |
| true when at least one plugin added some text to be sent More... | |
| bool | PostPrepareEvent (DS_Event &event, ds_string &sendString, ds_StringList &sendStringList, bool &forceImmediateSending) |
| true when at least one plugin added some text More... | |
| void | SetPluginsProperty (ds_string propertyName, ds_string propertyValue) |
| EM::Common::EDataCol * | GetPluginsProperty () |
| DispatchingModuleManager (Dispatching *core) | |
| virtual | ~DispatchingModuleManager () |
| void | Enable (ds_string pluginName) |
| void | Disable (ds_string pluginName) |
| bool | IsPluginEnabled (ds_string pluginName) |
| bool | LoadDispatchingModules () |
| void | RestartTimers (DS_Event &event) |
| ds_string | GetVersions () const |
| bool | PluginRequest (DS_Event &event) |
| bool | PrepareEvent (DS_Event &event, ds_string &sendString, bool &forceImmediateSending) |
| true when at least one plugin added some text to be sent More... | |
| bool | PostPrepareEvent (DS_Event &event, ds_string &sendString, ds_StringList &sendStringList, bool &forceImmediateSending) |
| true when at least one plugin added some text More... | |
| void | SetPluginsProperty (ds_string propertyName, ds_string propertyValue) |
| EM::Common::EDataCol * | GetPluginsProperty () |
Static Public Member Functions | |
| static ds_string | GetConfigPath () |
| static void | StringCompletion (ds_string &sendstring, const ds_string &stringToAdd) |
| static ds_string | GetConfigPath () |
| static void | StringCompletion (ds_string &sendstring, const ds_string &stringToAdd) |
Class splits relations between plugins and DS_Core so Plugin doesn't depend on DS_Core (and therefore application).
| INTERNAL DispatchingModuleManager::DispatchingModuleManager | ( | Dispatching * | core | ) |
Constructor
| core | pointer to DS_Core, pointer to owner |
|
virtual |
Destructor
| DispatchingModuleManager::DispatchingModuleManager | ( | Dispatching * | core | ) |
Constructor
| core | pointer to DS_Core, pointer to owner |
|
virtual |
Destructor
| void DispatchingModuleManager::Disable | ( | ds_string | pluginName | ) |
Method disables plugin
| pluginName | specifies which plugin is to be enabled |

| void DispatchingModuleManager::Disable | ( | ds_string | pluginName | ) |
Method disables plugin
| pluginName | specifies which plugin is to be enabled |
| void DispatchingModuleManager::Enable | ( | ds_string | pluginName | ) |
Method enables plugin
| pluginName | specifies which plugin is to be enabled |

| void DispatchingModuleManager::Enable | ( | ds_string | pluginName | ) |
Method enables plugin
| pluginName | specifies which plugin is to be enabled |
|
static |
Configuration getting method
|
static |
Configuration getting method
| EM::Common::EDataCol* DispatchingModuleManager::GetPluginsProperty | ( | ) |
| EM::Common::EDataCol * DispatchingModuleManager::GetPluginsProperty | ( | ) |
| ds_string DispatchingModuleManager::GetVersions | ( | ) | const |
Method returns string containing all version of registered plugins.
| ds_string DispatchingModuleManager::GetVersions | ( | ) | const |
Method returns string containing all version of registered plugins.
| bool DispatchingModuleManager::IsPluginEnabled | ( | ds_string | pluginName | ) |
Method returns whether named plugin is enabled or disabled
| pluginName | specifies name of plugin to be checked |
| bool DispatchingModuleManager::IsPluginEnabled | ( | ds_string | pluginName | ) |
Method returns whether named plugin is enabled or disabled
| pluginName | specifies name of plugin to be checked |


| bool DispatchingModuleManager::LoadDispatchingModules | ( | ) |
Method reads configuration. Loads all plugins, calls initialization and call configuration read of each loaded plugin.

| bool DispatchingModuleManager::LoadDispatchingModules | ( | ) |
Method reads configuration. Loads all plugins, calls initialization and call configuration read of each loaded plugin.
| bool DispatchingModuleManager::PluginRequest | ( | DS_Event & | event | ) |
Interface between plugin and core system. Plugin send event trought this to DS_Core.
| event | what event should be processed |
| bool DispatchingModuleManager::PluginRequest | ( | DS_Event & | event | ) |
Interface between plugin and core system. Plugin send event trought this to DS_Core.
| event | what event should be processed |

| bool DispatchingModuleManager::PostPrepareEvent | ( | DS_Event & | event, |
| ds_string & | sendString, | ||
| ds_StringList & | sendStringList, | ||
| bool & | forceImmediateSending | ||
| ) |
true when at least one plugin added some text

| bool DispatchingModuleManager::PostPrepareEvent | ( | DS_Event & | event, |
| ds_string & | sendString, | ||
| ds_StringList & | sendStringList, | ||
| bool & | forceImmediateSending | ||
| ) |
true when at least one plugin added some text
| bool DispatchingModuleManager::PrepareEvent | ( | DS_Event & | event, |
| ds_string & | sendString, | ||
| bool & | forceImmediateSending | ||
| ) |
true when at least one plugin added some text to be sent

| bool DispatchingModuleManager::PrepareEvent | ( | DS_Event & | event, |
| ds_string & | sendString, | ||
| bool & | forceImmediateSending | ||
| ) |
true when at least one plugin added some text to be sent
| void DispatchingModuleManager::RestartTimers | ( | DS_Event & | event | ) |
Method ask all plugins to restart timers. Each plugin which care about restarting it's timer for such event will do that.
| event | event which is asking to restart plugin |
| void DispatchingModuleManager::RestartTimers | ( | DS_Event & | event | ) |
Method ask all plugins to restart timers. Each plugin which care about restarting it's timer for such event will do that.
| event | event which is asking to restart plugin |

| void DispatchingModuleManager::SetPluginsProperty | ( | ds_string | propertyName, |
| ds_string | propertyValue | ||
| ) |
| void DispatchingModuleManager::SetPluginsProperty | ( | ds_string | propertyName, |
| ds_string | propertyValue | ||
| ) |
|
static |
|
static |

1.8.8