Chapter 4.3 : Sending data
Function phoenix_createData converts any type to Data which can be used by the Daemon.
1 2 3 4 5 6 |
Shadok shadok; shadok.setAge(42); shadok.setName("Shadoko"); //Creating data from Shadok Data data(phoenix_createData(shadok)); //Then the data can be used by Daemon |