20 #ifndef CO_OBJECTHANDLER_H
21 #define CO_OBJECTHANDLER_H
65 const uint128_t& version,
99 const uint32_t instanceID=CO_INSTANCE_ALL) = 0;
108 #endif // CO_OBJECTHANDLER_H
virtual ~ObjectHandler()
Destroy this object handler.
Defines export visibility macros for library Collage.
virtual f_bool_t syncObject(Object *object, NodePtr master, const uint128_t &id, const uint32_t instanceID=CO_INSTANCE_ALL)=0
Synchronize the local object with a remote object.
CO_API void releaseObject(Object *object)
Convenience method to deregister or unmap an object.
virtual bool registerObject(Object *object)=0
Register a distributed object.
virtual void deregisterObject(Object *object)=0
Deregister a distributed object.
ObjectHandler()
Construct a new object handler.
virtual bool mapObjectSync(const uint32_t requestID)=0
Finalize the mapping of a distributed object.
lunchbox::RefPtr< Node > NodePtr
A reference pointer for Node pointers.
Interface for entities which map and register objects.
virtual void unmapObject(Object *object)=0
Unmap a mapped object.
virtual uint32_t mapObjectNB(Object *object, const uint128_t &id, const uint128_t &version, NodePtr master)=0
Start mapping a distributed object.