IoT::Devices

class SensorSkeleton

File Information

Library: IoT/Devices
Package: Generated
Header: IoT/Devices/SensorSkeleton.h

Description

The base class for analog sensors, such as temperature or ambient light sensors.

In addition to the methods defined in this interface, a Sensor implementation should expose the following properties:

  • physicalQuantity (string): The physical quantity that is being measured by the sensor, e.g. "temperature".
  • physicalUnit (string): The physical unit the measured value is being represented in (e.g. "Cel" for degree Celsius). This should use the "c/s" symbols from the Unified Code for Units of Measure (http://unitsofmeasure.org/ucum.html). See the PHYSICAL_UNIT_* strings for predefined values.
  • displayValue (string, optional): The current value of the sensor, formatted as string for display purposes.

Inheritance

Direct Base Classes: Poco::RemotingNG::Skeleton

All Base Classes: Poco::RefCountedObject, Poco::RemotingNG::AttributedObject, Poco::RemotingNG::Skeleton

Member Summary

Member Functions: remoting__typeId

Inherited Functions: addMethodHandler, clearAttributes, countAttributes, duplicate, enumerateAttributes, getAttribute, hasAttribute, invoke, operator =, referenceCount, release, removeAttribute, setAttribute

Constructors

SensorSkeleton

SensorSkeleton();

Creates a SensorSkeleton.

Destructor

~SensorSkeleton virtual

virtual ~SensorSkeleton();

Destroys a SensorSkeleton.

Member Functions

remoting__typeId virtual inline

virtual const Poco::RemotingNG::Identifiable::TypeId & remoting__typeId() const;

Variables

DEFAULT_NS static

static const std::string DEFAULT_NS;

Securely control IoT edge devices from anywhere   Connect a Device