2 #include "parameters/Storage.h"
3 #include "helpers/ScopeException.h"
13 : folder(L
"C:\\ScopeData\\", L
"Folder")
14 , basename(L
"test", L
"Basename")
15 , autosave(true, false, true, L
"Autosave")
16 , savelive(false, false, true, L
"SaveLive")
17 , saveparameters(true, false, true, L
"SaveParameters")
18 , usetifftags(true, false, true, L
"UseTIFFTags")
19 , compresstiff(true, false, true, L
"CompressTIFF") {
43 const bool enabler = (_runstate.
t==RunStateHelper::Mode::Stopped)?
true:
false;
ScopeString basename
basename for image files
ScopeNumber< bool > autosave
autosave all acquisitions (except live scan)
void Save(wptree &pt) const override
save parameters into a boost:property_tree
void AddToPropertyTree(boost::property_tree::wptree &pt) const
Adds the value to a Boost property tree, using its name and value.
ScopeNumber< bool > savelive
autosave live scan acquisitions
ScopeNumber< bool > compresstiff
write compressed TIFF
Base class for all Scope datatypes here, provides a uniform interface (and saves typing...).
ScopeNumber< bool > usetifftags
write tiff tags for ImageJ etc.
ScopeString folder
folder to Save into
This is the include file for standard system include files, or project specific include files that ar...
T::Mode t
the enum from the template class
void Load(const wptree &pt) override
load parameters from a boost::property_tree
void SetRWState(const bool &_state)
Sets readonly/read-write state.
void SetReadOnlyWhileScanning(const RunState &_runstate) override
set values that must not be changed to read-only during scanning.
void SetFromPropertyTree(const boost::property_tree::wptree &pt)
Set value from a Boost property, using its name as a key.
ScopeNumber< bool > saveparameters
Save ScopeParameters in xml file.