File Information
Library: IoT/Devices
Package: Generated
Header: IoT/Devices/ITrigger.h
Description
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.
Inheritance
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
Ptr
using Ptr = Poco::AutoPtr < ITrigger >;
Constructors
ITrigger
ITrigger();
Creates a ITrigger.
Destructor
~ITrigger
virtual ~ITrigger();
Destroys the ITrigger.
Member Functions
isA
bool isA(
const std::type_info & otherType
) const;
Returns true if the class is a subclass of the class given by otherType.
See also: IoT::Devices::IBooleanSensor::isA()
remoting__typeId
static const Poco::RemotingNG::Identifiable::TypeId & remoting__typeId();
Returns the TypeId of the class.
type
const std::type_info & type() const;
Returns the type information for the object's class.
See also: IoT::Devices::IBooleanSensor::type()