10 auto InstrParams = DynExp::dynamic_Params_cast<TimeTagger>(Instance.
ParamsGetter());
11 auto InstrData = DynExp::dynamic_InstrumentData_cast<TimeTagger>(Instance.
InstrumentDataGetter());
14 InstrData->GetSampleStream()->SetStreamSize(InstrParams->StreamSizeParams.StreamSize);
17 InstrData->SetStreamMode(InstrParams->StreamMode);
24 auto InstrParams = DynExp::dynamic_Params_cast<TimeTagger>(Instance.
ParamsGetter());
25 auto InstrData = DynExp::dynamic_InstrumentData_cast<TimeTagger>(Instance.
InstrumentDataGetter());
27 InstrData->GetSampleStream()->SetStreamSize(InstrParams->StreamSizeParams.StreamSize);
36 IntegrationTime = std::chrono::microseconds(0);
43 this->StreamMode = StreamMode;
44 StreamModeChanged =
true;
49 StreamMode = StreamModeType::Counts;
58 {
"Sample accumulated counts detected within an exposure interval.", TimeTaggerData::StreamModeType::Counts },
59 {
"Sample time tags denoting the occurrence of single counts.", TimeTaggerData::StreamModeType::Events }
@ Counts
Count rate in counts per second (cps)
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.
std::function< void(const TaskBase &, ExceptionContainer &)> CallbackType
Type of a callback function which is invoked when a task has finished, failed or has been aborted....
Defines the return type of task functions.
Thrown when a requested feature is either under development and thus not implemented yet or when a sp...
DynExp's instrument namespace contains the implementation of DynExp instruments which extend DynExp's...
std::chrono::duration< double, std::pico > picoseconds
Extends std::chrono by a duration data type for picoseconds.
std::vector< std::pair< TextType, ValueType > > TextValueListType
Type of a list containing key-value pairs where key is a text of type Util::TextType.
Accumulates include statements to provide a precompiled header.