class IGyroscope

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


The interface for three-axis Gyroscopes.


Direct Base Classes: IDevice

All Base Classes: IDevice, Poco::OSP::Service, Poco::RefCountedObject

Known Derived Classes: GyroscopeRemoteObject

Member Summary

Member Functions: isA, remoting__enableEvents, remoting__typeId, rotation, type

Inherited Functions: duplicate, getFeature, getPropertyBool, getPropertyDouble, getPropertyInt, getPropertyString, hasFeature, hasProperty, isA, referenceCount, release, remoting__enableEvents, remoting__typeId, setFeature, setPropertyBool, setPropertyDouble, setPropertyInt, setPropertyString, type

Types Aliases


using Ptr = Poco::AutoPtr < IGyroscope >;




Creates a IGyroscope.


~IGyroscope virtual

virtual ~IGyroscope();

Destroys the IGyroscope.

Member Functions

isA virtual

bool isA(
    const std::type_info & otherType
) const;

Returns true if the class is a subclass of the class given by otherType.

remoting__enableEvents virtual

virtual std::string remoting__enableEvents(
    Poco::RemotingNG::Listener::Ptr pListener,
    bool enable = bool (true)
) = 0;

Enable or disable delivery of remote events.

The given Listener instance must implement the Poco::RemotingNG::EventListener interface, otherwise this method will fail with a RemotingException.

This method is only used with Proxy objects; calling this method on a RemoteObject will do nothing.

remoting__typeId static

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

Returns the TypeId of the class.

rotation virtual

virtual IoT::Devices::Rotation rotation() const = 0;

Returns the most recently measured rotation values.

type virtual

const std::type_info & type() const;

Returns the type information for the object's class.



Poco::BasicEvent < const Rotation > rotationChanged;

Securely control IoT edge devices from anywhere   Connect a Device