![]() |
A class representing an experiment to apply the stepped current.
More...
#include <AisSteppedCurrentElement.h>
#include <AisSteppedCurrentElement.h>
Public Member Functions | |
| AisSteppedCurrentElement (double startCurrent, double endCurrent, double stepSize, double stepDuration, double samplingInterval) | |
| Constructs a Stepped Current element. | |
| AisSteppedCurrentElement (const AisSteppedCurrentElement &) | |
| copy constructor for the AisSteppedCurrentElement object. | |
| AisSteppedCurrentElement & | operator= (const AisSteppedCurrentElement &) |
| overload equal to operator for the AisSteppedCurrentElement object. | |
| QString | getName () const override |
| get the name of the element. | |
| QStringList | getCategory () const override |
| get a list of applicable categories of the element. | |
| double | getSamplingInterval () const |
| get how frequently we are sampling the data. | |
| void | setSamplingInterval (double samplingInterval) |
| set how frequently we are sampling the data. | |
| double | getEndCurrent () const |
| Gets the ending current value for the stepped experiment. | |
| void | setEndCurrent (double iEnd) |
| Sets the ending current value for the stepped experiment. | |
| double | getStepSize () const |
| Gets the size of each current step in the stepped experiment. | |
| void | setStepSize (double iStep) |
| Sets the size of each current step in the stepped experiment. | |
| double | getStartCurrent () const |
| Gets the starting current value for the stepped experiment. | |
| void | setStartCurrent (double iStart) |
| Sets the starting current value for the stepped experiment. | |
| double | getStepDuration () const |
| Gets the duration of each current step in the stepped experiment. | |
| void | setStepDuration (double tStep) |
| Sets the duration of each current step in the stepped experiment. | |
| double | getApproxMaxVoltage () const |
| get the value set for the expected maximum voltage. | |
| void | setApproxMaxVoltage (double approxMaxVoltage) |
| set maximum voltage expected, for manual voltage range selection. | |
| double | getApproxMinVoltage () const |
| get the value set for the expected minimum voltage. | |
| void | setApproxMinVoltage (double approxMinVoltage) |
| set minimum voltage expected, for manual voltage range selection. | |
|
explicit |
This constructor initializes the Stepped Current element with the specified parameters.
| startCurrent | The initial current value in amperes. |
| endCurrent | The final current value in amperes. |
| stepSize | The size of each current step in amperes. |
| stepDuration | The duration of each current step in seconds. |
| samplingInterval | The data sampling interval value in seconds. |
| double AisSteppedCurrentElement::getApproxMaxVoltage | ( | ) | const |
| double AisSteppedCurrentElement::getApproxMinVoltage | ( | ) | const |
|
override |
| double AisSteppedCurrentElement::getEndCurrent | ( | ) | const |
|
override |
| double AisSteppedCurrentElement::getSamplingInterval | ( | ) | const |
| double AisSteppedCurrentElement::getStartCurrent | ( | ) | const |
| double AisSteppedCurrentElement::getStepDuration | ( | ) | const |
| double AisSteppedCurrentElement::getStepSize | ( | ) | const |
| void AisSteppedCurrentElement::setApproxMaxVoltage | ( | double | approxMaxVoltage | ) |
This is an optional parameter. If nothing is set, the device will auto-select the voltage range.
| approxMaxVoltage | the value for the maximum current expected in V. |
| void AisSteppedCurrentElement::setApproxMinVoltage | ( | double | approxMinVoltage | ) |
This is an optional parameter. If nothing is set, the device will auto-select the voltage range.
| approxMinVoltage | the value for the minimum current expected in V. |
| void AisSteppedCurrentElement::setEndCurrent | ( | double | iEnd | ) |
| iEnd | The ending current value in amperes. |
| void AisSteppedCurrentElement::setSamplingInterval | ( | double | samplingInterval | ) |
| samplingInterval | the data sampling interval value in seconds. |
| void AisSteppedCurrentElement::setStartCurrent | ( | double | iStart | ) |
| iStart | The starting current value in amperes. |
| void AisSteppedCurrentElement::setStepDuration | ( | double | tStep | ) |
| tStep | The duration of each current step in seconds. |
| void AisSteppedCurrentElement::setStepSize | ( | double | iStep | ) |
| iStep | The size of each current step in amperes. |