Scope
Plane.h
1 #pragma once
2 
3 #include "Base.h"
4 #include "helpers\ScopeNumber.h"
5 
6 namespace scope {
7 
8  namespace parameters {
9 
13  : public Base {
14 
15 public:
18 
21 
23  PlaneProperties(const double& _position = 0.0, const double& _pockels = 0.0);
24 
25  void Load(const wptree& pt) override;
26  void Save(wptree& pt) const override;
27 };
28 
29 }
30 
31 }
ScopeNumber< double > position
z position (um)
Definition: Plane.h:17
Parameters of a single plane for fast plane hopping/switching.
Definition: Plane.h:12
All parameter classes derive from this.
Definition: Base.h:21
void Load(const wptree &pt) override
load parameters from a boost::property_tree
Definition: Plane.cpp:16
void Save(wptree &pt) const override
save parameters into a boost:property_tree
Definition: Plane.cpp:21
PlaneProperties(const double &_position=0.0, const double &_pockels=0.0)
Quick construct.
Definition: Plane.cpp:11
ScopeNumber< double > pockels
Pockels/intensity value (Volts) for that plane.
Definition: Plane.h:20