Loading...
Searching...
No Matches
AisOpenCircuitElement.h
1#pragma once
2
3#include "AisAbstractElement.h"
4#include "AisSquidstatGlobal.h"
5#include <QString>
6
7class OpenCircuitElement;
8
18class SQUIDSTATLIBRARY_EXPORT AisOpenCircuitElement final : public AisAbstractElement {
19public:
26 double duration,
27 double samplingInterval);
36
37 ~AisOpenCircuitElement() override;
38
43 QString getName() const override;
44
49 QStringList getCategory() const override;
50
55 double getSamplingInterval() const;
56
61 void setSamplingInterval(double samplingInterval);
62
67 double getMaxDuration() const;
68
73 void setMaxDuration(double maxDuration);
74
81 double getMaxVoltage() const;
82
91 void setMaxVoltage(double maxVoltage);
92
98 double getMinVoltage() const;
99
108 void setMinVoltage(double minVoltage);
109
115 double getMindVdt() const;
116
125 void setMindVdt(double mindVdt);
126
131 bool isAutoVoltageRange() const;
132
139
145 double getApproxMaxVoltage() const;
146
154 void setApproxMaxVoltage(double approxMaxVoltage);
155
156private:
157 std::shared_ptr<OpenCircuitElement> m_dataDerived;
158};
This experiment observes the open circuit potential of the working electrode for a specific period of...
Definition AisOpenCircuitElement.h:18
void setMaxDuration(double maxDuration)
set the value set for the duration of the experiment.
void setMaxVoltage(double maxVoltage)
set a maximum voltage to stop the experiment.
AisOpenCircuitElement & operator=(const AisOpenCircuitElement &)
overload equal to operator for the AisOpenCircuitElement object.
QStringList getCategory() const override
get a list of applicable categories of the element.
double getMaxVoltage() const
get the value set for the maximum voltage. The experiment will end when it reaches this value.
AisOpenCircuitElement(double duration, double samplingInterval)
the open-circuit element constructor.
double getSamplingInterval() const
get how frequently we are sampling the data.
double getApproxMaxVoltage() const
get the value set for the expected maximum voltage.
bool isAutoVoltageRange() const
tells whether the voltage range is set to auto-select or not.
void setMinVoltage(double minVoltage)
set a minimum voltage to stop the experiment.
void setSamplingInterval(double samplingInterval)
set how frequently we are sampling the data.
void setMindVdt(double mindVdt)
set the minimum value for the voltage rate of change with respect to time (minimum dV/dt).
void setAutoVoltageRange()
set to auto-select the voltage range.
AisOpenCircuitElement(const AisOpenCircuitElement &)
copy constructor for the AisOpenCircuitElement object.
double getMinVoltage() const
get the value set minimum for the voltage in volts.
void setApproxMaxVoltage(double approxMaxVoltage)
set maximum voltage expected, for manual voltage range selection.
double getMindVdt() const
get the value set for the minimum voltage rate of change with respect to time (minimum dV/dt).
QString getName() const override
get the name of the element.
double getMaxDuration() const
get the value set for the duration of the experiment.