DDS 1.0 NO IDEA Avatar
  1. OMG Issue

DDS — ObjectHome index and name

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

    Issue [THALES]
    For footprint reasons an ObjectHome is designated by its index in the Cache. For convenience, the index should be an attribute of the ObjectHome
    Proposal [THALES]
    add the index readonly attribute
    return the allocated index when the home is registered
    add an operation to retrieve the home based on the index and homogeneise names of find operations
    Concrete changes:
    IDL
    interface ObjectHome {
    ...
    readonly attribute unsigned long registration_index;
    ...
    interface Cache {
    ...
    unsigned long register_home (
    in ObjectHome a_home)
    raises (
    BadHomeDefinition);
    ObjectHome find_home_by_name (
    in ClassName class_name)
    raises (
    BadParameter);
    ObjectHome find_home_by_index (
    in unsigned long index)
    raises (
    BadParameter);
    ...
    In section 3.1.6.3.3 Cache
    In the table
    Change the return type for register_home operation from "void" to "integer"
    Change the name of "find_home" to "find_home_by_name"
    add the following entry:
    find_home_by_index ObjectHome
    integer registration_index
    In the following text, starting with "It offers methods"
    first bullet: add at the end "this method returns the index under which the ObjectHome is registered by the Cache;"
    second bullet:change to "to retrieve an already registered ObjectHome, based on its name (find_home_by_name) or based on its index of registration (find_home_by_index)
    in section 3.1.6.2.3.5 ObjectHome
    in the table
    at the end of the attribute list, add the following entry
    registration_index integer
    in the following text, in the list starting by "The public attributes gives"
    add a last bullet "the index under which the ObjectHome has been registered by the Cache (cf. Cache::register_home)
    Correct the UML diagram accordingly

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

    see below

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