Class creates interface between application and plugins of dispatching system There are comming events from application (like, "login", "accident" etc.) which are handled in this class in appropriate slots. Events are transferred into DS_Event classes in those methods. DS_Events are sent to all plugins, so plugins which are interested in those events cand handle them and create appropriate message (which will go to server). When message is created (all enabled plugins can alter it) this is sent to server using communication library.
More...
#include <Dispatching.h>
Class creates interface between application and plugins of dispatching system There are comming events from application (like, "login", "accident" etc.) which are handled in this class in appropriate slots. Events are transferred into DS_Event classes in those methods. DS_Events are sent to all plugins, so plugins which are interested in those events cand handle them and create appropriate message (which will go to server). When message is created (all enabled plugins can alter it) this is sent to server using communication library.
- Note
- It is NOT required to rebuild all plugins, when this class is modified.
- Author
- Stanislav Piecka
| Dispatching::Dispatching |
( |
| ) |
|
| Dispatching::~Dispatching |
( |
| ) |
|
|
virtual |
| Dispatching::Dispatching |
( |
| ) |
|
| virtual Dispatching::~Dispatching |
( |
| ) |
|
|
virtual |
| EM::Common::EDataCol * Dispatching::GetPluginsProperty |
( |
| ) |
|
| EM::Common::EDataCol* Dispatching::GetPluginsProperty |
( |
| ) |
|
| long Dispatching::Init |
( |
void |
| ) |
|
Plugin Interface overwriting
- Parameters
-
| appECore | pointer to ecore of main application |
- Returns
- return 0 when all is OK, error otherwise
| long Dispatching::Init |
( |
| ) |
|
Plugin Interface overwriting
- Parameters
-
| appECore | pointer to ecore of main application |
- Returns
- return 0 when all is OK, error otherwise
| void Dispatching::OnPluginRequest |
( |
DS_Event & |
event | ) |
|
This method is called from DS_PluginManager receiver event request from one of plugins (e.g. periodical GPS positions)
- Parameters
-
| void Dispatching::OnPluginRequest |
( |
DS_Event & |
event | ) |
|
This method is called from DS_PluginManager receiver event request from one of plugins (e.g. periodical GPS positions)
- Parameters
-
| void Dispatching::ProcessSignal |
( |
EM::Common::EDataCol * |
data | ) |
|
|
slot |
| void Dispatching::ProcessSignal |
( |
EM::Common::EDataCol * |
data | ) |
|
|
slot |
| long Dispatching::Start |
( |
| ) |
|
| long Dispatching::Start |
( |
| ) |
|
The documentation for this class was generated from the following files: