DDS4CCM 1.0 FTF Avatar
  1. OMG Issue

DDS4CCM_ — wouldn't it be more maintainable to add to lines 35-40 a typedef for the return value (and other interfaces)?

  • Key: DDS4CCM_-6
  • Legacy Issue Number: 13888
  • Status: closed  
  • Source: Remedy IT ( Johnny Willemsen)
  • Summary:

    wouldn't it be more maintainable to add to lines 35-40 a typedef for the return value (and other interfaces)? typedef unsigned long bytes; Also change the comment to // returns number of bytes written interface MultiWriter<typename T>

    { // T assumed to be a data type typedef sequence<T> T$Seq; nb_bytes write(in T$Seq instances) // returns nb of written raises (InternalError); attribute boolean is_coherent_write; }

    ;

  • Reported: DDS4CCM 1.0b1 — Fri, 24 Apr 2009 04:00 GMT
  • Disposition: Resolved — DDS4CCM 1.0b2
  • Disposition Summary:

    The idea is good but the proposed name (bytes) is misleading as what is
    returned is a count of data samples. In addition, it in inconsistent to let unsigned
    long as index in lists of data. It is thus proposed to name that typedef
    DataNumber_t, to create also DataNumberSeq and to use them each time the
    unsigned long or sequence of Ulong were used.

  • Updated: Sat, 7 Mar 2015 00:50 GMT