AppCore
Loading...
Searching...
No Matches
DispatchingModuleInterface.h
Go to the documentation of this file.
1#ifndef EM_DS_COREDS_PLUGININTERFACE_H
2#define EM_DS_COREDS_PLUGININTERFACE_H
3
4#include "ds_typedefs.h"
5
6// when this file is modified incompatible way, all plugins has to be recompiled
8
9// forward declaration
10class DS_Event;
11
18{
19public:
25
31
36 virtual bool Init( DispatchingModuleManager *manager ) = 0;
37
43 virtual ds_string GetName() = 0;
44
50 virtual ds_string GetVersion() = 0;
51
56 void Enable();
57
62 void Disable();
63
69 bool IsEnabled() const;
70
75 virtual void RestartTimer( DS_Event &event );
76
85 virtual bool SendString( DS_Event &event, ds_string &sendString, bool &forceImmediateSending ) = 0;
86
95 virtual bool PostSendString( DS_Event &event, ds_string &sendString, ds_StringList &sendStringList, bool &forceImmediateSending ) = 0;
96
97private:
98 class DataClass;
99 DataClass *d;
100};
101
102#endif
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
virtual bool SendString(DS_Event &event, ds_string &sendString, bool &forceImmediateSending)=0
virtual ds_string GetVersion()=0
virtual bool PostSendString(DS_Event &event, ds_string &sendString, ds_StringList &sendStringList, bool &forceImmediateSending)=0
virtual ~DispatchingModuleInterface()
virtual ds_string GetName()=0
virtual bool Init(DispatchingModuleManager *manager)=0
virtual void RestartTimer(DS_Event &event)
Definition DispatchingModuleManager.h:27