Skip to main content

Module object_cache

Module object_cache 

Source
Expand description

Object cache with identity tracking — DDS 1.4 §B.2 + §B.6.

Spec §B.2 — Cache: central repository for the DLRL objects of a DomainParticipant instance. Unique identity via ObjectId (topic DCPS key + type discriminator).

Spec §B.6 — ObjectRoot: lifecycle state (NEW/MODIFIED/ DELETED/COMMITTED) + version counter for optimistic concurrency.

WeakObjectRef (Spec §B.6.4) — weak reference to an object; becomes None when the object is removed from the cache.

Structs§

ObjectCache
Object cache — central identity-tracking container. Spec §B.2.
ObjectId
Unique object identity — topic + DCPS key.
ObjectRef
Object entry in the cache. Spec §B.6.
WeakObjectRef
Weak reference to an object in the cache. Spec §B.6.4.

Enums§

ObjectState
Lifecycle state of a DLRL object. Spec §B.6.2.