Real Time Open Sound Control librtosc
|
Define the bundle_foreach template function. More...
Go to the source code of this file.
Functions | |
template<class F > | |
void | rtosc::bundle_foreach (const struct Port &p, const char *name, char *old_end, const char *name_buffer, const struct Ports &base, void *data, void *runtime, const F &ftor, bool expand_bundles=true, bool cut_afterwards=true) |
Execute a callback for all bundle elements of a bundle port. More... | |
void | rtosc::bundle_foreach_do_nothing (const Port *, const char *, const char *, const Ports &, void *, void *) |
Define the bundle_foreach template function.
void rtosc::bundle_foreach | ( | const struct Port & | p, |
const char * | name, | ||
char * | old_end, | ||
const char * | name_buffer, | ||
const struct Ports & | base, | ||
void * | data, | ||
void * | runtime, | ||
const F & | ftor, | ||
bool | expand_bundles = true , |
||
bool | cut_afterwards = true |
||
) |
Execute a callback for all bundle elements of a bundle port.
name | Should be p.name TODO: pass base as pointer, so it can be null? |