ThingWorx Edge SDK Extensions for the C SDK > Macros for the Edge Extensions
Macros for the Edge Extensions
The ThingWorx C SDK provides macros that encapsulate functionality to make it easier to develop your EdgeThingShapes and EdgeThingTemplates. It is important to note that the macros do NOT alter the existing C SDK in any way, and you are still free to operate in the manner shown in the example in the topic, Tasks for EdgeThingShape and EdgeThingTemplate Constructors.
The Edge Extensions macros provide the following features:
The ability to work in C where it is most useful and use the macros to simplify the more complex tasks such as creating data shapes and infotables.
The ability to compile projects that use a combination of C and the macros with CMake for desired target platforms.
Storage for property values that is created dynamically at runtime on the heap.
A generic property handler that finds this heap-allocated storage, using a constant time lookup.
Simple functions that find and update heap-allocated property storage operate in constant time.
Variable argument functions perform actions such as creation of infotables and data shapes, simplifying creation of these data structures.