Poco::RemotingNG

class Identifiable

File Information

Library: RemotingNG
Package: ORB
Header: Poco/RemotingNG/Identifiable.h

Description

An Identifiable object stores a TypeId, ObjectId and URI for an object.

The remoting__ prefix for the Identifiable member functions and variables is used to avoid name clashes with methods from subclasses.

Inheritance

Direct Base Classes: Poco::RefCountedObject

All Base Classes: Poco::RefCountedObject

Known Derived Classes: IoT::Settings::SettingsServiceRemoteObject, RemoteObject, IoT::S7PLC::S7PLCClientRemoteObject, IoT::XBee::XBeeNodeRemoteObject, IoT::Mailer::MailerServiceRemoteObject, IoT::SMS::ShortMessageServiceRemoteObject, Proxy, IoT::BtLE::PeripheralBrowserRemoteObject, IoT::MQTT::MQTTClientRemoteObject, IoT::Modbus::ModbusMasterRemoteObject, IoT::OPC::OPCClientRemoteObject, IoT::NetworkEnvironment::NetworkEnvironmentServiceRemoteObject, IoT::BtLE::PeripheralRemoteObject, IoT::CAN::CANEndpointRemoteObject, IoT::BtLE::PeripheralManagerRemoteObject, IoT::DeviceStatus::DeviceStatusServiceRemoteObject, IoT::UDP::UDPEndpointRemoteObject, IoT::MobileConnection::MobileConnectionServiceRemoteObject, IoT::WebEvent::WebEventNotifierRemoteObject, IoT::Devices::CounterRemoteObject, IoT::Devices::CompositeRemoteObject, IoT::Devices::SensorRemoteObject, IoT::Devices::BarcodeReaderRemoteObject, IoT::Devices::BooleanDatapointRemoteObject, IoT::Devices::BooleanSensorRemoteObject, IoT::Devices::DeviceTreeRemoteObject, IoT::Devices::FlagsDatapointRemoteObject, IoT::Devices::LEDRemoteObject, IoT::Devices::VectorDatapointRemoteObject, IoT::Devices::IORemoteObject, IoT::Devices::MagnetometerRemoteObject, IoT::Devices::RotaryEncoderRemoteObject, IoT::Devices::SerialDeviceRemoteObject, IoT::Devices::TriggerRemoteObject, IoT::Devices::DeviceRemoteObject, IoT::Devices::EnumDatapointRemoteObject, IoT::Devices::ScalarDatapointRemoteObject, IoT::Devices::CameraRemoteObject, IoT::Devices::CounterDatapointRemoteObject, IoT::Devices::DatapointRemoteObject, IoT::Devices::GNSSSensorRemoteObject, IoT::Devices::SwitchRemoteObject, IoT::Datapoints::DatapointFactoryRemoteObject, IoT::Devices::AccelerometerRemoteObject, IoT::Devices::GyroscopeRemoteObject, IoT::Devices::StringDatapointRemoteObject

Member Summary

Member Functions: remoting__getURI, remoting__objectId, remoting__setURI, remoting__typeId

Inherited Functions: duplicate, referenceCount, release

Types Aliases

ObjectId

using ObjectId = std::string;

Ptr

using Ptr = Poco::AutoPtr < Identifiable >;

TypeId

using TypeId = std::string;

Constructors

Identifiable

Identifiable(
    const Identifiable::ObjectId & oid
);

Creates the Identifiable using the given ObjectId.

Destructor

~Identifiable virtual

virtual ~Identifiable();

Destroys the Identifiable.

Member Functions

remoting__getURI inline

const Poco::URI & remoting__getURI() const;

Returns the object's URI.

remoting__objectId inline

const Identifiable::ObjectId & remoting__objectId() const;

Returns the object's ObjectId.

remoting__setURI

void remoting__setURI(
    const Poco::URI & uri
);

Sets the URI for the object.

remoting__typeId virtual

virtual const Identifiable::TypeId & remoting__typeId() const = 0;

Returns the object's TypeId.

The TypeId is defined by a subclass and cannot be changed.

Securely control IoT edge devices from anywhere   Connect a Device