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

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