DynExp
Highly flexible laboratory automation for dynamically changing experiments.
Loading...
Searching...
No Matches
DummyAnalogOut.cpp
Go to the documentation of this file.
1// This file is part of DynExp.
2
3#include "stdafx.h"
4#include "DummyAnalogOut.h"
5
6namespace DynExpInstr
7{
13
15 {
16 // Shut down derived instrument first.
17 ExitFuncImpl(dispatch_tag<ExitTask>(), Instance);
18 }
19
21 {
22 // Update derived instrument.
23 UpdateFuncImpl(dispatch_tag<UpdateTask>(), Instance);
24 }
25
30
31 DummyAnalogOut::DummyAnalogOut(const std::thread::id OwnerThreadID, DynExp::ParamsBasePtrType&& Params)
32 : AnalogOut(OwnerThreadID, std::move(Params))
33 {
34 }
35
40}
Implementation of an analog output port instrument without any related physical hardware.
Meta instrument for a single analog output port based on the data stream, function generator,...
Definition AnalogOut.h:176
void ResetImpl(dispatch_tag< AnalogOutData >) override final
void ExitFuncImpl(dispatch_tag< AnalogOutTasks::ExitTask >, DynExp::InstrumentInstance &Instance) override final
Deinitializes the respective instrument within the instrument inheritance hierarchy....
void InitFuncImpl(dispatch_tag< AnalogOutTasks::InitTask >, DynExp::InstrumentInstance &Instance) override final
Initializes the respective instrument within the instrument inheritance hierarchy....
void UpdateFuncImpl(dispatch_tag< AnalogOutTasks::UpdateTask >, DynExp::InstrumentInstance &Instance) override final
Updates the respective instrument within the instrument inheritance hierarchy. Call UpdateFuncImpl() ...
void ResetImpl(dispatch_tag< AnalogOut >) override final
Refer to DynExp::Object::Reset(). Using tag dispatch mechanism to ensure that ResetImpl() of every de...
DummyAnalogOut(const std::thread::id OwnerThreadID, DynExp::ParamsBasePtrType &&Params)
Refer to DynExp::ParamsBase::dispatch_tag.
Refer to DynExp::ParamsBase::dispatch_tag.
Refer to ParamsBase::dispatch_tag.
Definition Instrument.h:146
Defines data for a thread belonging to a InstrumentBase instance. Refer to RunnableInstance.
Definition Instrument.h:813
Refer to ParamsBase::dispatch_tag.
Definition Object.h:2018
Refer to DynExp::ParamsBase::dispatch_tag.
DynExp's instrument namespace contains the implementation of DynExp instruments which extend DynExp's...
std::unique_ptr< ParamsBase > ParamsBasePtrType
Alias for a pointer to the parameter system base class ParamsBase.
Definition Object.h:1807
Accumulates include statements to provide a precompiled header.