struct State {
};
struct Type {
uint8_t* items;
};
// clang-format off
{{ GENERATED_CODE }}
// clang-format on
void evaluate(Context ctx) {
if (!isInputDirty<input_INIT>(ctx)){
emitValue<output_OUT>(ctx, getValue<input_DEV>(ctx));
return;}
Type data;
auto sr = getValue<input_DEV>(ctx); // Get a pointer to the class instance
data.items = sr->getAll();
emitValue<output_Data>(ctx, data);
emitValue<output_DONE>(ctx, 1);
}