OpenSplice DDS is a DDS implementation that allows to create topics 'on-the-fly' from XML-based type-descriptions. This feature goes beyond the current OMG DDS specification that basically assumes that topic-types are pre-defined in IDL at design-time and processed by a IDL-compiler (that generates strong-typed interfaces as well as 'type-support' that allows to register the type in DDS before creating a topic at runtime) .
Another approach could perhaps be to define a single (unbounded) type (like a monitor-id as a key-field and an unbounded sequence of octets to hold the monitoring-data) from which as many topics as needed can be created at runtime (without the need for dynamic creation of types and thus also maintaining strong typed APIs).
Anonymous posted on Sunday, November 23, 2008 - 12:41 am
Correct me if I'm wrong, but you addressed topic generation from XML specification
Do you know of an existing tool that would also carry out the mapping of fields from a binary stream. I'm aware that this has nothing to do with DDS, but I'd hate to "reinvent the wheel"