44 [[nodiscard]] std::string
type()
const override;
47 [[nodiscard]]
static std::string
category();
54 [[nodiscard]]
json save()
const override;
Class to read out Espressif Sensors.
nlohmann::json json
json namespace
Abstract Uart Sensor Class.
void guiConfig() override
ImGui config window which is shown on double click.
bool resetNode() override
Resets the node. It is guaranteed that the node is initialized when this is called.
EspressifSensor()
Default constructor.
static std::string typeStatic()
String representation of the Class Type.
vendor::espressif::EspressifUartSensor _sensor
Sensor Object.
std::string type() const override
String representation of the Class Type.
void restore(const json &j) override
Restores the node from a json object.
void deinitialize() override
Deinitialize the node.
~EspressifSensor() override
Destructor.
static constexpr size_t OUTPUT_PORT_INDEX_WIFI_OBS
Flow (EspressifObs)
static std::string category()
String representation of the Class Category.
EspressifSensor(EspressifSensor &&)=delete
Move constructor.
json save() const override
Saves the node into a json object.
EspressifSensor & operator=(const EspressifSensor &)=delete
Copy assignment operator.
static void binaryAsyncMessageReceived(void *userData, uart::protocol::Packet &p, size_t index)
Callback handler for notifications of new asynchronous data packets received.
EspressifSensor(const EspressifSensor &)=delete
Copy constructor.
bool initialize() override
Initialize the node.
EspressifSensor & operator=(EspressifSensor &&)=delete
Move assignment operator.
Node(std::string name)
Constructor.
UartSensor(const UartSensor &)=delete
Copy constructor.
Class to read out Espressif Sensors.