DDS 1.2 RTF Avatar
  1. OMG Issue

DDS12 — Non intuitive constant names

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

    The following literals are defined:
    DURATION_INFINITY_SEC
    DURATION_INFINITY_NSEC
    TIMESTAMP_INVALID_SEC
    TIMESTAMP_INVALID_NSEC

    These are incorrectly named and should be:
    DURATION_INFINITE_SEC
    DURATION_INFINITE_NSEC
    TIME_INVALID_SEC
    TIME_INVALID_NSEC

    Proposed Resolution:
    Add the correct names.

    Proposed Revised Text:

    Section 2.2.3 DCPS PSM : IDL

    Replace:
    const long DURATION_INFINITY_SEC = 0x7fffffff;
    const unsigned long DURATION_INFINITY_NSEC = 0x7fffffff;
    const long TIMESTAMP_INVALID_SEC = -1;
    const unsigned long TIMESTAMP_INVALID_NSEC = 0xffffffff;

    With:
    const long DURATION_INFINITE_SEC = 0x7fffffff;
    const unsigned long DURATION_INFINITE_NSEC = 0x7fffffff;
    const long TIME_INVALID_SEC = -1;
    const unsigned long TIME_INVALID_NSEC = 0xffffffff;

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

    Use the correct names

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