IoT::Devices

class BarcodeReaderEventDispatcher

File Information

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

Description

The base class for barcode reader devices.

Only a single event, barcodeRead, is supported. Any device-specific configuration should be done via device features and properties.

Inheritance

Direct Base Classes: Poco::RemotingNG::EventDispatcher

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

Member Summary

Member Functions: event__barcodeRead, event__statusChanged, remoting__typeId

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

Constructors

BarcodeReaderEventDispatcher

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

Destructor

~BarcodeReaderEventDispatcher virtual

virtual ~BarcodeReaderEventDispatcher();

Member Functions

event__barcodeRead

void event__barcodeRead(
    const void * pSender,
    const IoT::Devices::BarcodeReadEvent & 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