Scope
scope::parameters::Timeseries Class Reference

#include <Runstates.h>

Inherits scope::parameters::Base.

Public Member Functions

void Load (const wptree &pt) override
 
void Save (wptree &pt) const override
 
void SetReadOnlyWhileScanning (const RunState &_runstate) override
 

Public Attributes

std::array< ScopeNumber< uint32_t >, SCOPE_NAREAS > frames
 
std::array< ScopeNumber< double >, SCOPE_NAREAS > totaltimes
 
ScopeString triggerchannel
 
ScopeNumber< bool > triggered
 
ScopeNumber< bool > alltriggered
 
ScopeNumber< uint32_t > repeats
 
ScopeNumber< double > betweenrepeats
 
ScopeNumber< double > overalltime
 
std::vector< std::array< PlaneProperties, SCOPE_NAREAS > > planes
 

Protected Member Functions

void CheckTimes ()
 

Additional Inherited Members

- Protected Attributes inherited from scope::parameters::Base
std::vector< boost::signals2::connection > connection_collector
 

Detailed Description

Parameters for timeseries acquisition.

Definition at line 66 of file Runstates.h.

Member Function Documentation

void scope::parameters::Timeseries::Load ( const wptree &  pt)
overridevirtual

load parameters from a boost::property_tree

Reimplemented from scope::parameters::Base.

Definition at line 149 of file Runstates.cpp.

void scope::parameters::Timeseries::Save ( wptree &  pt) const
overridevirtual

save parameters into a boost:property_tree

Reimplemented from scope::parameters::Base.

Definition at line 178 of file Runstates.cpp.

void scope::parameters::Timeseries::SetReadOnlyWhileScanning ( const RunState _runstate)
overridevirtual

set values that must not be changed to read-only during scanning.

True = readonly, false = read&write

Reimplemented from scope::parameters::Base.

Definition at line 205 of file Runstates.cpp.

void scope::parameters::Timeseries::CheckTimes ( )
protected

Check and correct times (e.g.

betweenrepats must be bigger than duration of one timeseries etc)

Member Data Documentation

std::array<ScopeNumber<uint32_t>, SCOPE_NAREAS> scope::parameters::Timeseries::frames

number of frames in timeseries for each area

Definition at line 72 of file Runstates.h.

std::array<ScopeNumber<double>, SCOPE_NAREAS> scope::parameters::Timeseries::totaltimes

total acquisition time for each area

Definition at line 75 of file Runstates.h.

ScopeString scope::parameters::Timeseries::triggerchannel

channel name for trigger input

Definition at line 78 of file Runstates.h.

ScopeNumber<bool> scope::parameters::Timeseries::triggered

the current/first repeat is triggered on triggerchannel

Definition at line 81 of file Runstates.h.

ScopeNumber<bool> scope::parameters::Timeseries::alltriggered

every repeat is triggered

Definition at line 84 of file Runstates.h.

ScopeNumber<uint32_t> scope::parameters::Timeseries::repeats

How often should the timeseries be repeated.

Definition at line 87 of file Runstates.h.

ScopeNumber<double> scope::parameters::Timeseries::betweenrepeats

Time in seconds between the beginning of one and beginning of the next timeseries.

Definition at line 90 of file Runstates.h.

ScopeNumber<double> scope::parameters::Timeseries::overalltime

time in seconds for all timeseries

Definition at line 93 of file Runstates.h.

std::vector<std::array<PlaneProperties, SCOPE_NAREAS> > scope::parameters::Timeseries::planes

vector with properties for all planes, for alternating planes on repeating timeseries, one for each area

Definition at line 96 of file Runstates.h.


The documentation for this class was generated from the following files: