DynExp
Highly flexible laboratory automation for dynamically changing experiments.
Loading...
Searching...
No Matches
DynExp::EventBase Class Referenceabstract

Common base class for all events to store them in a FIFO queue to be invoked later. More...

#include <Module.h>

+ Inheritance diagram for DynExp::EventBase:

Public Member Functions

 EventBase ()=default
 
virtual ~EventBase ()=0
 
void Invoke (ModuleInstance &Instance) const
 Invokes the event passing the receiving module's instance reference to it. Only to be called from ModuleBase.
 

Private Member Functions

Override

Override by derived class to make public versions of these functions behave as described above.

virtual void InvokeChild (ModuleInstance &Instance) const =0
 Invokes the event passing the receiving module's instance reference to it. Only to be called from ModuleBase.
 

Detailed Description

Common base class for all events to store them in a FIFO queue to be invoked later.

Definition at line 67 of file Module.h.

Constructor & Destructor Documentation

◆ EventBase()

DynExp::EventBase::EventBase ( )
default

◆ ~EventBase()

DynExp::EventBase::~EventBase ( )
pure virtual

Definition at line 150 of file Module.cpp.

Member Function Documentation

◆ Invoke()

void DynExp::EventBase::Invoke ( ModuleInstance Instance) const
inline

Invokes the event passing the receiving module's instance reference to it. Only to be called from ModuleBase.

Parameters
InstanceModule instance handle.

Definition at line 78 of file Module.h.

◆ InvokeChild()


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