Poco::RemotingNG

class Identifiable

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: Proxy, RemoteObject

Member Summary

Member Functions: remoting__getURI, remoting__objectId, remoting__setURI, remoting__typeId

Inherited Functions: duplicate, referenceCount, release

Types

ObjectId

typedef std::string ObjectId;

Ptr

typedef Poco::AutoPtr < Identifiable > Ptr;

TypeId

typedef std::string TypeId;

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.