IoT::Devices

class GNSSSensorEventDispatcher

File Information

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

Description

The interface for GNSS/GPS receivers.

Implementations of this class should also support the following (optional) properties for configuration:

  • positionChangedPeriod (int): the minimum time interval in milliseconds between firings of the positionUpdate event.
  • positionChangedDelta (int): the minimum distance (in meters) the receiver must move before the positionUpdate event is fired again.
  • positionTimeout (int): Timeout in milliseconds after which the positionLost event is fired if no valid position has been received from the GNSS receiver.

Inheritance

Direct Base Classes: Poco::RemotingNG::EventDispatcher

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

Member Summary

Member Functions: event__positionLost, event__positionUpdate, event__statusChanged, remoting__typeId

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

Constructors

GNSSSensorEventDispatcher

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

Destructor

~GNSSSensorEventDispatcher virtual

virtual ~GNSSSensorEventDispatcher();

Member Functions

event__positionLost

void event__positionLost(
    const void * pSender
);

event__positionUpdate

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