102 #undef REGISTER_MODULE
103 #define REGISTER_MODULE(clazz) REGISTER_MOD(clazz,Diana::QModule)
#define Q_BEGIN_NAMESPACE
Visitor class of QEvent that provides full handling of QEvent.
list of references to const QEvent (s)
Base class for diana modules.
virtual void Done()=0
Done method is called after event loop.
void End()
End method is called after event loop, and calls Done()
bool Process(QEventAssembler &eva, QEventList &neigh, const bool exec, QEventList &oneigh)
Process method is called for each event, and calls Do()
bool fSkipRequiredNotValid
Skip events containing non-valid required objects.
virtual void Init(QEvent &ev)=0
Init method is called before event loop.
bool fSkipEvents
flag to skip the Do() execution on filtered events
size_t fRunOnIteration
Specify on which iteration the module runs.
virtual void Do(QEvent &ev)
Do method is called on each event, getting the event as argument.
bool fFirstCall
flag to check first Do() call
void Begin(QEventAssembler &eva)
Begin method is called before event loop, and calls Init()
virtual ~QModule()
destructor