Scope
scope::parameters::Behavior 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

ScopeValue< BehaviorModemode
 
ScopeNumber< bool > unlimited_repeats
 
ScopeNumber< uint32_t > repeats
 
std::vector< std::array< PlaneProperties, SCOPE_NAREAS > > planes
 
ScopeString gateline
 

Additional Inherited Members

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

Detailed Description

Parameters for behavior triggered acquisition.

Definition at line 109 of file Runstates.h.

Member Function Documentation

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

load parameters from a boost::property_tree

Reimplemented from scope::parameters::Base.

Definition at line 226 of file Runstates.cpp.

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

save parameters into a boost:property_tree

Reimplemented from scope::parameters::Base.

Definition at line 249 of file Runstates.cpp.

void scope::parameters::Behavior::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 269 of file Runstates.cpp.

Member Data Documentation

ScopeValue<BehaviorMode> scope::parameters::Behavior::mode

Which mode to use.

Definition at line 115 of file Runstates.h.

ScopeNumber<bool> scope::parameters::Behavior::unlimited_repeats

Should acquisition go on until Stop pressed (true) or until repeats done (false)?

Definition at line 118 of file Runstates.h.

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

How many repeats should be acquired if not unlimited_repeats?

Definition at line 121 of file Runstates.h.

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

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

Definition at line 124 of file Runstates.h.

ScopeString scope::parameters::Behavior::gateline

The DAQmx digital line for gating.

Acquisition as long as this line is high, stops on low, restarts on next high etc

Definition at line 127 of file Runstates.h.


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