Instrument Neutral Distributed Interface INDI 2.2.5
geminipbh::TelemetrySnapshot Struct Reference

#include <telemetry_snapshot.h>

Public Member Functions

 TelemetrySnapshot (std::array< bool, DcOutputCount > dcOutputs, std::array< bool, UsbOutputCount > usbOutputs, bool aht20Attached, bool ds18b20Attached, std::array< bool, HeaterCount > heaterEnabled, std::array< HeaterMode, HeaterCount > heaterModes, std::array< double, HeaterCount > heaterOutputPercent, double deviceSurfaceTemperatureC, double airTemperatureC, double humidityPercent, double dewPointC, double inputVoltageV, double outputCurrentA, double outputPowerW, unsigned long long sequence, std::chrono::steady_clock::time_point timestamp)

Public Attributes

const std::array< bool, DcOutputCount > dcOutputs
const std::array< bool, UsbOutputCount > usbOutputs
const bool aht20Attached
const bool ds18b20Attached
const std::array< bool, HeaterCount > heaterEnabled
const std::array< HeaterMode, HeaterCount > heaterModes
const std::array< double, HeaterCount > heaterOutputPercent
const double deviceSurfaceTemperatureC
const double airTemperatureC
const double humidityPercent
const double dewPointC
const double inputVoltageV
const double outputCurrentA
const double outputPowerW
const unsigned long long sequence
const std::chrono::steady_clock::time_point timestamp

Static Public Attributes

static constexpr std::size_t DcOutputCount = 4
static constexpr std::size_t UsbOutputCount = 6
static constexpr std::size_t HeaterCount = 2

Detailed Description

Definition at line 35 of file telemetry_snapshot.h.

Constructor & Destructor Documentation

◆ TelemetrySnapshot()

geminipbh::TelemetrySnapshot::TelemetrySnapshot ( std::array< bool, DcOutputCount > dcOutputs,
std::array< bool, UsbOutputCount > usbOutputs,
bool aht20Attached,
bool ds18b20Attached,
std::array< bool, HeaterCount > heaterEnabled,
std::array< HeaterMode, HeaterCount > heaterModes,
std::array< double, HeaterCount > heaterOutputPercent,
double deviceSurfaceTemperatureC,
double airTemperatureC,
double humidityPercent,
double dewPointC,
double inputVoltageV,
double outputCurrentA,
double outputPowerW,
unsigned long long sequence,
std::chrono::steady_clock::time_point timestamp )
inline

Definition at line 58 of file telemetry_snapshot.h.

Member Data Documentation

◆ aht20Attached

const bool geminipbh::TelemetrySnapshot::aht20Attached

Definition at line 43 of file telemetry_snapshot.h.

◆ airTemperatureC

const double geminipbh::TelemetrySnapshot::airTemperatureC

Definition at line 49 of file telemetry_snapshot.h.

◆ DcOutputCount

std::size_t geminipbh::TelemetrySnapshot::DcOutputCount = 4
staticconstexpr

Definition at line 37 of file telemetry_snapshot.h.

◆ dcOutputs

const std::array<bool, DcOutputCount> geminipbh::TelemetrySnapshot::dcOutputs

Definition at line 41 of file telemetry_snapshot.h.

◆ deviceSurfaceTemperatureC

const double geminipbh::TelemetrySnapshot::deviceSurfaceTemperatureC

Definition at line 48 of file telemetry_snapshot.h.

◆ dewPointC

const double geminipbh::TelemetrySnapshot::dewPointC

Definition at line 51 of file telemetry_snapshot.h.

◆ ds18b20Attached

const bool geminipbh::TelemetrySnapshot::ds18b20Attached

Definition at line 44 of file telemetry_snapshot.h.

◆ HeaterCount

std::size_t geminipbh::TelemetrySnapshot::HeaterCount = 2
staticconstexpr

Definition at line 39 of file telemetry_snapshot.h.

◆ heaterEnabled

const std::array<bool, HeaterCount> geminipbh::TelemetrySnapshot::heaterEnabled

Definition at line 45 of file telemetry_snapshot.h.

◆ heaterModes

const std::array<HeaterMode, HeaterCount> geminipbh::TelemetrySnapshot::heaterModes

Definition at line 46 of file telemetry_snapshot.h.

◆ heaterOutputPercent

const std::array<double, HeaterCount> geminipbh::TelemetrySnapshot::heaterOutputPercent

Definition at line 47 of file telemetry_snapshot.h.

◆ humidityPercent

const double geminipbh::TelemetrySnapshot::humidityPercent

Definition at line 50 of file telemetry_snapshot.h.

◆ inputVoltageV

const double geminipbh::TelemetrySnapshot::inputVoltageV

Definition at line 52 of file telemetry_snapshot.h.

◆ outputCurrentA

const double geminipbh::TelemetrySnapshot::outputCurrentA

Definition at line 53 of file telemetry_snapshot.h.

◆ outputPowerW

const double geminipbh::TelemetrySnapshot::outputPowerW

Definition at line 54 of file telemetry_snapshot.h.

◆ sequence

const unsigned long long geminipbh::TelemetrySnapshot::sequence

Definition at line 55 of file telemetry_snapshot.h.

◆ timestamp

const std::chrono::steady_clock::time_point geminipbh::TelemetrySnapshot::timestamp

Definition at line 56 of file telemetry_snapshot.h.

◆ UsbOutputCount

std::size_t geminipbh::TelemetrySnapshot::UsbOutputCount = 6
staticconstexpr

Definition at line 38 of file telemetry_snapshot.h.

◆ usbOutputs

const std::array<bool, UsbOutputCount> geminipbh::TelemetrySnapshot::usbOutputs

Definition at line 42 of file telemetry_snapshot.h.


The documentation for this struct was generated from the following file: