Diana Software
QReaderNeighbour.cc
Go to the documentation of this file.
1 #include "QReaderNeighbour.hh"
2 #include "QDemangle.hh"
3 
5 
7 {
8  fName = Demangle(*this,1);
9  Init(reader);
10 }
11 
13 {
15  NeighbourInfo ret = GetNeighbourInfo(thisEvent,otherEvent);
17  return ret;
18 }
19 
22  bool ret = GetWantsNeighbours(thisEvent);
24  return ret;
25 }
26 
28  return true;
29 }
30 
31 
33 
std::string Demangle(const C &obj, int firstChar=0)
Definition: QDemangle.hh:12
#define Q_END_NAMESPACE
Definition: QDiana.hh:22
#define Q_BEGIN_NAMESPACE
Definition: QDiana.hh:20
diana event
Definition: QEvent.hh:46
virtual void EndProcessCall()
End a process call and increment time and calls.
virtual void StartProcessCall()
Start of a process call.
virtual void Init(const QReader &reader)=0
virtual bool GetWantsNeighbours(const QEvent &thisEvent)
virtual NeighbourInfo GetNeighbourInfoBase(const QEvent &thisEvent, const QEvent &otherEvent)
virtual NeighbourInfo GetNeighbourInfo(const QEvent &thisEvent, const QEvent &otherEvent)=0
void InitBase(const QReader &reader)
virtual bool GetWantsNeighboursBase(const QEvent &thisEvent)
Base class for diana event readers.
Definition: QReader.hh:50