Vuo  2.0.0
node.h
Go to the documentation of this file.
1 
10 #pragma once
11 
12 #include "module.h"
13 
14 #include <stdbool.h>
15 #include <stdio.h>
16 #include <unistd.h>
17 
45 #define VuoInstanceData(type) __attribute__((annotate("vuoInstanceData"))) type * const
46 
106 #define VuoInputData(type, ...) __attribute__((annotate("vuoInputData"),annotate("vuoType:" #type),annotate("vuoDetails: " #__VA_ARGS__))) const type
107 
134 #define VuoInputEvent(...) __attribute__((annotate("vuoInputEvent"),annotate("vuoDetails: " #__VA_ARGS__))) const bool
135 
156 #define VuoOutputData(type, ...) __attribute__((annotate("vuoOutputData"), annotate("vuoType:" # type),annotate("vuoDetails: " #__VA_ARGS__))) type * const
157 
179 #define VuoOutputEvent(...) __attribute__((annotate("vuoOutputEvent"),annotate("vuoDetails: " #__VA_ARGS__))) bool * const
180 
218 #define VuoOutputTrigger(name,type,...) __attribute__((annotate("vuoOutputTrigger:" #name), annotate("vuoType:" #type), annotate("vuoDetails: " #__VA_ARGS__))) void (* const name)(type)
219 
226 // These prototypes should only appear to Doxygen, since individual node classes' parameter lists can vary.
227 #ifdef DOXYGEN
228 
252 void nodeEvent(...);
253 
278 struct nodeInstanceData *nodeInstanceInit(...);
279 
293 void nodeInstanceTriggerStart(...);
294 
323 void nodeInstanceEvent(...);
324 
338 void nodeInstanceTriggerUpdate(...);
339 
356 void nodeInstanceTriggerStop(...);
357 
365 void nodeInstanceFini(...);
366 
371 #endif
372 
373