flext 0.6.2
Macros
Stand-alone class instantiation

Macros

#define FLEXT_NEW(NAME, NEW_CLASS)
 Implementation of a flext class with no arguments.
 
#define FLEXT_NEW_V(NAME, NEW_CLASS)
 Implementation of a flext class with a variable argument list.
 
#define FLEXT_NEW_1(NAME, NEW_CLASS, TYPE)
 Implementation of a flext class with one argument.
 
#define FLEXT_NEW_2(NAME, NEW_CLASS, TYPE1, TYPE2)
 Implementation of a flext class with 2 arguments.
 
#define FLEXT_NEW_3(NAME, NEW_CLASS, TYPE1, TYPE2, TYPE3)
 Implementation of a flext class with 3 arguments.
 

Detailed Description

Makes an actual instance of a stand-alone class.

Macro Definition Documentation

◆ FLEXT_NEW

#define FLEXT_NEW (   NAME,
  NEW_CLASS 
)
Value:
#define FLEXT_CAST
Switch for compilation of derived virtual classes.
Definition fldefs.h:27

Implementation of a flext class with no arguments.

Parameters
NAMEthe object's actual name(s) as a string (like "*", "trigger", "noise~", etc.)
NEW_CLASSthe object's C++ class name

◆ FLEXT_NEW_1

#define FLEXT_NEW_1 (   NAME,
  NEW_CLASS,
  TYPE 
)
Value:

Implementation of a flext class with one argument.

◆ FLEXT_NEW_2

#define FLEXT_NEW_2 (   NAME,
  NEW_CLASS,
  TYPE1,
  TYPE2 
)
Value:

Implementation of a flext class with 2 arguments.

◆ FLEXT_NEW_3

#define FLEXT_NEW_3 (   NAME,
  NEW_CLASS,
  TYPE1,
  TYPE2,
  TYPE3 
)
Value:

Implementation of a flext class with 3 arguments.

◆ FLEXT_NEW_V

#define FLEXT_NEW_V (   NAME,
  NEW_CLASS 
)
Value:

Implementation of a flext class with a variable argument list.