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
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
Poco::Any getAccess(
const std::string & param8
) const;
getDeviceIdentifier
Poco::Any getDeviceIdentifier(
const std::string & param3
) const;
getDisplayValue
Poco::Any getDisplayValue(
const std::string & param2
) const;
getName
Poco::Any getName(
const std::string & param4
) const;
getSymbolicName
Poco::Any getSymbolicName(
const std::string & param6
) const;
getType
Poco::Any getType(
const std::string & param5
) const;
getUpdated
Poco::Any getUpdated(
const std::string & param7
) const;
unsafeUpdate
bool unsafeUpdate(
bool value
);
Variables
SYMBOLIC_NAME
static const std::string SYMBOLIC_NAME;
TYPE
static const std::string TYPE;