Scope
scope::parameters::Storage Class Reference

#include <Storage.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

ScopeString folder
 
ScopeString basename
 
ScopeNumber< bool > autosave
 
ScopeNumber< bool > savelive
 
ScopeNumber< bool > saveparameters
 
ScopeNumber< bool > usetifftags
 
ScopeNumber< bool > compresstiff
 

Additional Inherited Members

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

Detailed Description

Parameters for storage.

Definition at line 19 of file Storage.h.

Member Function Documentation

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

load parameters from a boost::property_tree

Reimplemented from scope::parameters::Base.

Definition at line 22 of file Storage.cpp.

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

save parameters into a boost:property_tree

Reimplemented from scope::parameters::Base.

Definition at line 32 of file Storage.cpp.

void scope::parameters::Storage::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 42 of file Storage.cpp.

Member Data Documentation

ScopeString scope::parameters::Storage::folder

folder to Save into

Definition at line 25 of file Storage.h.

ScopeString scope::parameters::Storage::basename

basename for image files

Definition at line 28 of file Storage.h.

ScopeNumber<bool> scope::parameters::Storage::autosave

autosave all acquisitions (except live scan)

Definition at line 31 of file Storage.h.

ScopeNumber<bool> scope::parameters::Storage::savelive

autosave live scan acquisitions

Definition at line 34 of file Storage.h.

ScopeNumber<bool> scope::parameters::Storage::saveparameters

Save ScopeParameters in xml file.

Definition at line 37 of file Storage.h.

ScopeNumber<bool> scope::parameters::Storage::usetifftags

write tiff tags for ImageJ etc.

Definition at line 40 of file Storage.h.

ScopeNumber<bool> scope::parameters::Storage::compresstiff

write compressed TIFF

Definition at line 43 of file Storage.h.


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