DDS 1.2 RTF Avatar
  1. OMG Issue

DDS12 — String sequence should be a parameter and not return value

  • Key: DDS12-3
  • Legacy Issue Number: 9480
  • Status: closed  
  • Source: Real-Time Innovations ( Dr. Gerardo Pardo-Castellote, Ph.D.)
  • Summary:

    Summary:
    The string sequence parameter in the get_expression_parameters() method of the ContentFilteredTopic and MultiTopic and in the

    get_query_parameters() method of the QueryCondition are all listed as the return value in both the PIM and PSM.
    It is desirable for the string sequence to be used as a parameter for consistency and to allow for an error return.

    Proposed Resolution:
    The PIM and the PSM should have the string sequence as a parameter and the methods should return ReturnCode_t.

    Proposed Revised Text:

    Section 2.1.2.3.3 ContentFilteredTopic class; ContentFilteredTopic class table
    Change row from:
    get_expression_parameters string[]
    To
    get_expression_parameters ReturnCode_t
    inout: expression_parameters string[]

    Section 2.1.2.3.4 MultiTopic Class [optional]
    Change row from:
    get_expression_parameters string[]
    To
    get_expression_parameters ReturnCode_t
    inout: expression_parameters string[]

    Section 2.2.3 DCPS PSM : IDL

    interface ContentFilteredTopic
    Replace:
    StringSeq get_expression_parameters();
    With:
    ReturnCode_t get_expression_parameters(inout StringSeq expression_parameters);

    interface MultiTopic
    Replace:
    StringSeq get_expression_parameters();
    With:
    ReturnCode_t get_expression_parameters(inout StringSeq expression_parameters);

  • Reported: DDS 1.1 — Sun, 2 Apr 2006 05:00 GMT
  • Disposition: Resolved — DDS 1.2
  • Disposition Summary:

    see above

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