I'm told that DDS maintains a reference to DTOs created when using the example code here:
code
I'm told that DDS maintains a reference to DTOs created when using the example code here:
code
within the overload function on_data_avaliable the example shows how to display the data received. Which works very well. What I am trying to do is to cast the data received to the struct that originally created it so that I can use the data in other functions.
how do I get the actual data received, not the string data, in a pointer format or class format, which inturn I can copy to a struct or another class?