-
Key: DDS15-33
-
Legacy Issue Number: 12539
-
Status: open
-
Source: Object Computing, Inc. - OCI ( Mr. Adam Mitz)
-
Summary:
The CORBA specification (08-01-04) in section 7.11.6 deprecates the use of anonymous types, for example the type of the struct field "seq" below:
{ sequence<octet> seq; }
struct Foo;
The DDS DCPS IDL uses these in multiple places (the first is DDS::UserDataQosPolicy). These should be replaced with non-deprecated usage such as:
{ OctetSeq seq; }
typedef sequence<octet> OctetSeq;
struct Foo;
This will also increase internal consistency of the DDS spec, since it already uses a DDS::StringSeq typedef in the PartitionQosPolicy struct.
Furthermore, if the element type of the sequence is a Basic Type or a String Type, the CORBA module already provides these typedefs, so it would be preferable to use them. The example above becomes:
{ CORBA::OctetSeq seq; }
struct Foo;
-
Reported: DDS 1.2 — Fri, 20 Jun 2008 04:00 GMT
-
Updated: Thu, 10 Oct 2019 00:03 GMT
DDS15 — Deprecated usage of IDL in the DDS spec
- Key: DDS15-33
- OMG Task Force: Data Distribution Service 1.5 RTF