Library: Remoting
Package: Remoting
Header: Poco/Remoting/Identifiable.h
A Identifiable object adds type information and an object ID to the class. The remoting__ prefix for the Identifiable methods is used to avoid nameclashes with method names that RemoteObjects offer.
Direct Base Classes: Poco::RefCountedObject
All Base Classes: Poco::RefCountedObject
Known Derived Classes: Proxy, RemoteObject
Member Functions: remoting__getObjectId, remoting__getTypeId, remoting__setObjectId
Inherited Functions: duplicate, referenceCount, release
typedef std::string ObjectId;
typedef std::string TypeId;
Identifiable();
Creates the Identifiable with an empty Identifiable::ObjectId.
Identifiable(
const Identifiable::ObjectId & oid
);
Creates the Identifiable.
virtual ~Identifiable();
Destroys the Identifiable.
const Identifiable::ObjectId & remoting__getObjectId() const;
Allows to query for an objectId.
virtual const Identifiable::TypeId & remoting__getTypeId() const = 0;
Allows to query for a TypeId.
void remoting__setObjectId(
const Identifiable::ObjectId & oid
);
Allows to assign an objectid to the object.