IoT::Devices

class SwitchSkeleton

File Information

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

Description

The base class for switchable things (that can be turned on and off).

A Switch has a current state and a target state. Depending upon the implementation, the current state and target state may be different for a short amount of time (e.g., while the device is powering on).

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

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

Inheritance

Direct Base Classes: Poco::RemotingNG::Skeleton

All Base Classes: Poco::RefCountedObject, Poco::RemotingNG::AttributedObject, Poco::RemotingNG::Skeleton

Member Summary

Member Functions: remoting__typeId

Inherited Functions: addMethodHandler, clearAttributes, countAttributes, duplicate, enumerateAttributes, getAttribute, hasAttribute, invoke, operator =, referenceCount, release, removeAttribute, setAttribute

Constructors

SwitchSkeleton

SwitchSkeleton();

Creates a SwitchSkeleton.

Destructor

~SwitchSkeleton virtual

virtual ~SwitchSkeleton();

Destroys a SwitchSkeleton.

Member Functions

remoting__typeId virtual inline

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

Variables

DEFAULT_NS static

static const std::string DEFAULT_NS;

Securely control IoT edge devices from anywhere   Connect a Device