10 auto InstrParams = DynExp::dynamic_Params_cast<DummyDataStreamInstrument>(Instance.
ParamsGetter());
11 auto InstrData = DynExp::dynamic_InstrumentData_cast<DummyDataStreamInstrument>(Instance.
InstrumentDataGetter());
13 InstrData->GetSampleStream()->SetStreamSize(InstrParams->StreamSizeParams.StreamSize);
20 auto InstrParams = DynExp::dynamic_Params_cast<DummyDataStreamInstrument>(Instance.
ParamsGetter());
21 auto InstrData = DynExp::dynamic_InstrumentData_cast<DummyDataStreamInstrument>(Instance.
InstrumentDataGetter());
23 InstrData->GetSampleStream()->SetStreamSize(InstrParams->StreamSizeParams.StreamSize);
Implementation of a data stream instrument without any related physical hardware.
void ResetImpl(dispatch_tag< FunctionGeneratorData >) override final
void InitFuncImpl(dispatch_tag< FunctionGeneratorTasks::InitTask >, DynExp::InstrumentInstance &Instance) override final
Initializes the respective instrument within the instrument inheritance hierarchy....
virtual DynExp::TaskResultType RunChild(DynExp::InstrumentInstance &Instance) override
Runs the task. Override RunChild() to define a derived task's action(s). Any exception leaving RunChi...
void ResetImpl(dispatch_tag< FunctionGenerator >) override final
Refer to DynExp::Object::Reset(). Using tag dispatch mechanism to ensure that ResetImpl() of every de...
DummyDataStreamInstrument(const std::thread::id OwnerThreadID, DynExp::ParamsBasePtrType &&Params)
Function generator meta instrument based on the data stream meta instrument to generate waveforms by ...
Refer to DynExp::ParamsBase::dispatch_tag.
Refer to ParamsBase::dispatch_tag.
Defines data for a thread belonging to a InstrumentBase instance. Refer to RunnableInstance.
const InstrumentBase::InstrumentDataGetterType InstrumentDataGetter
Getter for instrument's data. Refer to InstrumentBase::InstrumentDataGetterType.
Refer to ParamsBase::dispatch_tag.
const Object::ParamsGetterType ParamsGetter
Invoke to obtain the parameters (derived from ParamsBase) of Owner.
Defines the return type of task functions.
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.
Accumulates include statements to provide a precompiled header.