DDS 1.0 NO IDEA Avatar
  1. OMG Issue

DDS — clone + deref

  • Key: DDS-162
  • Legacy Issue Number: 7059
  • Status: closed  
  • Source: THALES ( Virginie Watine)
  • Summary:

    ref-1041: clone + deref
    Issue [THALES]
    For performance, it seems good to offer a combined operation clone + deref that returns the instantiated cell instead the ObjectReference
    Proposal [THALES]
    Add such a method on ObjectRoot and also in the implied IDL
    Concrete changes:
    IDL
    ObjectRoot {
    ...
    ObjectRoot clone_object(
    in CacheAccess access,
    in ObjectScope scope,
    in RelatedObjectDepth depth)
    raises (
    ReadOnlyMode,
    AlreadyClonedInWriteMode);
    Foo {
    ...
    Foo clone_foo(
    in CacheAccess access,
    in ObjectScope scope,
    in ReletedObjectDepth depth)
    raises (
    ReadOnlyMode,
    AlreadyClonedInWriteMode);
    in section 3.1.6.3.11 ObjectRoot
    in the table, add the clone_object operation, by adding the following:
    clone_object ObjectRoot
    access CacheAccess
    scope ObjectScope
    depth integer
    in the following text, in the list starting with "it offers methods to":
    insert a second bullet, with the following contents:
    "clone and instantiate the object in the same operation (clone_object), this operations takes the same parameters as the previous one, but returns an ObjectRoot instead of an ObjectReference; it corresponds exactly to the sequence of clone followed by CacheAccess::deref on the reference returned by the clone operation;"
    in section 3.1.6.5.1 Read Mode
    item #2, change "(ObjectRoot::clone)" to "(ObjectRoot::clone or clone_object)"
    in section 3.1.6.5.2 Write Mode
    item #2, change "(ObjectRoot::clone)" to "(ObjectRoot::clone or clone_object)"

  • Reported: DDS 1.0b1 — Thu, 26 Feb 2004 05:00 GMT
  • Disposition: Resolved — DDS 1.0
  • Disposition Summary:

    see below

  • Updated: Fri, 6 Mar 2015 20:58 GMT