IoT::Devices

class Gyroscope

File Information

Library: IoT/Devices
Package: Devices
Header: IoT/Devices/Gyroscope.h

Description

The interface for three-axis Gyroscopes.

Inheritance

Direct Base Classes: Device

All Base Classes: Device

Member Summary

Member Functions: rotation

Inherited Functions: getFeature, getPropertyBool, getPropertyDouble, getPropertyInt, getPropertyInt16, getPropertyInt64, getPropertyString, getPropertyTimestamp, hasFeature, hasProperty, setFeature, setPropertyBool, setPropertyDouble, setPropertyInt, setPropertyInt16, setPropertyInt64, setPropertyString, setPropertyTimestamp

Constructors

Gyroscope

Gyroscope();

Creates the Gyroscope.

Destructor

~Gyroscope virtual

~Gyroscope();

Destroys the Gyroscope.

Member Functions

rotation virtual

virtual Rotation rotation() const = 0;

Returns the most recently measured rotation values.

Variables

rotationChanged

Poco::BasicEvent < const Rotation > rotationChanged;

Fired when new acceleration values are available.

Actual behavior of this event (e.g., minimum interval between fires) are implementation specific and can be configured via properties.

Securely control IoT edge devices from anywhere   Connect a Device