Sample C code

The sample DataBlade® module includes four data types: MyShape, MyBox, MyCircle, and MyPoint.

The MyShape data type implements the behavior of all four types. The MyPoint, MyCircle, and MyBox data types delegate to the MyShape data type for their functionality. This means that the C code that implements the functions of MyShape also implements the same function for the subtypes MyPoint, MyCircle, and MyBox.