Prototypes for node class implementations.
- Copyright
- Copyright © 2012–2013 Kosada Incorporated. This code may be modified and distributed under the terms of the MIT License. For more information, see http://vuo.org/license.
|
#define | VuoInstanceData(type) |
| Use this to decorate parameters referring to a stateful node's instance data structure.
|
|
#define | VuoInputData(type,...) |
| Use this to decorate parameters acting as data input ports.
|
|
#define | VuoInputConductor(conductivity, name) |
| Use this to decorate parameters acting as event input ports.
|
|
#define | VuoOutputData(type) |
| Use this to decorate parameters acting as data output ports.
|
|
#define | VuoOutputConductor(name) __attribute__((annotate("vuoOutputConductor:" #name))) bool * const |
| Use this to decorate parameters acting as event output ports.
|
|
#define | VuoOutputTrigger(name, type) |
| Use this to decorate parameters acting as event triggers.
|
|
#define | VL() fprintf(stderr, "\033[38;5;%dm# pid=%d\t%s:%d :: %s()\033[0m\n", getpid()%212+19, getpid(), __FILE__, __LINE__, __func__); |
| Prints the name of the file and function to stderr (and implicitly flushes the output buffer).
|
|
#define | VLog(format,...) fprintf(stderr, "\033[38;5;%dm# pid=%d\t%s:%d :: %s()\t" format "\033[0m\n", getpid()%212+19, getpid(), __FILE__, __LINE__, __func__, ##__VA_ARGS__); |
| Prints the name of the file and function, and printf() -style format/arguments, to stderr (and implicitly flushes the output buffer).
|
|
#define | VLogCF(coreFoundationRef) { CFStringRef d = CFCopyDescription(coreFoundationRef); CFIndex len = CFStringGetLength(d)+1; char *z = (char *)malloc(len); CFStringGetCString(d, z, len, kCFStringEncodingUTF8); VLog("%s = %s", #coreFoundationRef, z); free(z); CFRelease(d); } |
| Prints the specified Core Foundation object.
|
|