AppCore
Loading...
Searching...
No Matches
DispatchingModuleManager.h
Go to the documentation of this file.
1#ifndef _DISPATCHINGMODULEMANAGER_H_
2#define _DISPATCHINGMODULEMANAGER_H_
3
4#include "ds_typedefs.h"
5
6// when this file is modified in incompatible way, all plugins has to be recompiled
7
8namespace EM
9{
10 namespace Common
11 {
12 class EDataCol;
13 }
14}
15
16// forward declaration
17class DS_Event;
18class Dispatching;
20
27{
28public:
42 void Enable( ds_string pluginName );
43
48 void Disable( ds_string pluginName );
49
55 bool IsPluginEnabled( ds_string pluginName );
56
62
67 void RestartTimers( DS_Event &event );
68
74
80 bool PluginRequest( DS_Event &event );
81
83 bool PrepareEvent( DS_Event &event, ds_string &sendString, bool &forceImmediateSending );
84
86 bool PostPrepareEvent( DS_Event &event, ds_string &sendString, ds_StringList &sendStringList, bool &forceImmediateSending );
87
93 static void StringCompletion( ds_string &sendstring, const ds_string &stringToAdd );
94 void SetPluginsProperty( ds_string propertyName, ds_string propertyValue );
95 EM::Common::EDataCol *GetPluginsProperty();
96
97private:
98 class DataClass;
99 DataClass *d;
100};
101
102#endif // _DISPATCHINGMODULEMANAGER_H_
std::list< ds_string * > ds_StringList
Definition ds_typedefs.h:10
std::string ds_string
Definition ds_typedefs.h:9
Definition ds_event.h:7
Interface class for all modules of dispatching system.
Definition DispatchingModuleInterface.h:18
Definition DispatchingModuleManager.h:27
ds_string GetVersions() const
bool PrepareEvent(DS_Event &event, ds_string &sendString, bool &forceImmediateSending)
true when at least one plugin added some text to be sent
bool PluginRequest(DS_Event &event)
void RestartTimers(DS_Event &event)
static ds_string GetConfigPath()
void Disable(ds_string pluginName)
DispatchingModuleManager(Dispatching *core)
virtual ~DispatchingModuleManager()
void SetPluginsProperty(ds_string propertyName, ds_string propertyValue)
static void StringCompletion(ds_string &sendstring, const ds_string &stringToAdd)
bool IsPluginEnabled(ds_string pluginName)
void Enable(ds_string pluginName)
EM::Common::EDataCol * GetPluginsProperty()
bool PostPrepareEvent(DS_Event &event, ds_string &sendString, ds_StringList &sendStringList, bool &forceImmediateSending)
true when at least one plugin added some text
Class creates interface between application and plugins of dispatching system There are comming event...
Definition Dispatching.h:33
SYSTEM INCLUDES.
Definition CardFacadeManagerXML.h:7