|Value to pass into the type plugin's de-/serialization function. |
The purpose of this QoS is to allow a user application to pass data to a type plugin's support functions.
You can modify the rtiddsgen-generated code so that the de/serialization routines act differently depending on the information passed in via the object pointer. (The generated serialization and deserialization code does not use the pointer.)
It can also be used to dynamically change how serialization (or for a less common case, deserialization) occurs. For example, a data type could represent a table, including the names of the rows and columns. However, since the row/column names of an instance of the table (a Topic) don't change, they only need to be sent once. The information passed in through the TypeSupport QoS policy could be used to signal the serialization routine to send the row/column names the first time a DDSDataWriter calls FooDataWriter::write, and then never again.
Value to pass into the type plugin's de-/serialization function.