Vuo  2.1.0
Macros
VuoRendererPort.cc File Reference

Description

VuoRendererPort implementation.

Definition in file VuoRendererPort.cc.

Go to the source code of this file.

Macros

#define RETURN_SHORT_SUMMARY(type)
 If the port's data type is equal to the specified type, creates an object from the port's current value, then returns the output of VuoType_getShortSummary(). More...
 

Macro Definition Documentation

◆ RETURN_SHORT_SUMMARY

#define RETURN_SHORT_SUMMARY (   type)
Value:
if (getDataType()->getModuleKey() == #type) \
{ \
type value = type ## _makeFromString(getConstantAsString().c_str()); \
type ## _retain(value); \
string s = stringAndFree(type ## _getShortSummary(value)); \
type ## _release(value); \
return s; \
}

If the port's data type is equal to the specified type, creates an object from the port's current value, then returns the output of VuoType_getShortSummary().

Definition at line 1535 of file VuoRendererPort.cc.