class
AudioSensorAttributesClass to support creating audio sensors.
Base classes
- class AbstractSensorAttributes
- Attributes object holding the descriptions of a Sensor object.
Constructors, destructors, conversion operators
-
AudioSensorAttributes(const std::
string& handle = "") explicit
Public functions
-
void populateWithSensorSpec(const std::
shared_ptr<esp:: sensor:: SensorSpec>& spec) override - Populate this audio attributes from an appropriate sensor::
AudioSensorSpec.
Protected functions
- void writeValuesToJsonInternal(io::JsonGenericValue& jsonObj, io::JsonAllocator& allocator) const override
- Write Audio Sensor-specific values to json object.
-
auto getAbstractSensorInfoHeaderInternal() const -> std::
string override - get AbstractSensorAttributes-specific info header
-
auto getAbstractSensorInfoInternal() const -> std::
string override - get AbstractObject specific info for csv string