IoT::Datapoints

class BooleanDatapointImpl

File Information

Library: IoT/Datapoints
Package: Datapoints
Header: IoT/Datapoints/BooleanDatapointImpl.h

Description

A basic implementation of a BooleanDatapoint.

Inheritance

Direct Base Classes: BasicDatapointImpl < IoT::Devices::BooleanDatapoint, BooleanDatapointImpl >

All Base Classes: BasicDatapointImpl < IoT::Devices::BooleanDatapoint, BooleanDatapointImpl >

Member Summary

Member Functions: forceUpdate, getAccess, getDeviceIdentifier, getDisplayValue, getName, getSymbolicName, getType, getUpdated, invalidate, invert, unsafeUpdate, update, valid, validValue, value

Types Aliases

Interface

using Interface = IoT::Devices::BooleanDatapoint;

Params

using Params = BooleanDatapointParams;

Constructors

BooleanDatapointImpl

BooleanDatapointImpl() = delete;

BooleanDatapointImpl

BooleanDatapointImpl(
    const std::string & id,
    const Params & params
);

Creates the ScalarDatapointImpl.

Destructor

~BooleanDatapointImpl

~BooleanDatapointImpl();

Destroys the ScalarDatapointImpl.

Member Functions

forceUpdate

bool forceUpdate(
    bool value
);

Force an update, without performing an access check.

invalidate

void invalidate();

invert

bool invert();

update

bool update(
    bool value
);

valid

bool valid() const;

validValue

Poco::Optional < bool > validValue() const;

value

bool value() const;

getAccess protected

Poco::Any getAccess(
    const std::string & param8
) const;

getDeviceIdentifier protected

Poco::Any getDeviceIdentifier(
    const std::string & param3
) const;

getDisplayValue protected

Poco::Any getDisplayValue(
    const std::string & param2
) const;

getName protected

Poco::Any getName(
    const std::string & param4
) const;

getSymbolicName protected

Poco::Any getSymbolicName(
    const std::string & param6
) const;

getType protected

Poco::Any getType(
    const std::string & param5
) const;

getUpdated protected

Poco::Any getUpdated(
    const std::string & param7
) const;

unsafeUpdate protected

bool unsafeUpdate(
    bool value
);

Variables

SYMBOLIC_NAME static

static const std::string SYMBOLIC_NAME;

TYPE static

static const std::string TYPE;

Securely control IoT edge devices from anywhere   Connect a Device