IoT::Datapoints

class StringDatapointImpl

File Information

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

Description

A basic implementation of a StringDatapoint.

Inheritance

Direct Base Classes: BasicDatapointImpl < IoT::Devices::StringDatapoint, StringDatapointImpl >

All Base Classes: BasicDatapointImpl < IoT::Devices::StringDatapoint, StringDatapointImpl >

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::StringDatapoint;

Params

using Params = StringDatapointParams;

Constructors

StringDatapointImpl

StringDatapointImpl() = delete;

StringDatapointImpl

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

Creates the ScalarDatapointImpl.

Destructor

~StringDatapointImpl

~StringDatapointImpl();

Destroys the ScalarDatapointImpl.

Member Functions

forceUpdate

void forceUpdate(
    const std::string & value
);

Force an update, without performing an access check.

invalidate

void invalidate();

update

void update(
    const std::string & value
);

valid

bool valid() const;

validValue

Poco::Optional < std::string > validValue() const;

value

std::string value() const;

getAccess protected

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

getDeviceIdentifier protected

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

getDisplayValue protected

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

getName protected

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

getSymbolicName protected

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

getType protected

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

getUpdated protected

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

unsafeUpdate protected

void unsafeUpdate(
    const std::string & 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