Diana Software
Classes | Public Types | Public Member Functions | Protected Attributes | Private Attributes | List of all members
QReaderNeighbour Class Referenceabstract
Inheritance diagram for QReaderNeighbour:
QModuleTimeProfiling QAllSideNeighbour QNeverNeighbour QSameTimeNeighbour QSideNeighbour QSideOrSameTimeTrigger QTimeNeighbour QSameChannelNeighbour

Classes

class  NeighbourInfo
 

Public Types

enum  FillStrategies { kExhaustiveFillStrategy , kAssociativeFillStrategy , kFilterFillStrategy }
 

Public Member Functions

 QReaderNeighbour ()
 
virtual ~QReaderNeighbour ()
 
void InitBase (const QReader &reader)
 
virtual void Init (const QReader &reader)=0
 
virtual NeighbourInfo GetNeighbourInfoBase (const QEvent &thisEvent, const QEvent &otherEvent)
 
virtual NeighbourInfo GetNeighbourInfo (const QEvent &thisEvent, const QEvent &otherEvent)=0
 
virtual bool GetWantsNeighboursBase (const QEvent &thisEvent)
 
virtual bool GetWantsNeighbours (const QEvent &thisEvent)
 
int GetFillStrategy () const
 
- Public Member Functions inherited from QModuleTimeProfiling
 QModuleTimeProfiling ()
 ctor initialized internal variables More...
 
virtual ~QModuleTimeProfiling ()
 dtor does nothing More...
 
void SetTimeProfilingOn (bool val)
 Set the time profiling on/off. More...
 
bool GetTimeProfilingOn () const
 Check if the time profiling is on. More...
 
void ResetTimer ()
 Reset the timer to now. More...
 
double GetTimer () const
 return the time since the last reset More...
 
virtual void StartProcessCall ()
 Start of a process call. More...
 
virtual void EndProcessCall ()
 End a process call and increment time and calls. More...
 
unsigned long long GetProcessCalls () const
 Return the total number of process calls. More...
 
double GetTotalProcessTime () const
 Return the total processing time. More...
 
double GetProcessCallTime () const
 Return the average time of a single process call. More...
 
std::string GetTimeProfileReport (const std::string &prefix="") const
 Report the time profiling. More...
 

Protected Attributes

FillStrategies fFillStrategy
 
- Protected Attributes inherited from QModuleTimeProfiling
bool fTimeProfilingOn
 Report the time profiling. More...
 
unsigned long long int fProcessCalls
 NUmber of calls to the process. More...
 
double fProcessTime
 Total time spent running the process. More...
 

Private Attributes

std::string fName
 

Detailed Description

Definition at line 14 of file QReaderNeighbour.hh.

Member Enumeration Documentation

◆ FillStrategies

Enumerator
kExhaustiveFillStrategy 
kAssociativeFillStrategy 
kFilterFillStrategy 

Definition at line 17 of file QReaderNeighbour.hh.

Constructor & Destructor Documentation

◆ QReaderNeighbour()

QReaderNeighbour::QReaderNeighbour ( )
inline

Definition at line 23 of file QReaderNeighbour.hh.

◆ ~QReaderNeighbour()

virtual QReaderNeighbour::~QReaderNeighbour ( )
inlinevirtual

Definition at line 25 of file QReaderNeighbour.hh.

Member Function Documentation

◆ GetFillStrategy()

int QReaderNeighbour::GetFillStrategy ( ) const
inline

Definition at line 43 of file QReaderNeighbour.hh.

References fFillStrategy.

Referenced by QNeighboursFiller::Init().

◆ GetNeighbourInfo()

virtual NeighbourInfo QReaderNeighbour::GetNeighbourInfo ( const QEvent thisEvent,
const QEvent otherEvent 
)
pure virtual

◆ GetNeighbourInfoBase()

QReaderNeighbour::NeighbourInfo QReaderNeighbour::GetNeighbourInfoBase ( const QEvent thisEvent,
const QEvent otherEvent 
)
virtual

◆ GetWantsNeighbours()

bool QReaderNeighbour::GetWantsNeighbours ( const QEvent thisEvent)
virtual

Reimplemented in QTimeNeighbour.

Definition at line 27 of file QReaderNeighbour.cc.

Referenced by QNeighboursFiller::GetWantsNeighbours(), and GetWantsNeighboursBase().

◆ GetWantsNeighboursBase()

bool QReaderNeighbour::GetWantsNeighboursBase ( const QEvent thisEvent)
virtual

◆ Init()

virtual void QReaderNeighbour::Init ( const QReader reader)
pure virtual

◆ InitBase()

Q_BEGIN_NAMESPACE void QReaderNeighbour::InitBase ( const QReader reader)

Definition at line 6 of file QReaderNeighbour.cc.

References Demangle(), fName, and Init().

Referenced by QNeighboursFiller::Init().

Member Data Documentation

◆ fFillStrategy

FillStrategies QReaderNeighbour::fFillStrategy
protected

Definition at line 47 of file QReaderNeighbour.hh.

Referenced by GetFillStrategy(), and QSameChannelNeighbour::Init().

◆ fName

std::string QReaderNeighbour::fName
private

Definition at line 50 of file QReaderNeighbour.hh.

Referenced by InitBase().


The documentation for this class was generated from the following files: