5#ifndef PROFILE_BUILDER_H
6#define PROFILE_BUILDER_H
41class profile_builder {
136 profile_builder &
operator=(
const profile_builder &) =
delete;
137 profile_builder &
operator=(profile_builder &&) =
delete;
141 std::unique_ptr<impl> _impl;
The analog common data definitions.
bool add_four_wire_rtd(std::string label, analog::pin_t positive_a, analog::pin_t negative_b, analog::pin_t positive_b)
Add a 4 wire Pt100 resistive thermal detector.
profile_builder & operator=(const profile_builder &)=delete
Deleted constructors.
bool add_one_wire_resistive_sensor(std::string label, analog::pin_t positive_a)
Add a one wire resistive sensor.
bool add_three_wire_rtd(std::string label, analog::pin_t positive_a, analog::pin_t negative_b)
Add a 3 wire Pt100 resistive thermal detector.
profile_builder(const profile_builder &)=delete
Deleted constructors.
bool add_thermocouple(std::string label, analog::thermocouple_t type, analog::pin_t positive_pin, analog::pin_t negative_pin)
Add a thermocouple.
profile_builder(profile_builder &&)=delete
Deleted constructors.
bool add_two_wire_rtd(std::string label, analog::pin_t positive_a)
Add a 2 wire Pt100 resistive thermal detector.
bool add_two_wire_resistive_sensor(std::string label, analog::pin_t positive_a)
Add a two wire resistive sensor which uses RREF for a more accurate reading. The trade-off is that on...
bool add_voltage_sensor(std::string label, analog::pin_t positive_pin)
Add a voltage sensor.
profile_builder & operator=(profile_builder &&)=delete
Deleted constructors.
analog::analog_profile to_profile()
Export the profile.
~profile_builder()
Destructor.
std::tuple< std::vector< sensor >, std::vector< function_channel > > analog_profile
Representation of an analog profile.
Definition analog.h:32
thermocouple_t
Thermocouple type.
Definition analog_common.h:206
pin_t
Pin designations.
Definition analog_common.h:169
Any entities that belong to the IO library.