Dynamic Data derived struct

2 posts / 0 new
Last post
Offline
Last seen: 5 months 2 weeks ago
Joined: 10/23/2013
Posts: 43
Creating derived topic types using Dynamic Data

Hello,

How do you use the Dynamic Data C API to create and register a type defined with IDL inheritance?  For example, given the following IDL, how is the type Square created and registered so that DDS knows that it is derived from type Shape?

 

struct Shape {

float area;

}

struct Square: Shape {

float side_length;

}

Organization:
Subscribe to RSS - Dynamic Data derived struct