14 GetBool(
"SkipEvents",
false,
false);
24 const int run = header.
GetRun();
25 if(run != fCurrentRun) {
30 unsigned long long thisTime = t.GetFromStartRunNs();
31 if(thisTime < fPreviousTime) {
32 Panic(
"Events are not ordered in time");
34 fPreviousTime = thisTime;
41 Info(
"Events are ordered in time");
#define REGISTER_MODULE(clazz)
check that events are ordered in time.
void Do(Diana::QEvent &ev)
Do method. Declare and implement only one of the two versions.
void Init(Diana::QEvent &ev)
Init method.
void Require(const std::string &owner, const std::string &name) const
notify the QEvent that we need a QObject, if not found an exception is thrown
void Get(const char *owner, ReadHandle< Q > &handle) const
Get a QObject Handle in read mode.
the Diana namespace is needed because sometimes we use Qt libraries, that use same class names of our...