17 #include "TTClassWrapperMax.h"
19 int TTCLASSWRAPPERMAX_EXPORT
main(
void)
21 WrappedClassOptionsPtr options =
new WrappedClassOptions;
23 WrappedClassPtr c = NULL;
29 options->append(
TT(
"fixedNumChannels"), value);
31 wrapTTClassAsMaxClass(
TT(
"net.send"),
"j.net.send", &c, options);
32 CLASS_ATTR_ENUM(c->maxClass,
"mode", 0,
"tcp udp");
#define TT
This macro is defined as a shortcut for doing a lookup in the symbol table.
void append(const T &anElementValueToAppend)
Insert a single TTElement at the end.
void clear()
Clear all values from the vector, leaving with size of 0.
int TTCLASSWRAPPERMAX_EXPORT main(void)
Set up this class as a Max external the first time an object of this kind is instantiated.
[doxygenAppendixC_copyExample]