13 auto Instr = DynExp::dynamic_Object_cast<InputPort>(&Instance.
GetOwner());
17 const auto StreamSize = Instr->GetStreamSizeParams().StreamSize;
18 auto InstrData = DynExp::dynamic_InstrumentData_cast<InputPort>(Instance.
InstrumentDataGetter());
20 InstrData->GetSampleStream()->SetStreamSize(StreamSize);
23 auto InstrData = DynExp::dynamic_InstrumentData_cast<InputPort>(Instance.
InstrumentDataGetter());
24 InstrData->SetHardwareMinValue(Instr->GetHardwareMinValue());
25 InstrData->SetHardwareMaxValue(Instr->GetHardwareMaxValue());
26 InstrData->SetValueUnit(Instr->GetValueUnit());
31 auto Instr = DynExp::dynamic_Object_cast<InputPort>(&Instance.
GetOwner());
32 const auto StreamSize = Instr->GetStreamSizeParams().StreamSize;
33 auto InstrData = DynExp::dynamic_InstrumentData_cast<InputPort>(Instance.
InstrumentDataGetter());
35 InstrData->GetSampleStream()->SetStreamSize(StreamSize);
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 auto & GetOwner() const noexcept
Returns Owner.
Defines the return type of task functions.
DynExp's instrument namespace contains the implementation of DynExp instruments which extend DynExp's...
Accumulates include statements to provide a precompiled header.