IoT::Devices

class RotaryEncoderEventDispatcher

File Information

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

Description

A rotary encoder with an optional push button, based on the Counter interface.

Inheritance

Direct Base Classes: Poco::RemotingNG::EventDispatcher

All Base Classes: Poco::RefCountedObject, Poco::RemotingNG::EventDispatcher

Member Summary

Member Functions: event__buttonStateChanged, event__countChanged, event__statusChanged, remoting__typeId

Inherited Functions: accept, attributes, duplicate, protocol, referenceCount, release, removeEventFilter, setEventFilter, setEventFilterImpl, subscribe, transportForSubscriber, unsubscribe

Constructors

RotaryEncoderEventDispatcher

RotaryEncoderEventDispatcher(
    IRotaryEncoder * pInterface,
    const Poco::RemotingNG::Identifiable::ObjectId & objectId,
    const std::string & protocol
);

Destructor

~RotaryEncoderEventDispatcher virtual

virtual ~RotaryEncoderEventDispatcher();

Member Functions

event__buttonStateChanged

void event__buttonStateChanged(
    const void * pSender,
    const bool & data
);

event__countChanged

void event__countChanged(
    const void * pSender,
    const Poco::Int32 & data
);

event__statusChanged

void event__statusChanged(
    const void * pSender,
    const IoT::Devices::DeviceStatusChange & data
);

remoting__typeId virtual inline

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

Securely control IoT edge devices from anywhere   Connect a Device