class ITrigger

File Information

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


The base class for triggers, such as push buttons or motion detectors.

In addition to the methods defined in this interface, a Trigger implementation should expose the following properties:

  • displayState (string, optional): The current state of the trigger, formatted as string for display purposes.


Direct Base Classes: IBooleanSensor

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

Known Derived Classes: TriggerRemoteObject

Member Summary

Member Functions: isA, remoting__typeId, type

Inherited Functions: duplicate, getFeature, getPropertyBool, getPropertyDouble, getPropertyInt, getPropertyInt16, getPropertyInt64, getPropertyString, getPropertyTimestamp, hasFeature, hasProperty, isA, referenceCount, release, remoting__enableEvents, remoting__typeId, setFeature, setPropertyBool, setPropertyDouble, setPropertyInt, setPropertyInt16, setPropertyInt64, setPropertyString, setPropertyTimestamp, state, type

Types Aliases


using Ptr = Poco::AutoPtr < ITrigger >;




Creates a ITrigger.


~ITrigger virtual

virtual ~ITrigger();

Destroys the ITrigger.

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__typeId static

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

Returns the TypeId of the class.

type virtual

const std::type_info & type() const;

Returns the type information for the object's class.

Securely control IoT edge devices from anywhere   Connect a Device