DynExp
Highly flexible laboratory automation for dynamically changing experiments.
Loading...
Searching...
No Matches
SpectrumViewerEvents.h
Go to the documentation of this file.
1// This file is part of DynExp.
2
9#pragma once
10
11#include "stdafx.h"
12#include "Module.h"
13
15{
26
37
38 class SetSilentModeEvent : public DynExp::InterModuleEvent<SetSilentModeEvent, bool>
39 {
40 public:
44
45 private:
46 virtual void InvokeWithParamsChild(DynExp::ModuleInstance& Instance, EventListenersType::EventFunctionType EventFunc) const override;
47
48 const bool Enable;
49 };
50}
Implementation of DynExp module objects.
virtual void InvokeWithParamsChild(DynExp::ModuleInstance &Instance, EventListenersType::EventFunctionType EventFunc) const override
PauseSpectrumRecordingEvent(const PauseSpectrumRecordingEvent &Other, DynExp::ItemIDType CommunicatorID)
virtual void InvokeWithParamsChild(DynExp::ModuleInstance &Instance, EventListenersType::EventFunctionType EventFunc) const override
ResumeSpectrumRecordingEvent(const ResumeSpectrumRecordingEvent &Other, DynExp::ItemIDType CommunicatorID)
virtual void InvokeWithParamsChild(DynExp::ModuleInstance &Instance, EventListenersType::EventFunctionType EventFunc) const override
SetSilentModeEvent(const SetSilentModeEvent &Other, DynExp::ItemIDType CommunicatorID)
const ItemIDType CommunicatorID
ID of the DynExpInstr::InterModuleCommunicator instance that sends the event.
Definition Module.h:1200
Typed base class for inter-module events to realize CRTP.
Definition Module.h:1211
InterModuleEvent()=default
Constructs an inter-module event.
Defines data for a thread belonging to a ModuleBase instance. Refer to RunnableInstance.
Definition Module.h:840
std::function< void(ModuleInstance *, EventFuncArgs...)> EventFunctionType
Type of event functions to be invoked when the event is triggered. The first ModuleInstance argument ...
Definition Module.h:1008
size_t ItemIDType
ID type of objects/items managed by DynExp.
Accumulates include statements to provide a precompiled header.