DynExp
Highly flexible laboratory automation for dynamically changing experiments.
DynExpModule::TriggerEvent Class Reference

This event is intended to make the receiver start an action (like a measurement) after it received a start event (StartEvent). More...

+ Inheritance diagram for DynExpModule::TriggerEvent:

Public Member Functions

 TriggerEvent ()=default
 
virtual ~TriggerEvent ()
 
- Public Member Functions inherited from DynExp::InterModuleEvent< TriggerEvent >
 InterModuleEvent ()=default
 
virtual ~InterModuleEvent ()
 
- Public Member Functions inherited from DynExp::InterModuleEventBase
 InterModuleEventBase ()=default
 
virtual ~InterModuleEventBase ()=0
 
- Public Member Functions inherited from DynExp::EventBase
 EventBase ()=default
 
virtual ~EventBase ()=0
 
void Invoke (ModuleInstance &Instance) const
 Invokes the event passing the receiving module's instance reference to it. More...
 

Private Member Functions

virtual void InvokeWithParamsChild (DynExp::ModuleInstance &Instance, EventListenersType::EventFunctionType EventFunc) const override
 

Additional Inherited Members

- Public Types inherited from DynExp::InterModuleEvent< TriggerEvent >
using EventListenersType = TypedEventListeners< EventFuncArgs... >
 Type of the manager of event listeners, which relates event listeners (instances of ModuleBase) to their event functions. The event functions expect EventFuncArgs as further arguments. More...
 
- Static Public Member Functions inherited from DynExp::InterModuleEvent< TriggerEvent >
static void Register (const ModuleBase &Listener, CallableT EventFunc)
 Registers/Subscribes module Listener to the event with the event function EventFunc. Indirectly calls ModuleBase::AddRegisteredEvent(). More...
 
static void Deregister (const ModuleBase &Listener)
 Deregisters/unsubscribes module Listener from the event. Indirectly calls ModuleBase::RemoveRegisteredEvent(). More...
 

Detailed Description

This event is intended to make the receiver start an action (like a measurement) after it received a start event (StartEvent).

Definition at line 49 of file CommonModuleEvents.h.

Constructor & Destructor Documentation

◆ TriggerEvent()

DynExpModule::TriggerEvent::TriggerEvent ( )
default

◆ ~TriggerEvent()

virtual DynExpModule::TriggerEvent::~TriggerEvent ( )
inlinevirtual

Definition at line 53 of file CommonModuleEvents.h.

Member Function Documentation

◆ InvokeWithParamsChild()

void DynExpModule::TriggerEvent::InvokeWithParamsChild ( DynExp::ModuleInstance Instance,
EventListenersType::EventFunctionType  EventFunc 
) const
overrideprivatevirtual

Definition at line 18 of file CommonModuleEvents.cpp.


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