IoT::Datapoints

class ScalarDatapointImpl

File Information

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

Description

A basic implementation of a ScalarDatapoint.

Inheritance

Direct Base Classes: BasicDatapointImpl < IoT::Devices::ScalarDatapoint, ScalarDatapointImpl >

All Base Classes: BasicDatapointImpl < IoT::Devices::ScalarDatapoint, ScalarDatapointImpl >

Member Summary

Member Functions: forceUpdate, getAccess, getDeviceIdentifier, getDisplayValue, getName, getPhysicalQuantity, getPhysicalUnit, getSymbolicName, getType, getUpdated, getValueChangedDelta, getValueChangedPeriod, invalidate, setValueChangedDelta, setValueChangedPeriod, unsafeUpdate, update, valid, validValue, value

Types Aliases

Interface

using Interface = IoT::Devices::ScalarDatapoint;

Params

using Params = ScalarDatapointParams;

Constructors

ScalarDatapointImpl

ScalarDatapointImpl() = delete;

ScalarDatapointImpl

ScalarDatapointImpl(
    const std::string & id,
    const Params & params,
    Poco::Util::Timer & timer
);

Creates the ScalarDatapointImpl.

Destructor

~ScalarDatapointImpl

~ScalarDatapointImpl();

Destroys the ScalarDatapointImpl.

Member Functions

forceUpdate

void forceUpdate(
    double value
);

Force an update, without performing an access check.

invalidate

void invalidate();

update

void update(
    double value
);

valid

bool valid() const;

validValue

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

value

double value() const;

getAccess protected

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

getDeviceIdentifier protected

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

getDisplayValue protected

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

getName protected

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

getPhysicalQuantity protected

Poco::Any getPhysicalQuantity(
    const std::string & param52
) const;

getPhysicalUnit protected

Poco::Any getPhysicalUnit(
    const std::string & param53
) const;

getSymbolicName protected

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

getType protected

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

getUpdated protected

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

getValueChangedDelta protected

Poco::Any getValueChangedDelta(
    const std::string & param45
) const;

getValueChangedPeriod protected

Poco::Any getValueChangedPeriod(
    const std::string & param43
) const;

setValueChangedDelta protected

void setValueChangedDelta(
    const std::string & param46,
    const Poco::Any & value
);

setValueChangedPeriod protected

void setValueChangedPeriod(
    const std::string & param44,
    const Poco::Any & value
);

unsafeUpdate protected

void unsafeUpdate(
    double 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