-
Key: DDSXTY15-6
-
Status: open
-
Source: Object Computing, Inc. - OCI ( Mr. Frederick Hornsey)
-
Summary:
As defined create_sample can only return the sample object. This doesn't allow the API to indicate that there was an error unlike other calls in DDS. Other operations either can't normally fail, return an interface that can be null, or return a ReturnCode_t. At least in the C++ Language Mapping, create_sample can return a struct or a union by value, so it can't be null in those cases (section 5.11). I imagine this might be different in other mappings though.
-
Reported: DDS-XTypes 1.3 — Wed, 5 Jun 2024 17:28 GMT
-
Updated: Thu, 2 Apr 2026 19:42 GMT
DDSXTY15 — create_sample can't indicate failure
- Key: DDSXTY15-6
- OMG Task Force: DDS Extensible Types (DDS-XTYPES) 1.5 RTF