IoT::Datapoints

class VectorDatapointImpl

File Information

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

Description

A basic implementation of a VectorDatapoint.

Inheritance

Direct Base Classes: BasicDatapointImpl < IoT::Devices::VectorDatapoint, VectorDatapointImpl >

All Base Classes: BasicDatapointImpl < IoT::Devices::VectorDatapoint, VectorDatapointImpl >

Member Summary

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

Types Aliases

Interface

using Interface = IoT::Devices::VectorDatapoint;

Params

using Params = VectorDatapointParams;

Constructors

VectorDatapointImpl

VectorDatapointImpl() = delete;

VectorDatapointImpl

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

Creates the ScalarDatapointImpl.

Destructor

~VectorDatapointImpl

~VectorDatapointImpl();

Destroys the ScalarDatapointImpl.

Member Functions

forceUpdate

void forceUpdate(
    const Vector & value
);

Force an update, without performing an access check.

invalidate

void invalidate();

update

void update(
    const Vector & value
);

valid

bool valid() const;

validValue

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

value

Vector value() const;

getAccess protected

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

getDeviceIdentifier protected

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

getDisplayValue protected

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

getName protected

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

getSymbolicName protected

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

getType protected

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

getUpdated protected

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

unsafeUpdate protected

void unsafeUpdate(
    const Vector & 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