|
FAUST compiler
0.9.9.6b8
|
The Root class for all audio data types. More...
#include <sigtype.hh>


Public Member Functions | |
| AudioType (int n, int v, int c, int vec=kVect, int b=kNum, interval i=interval()) | |
| constructs an abstract audio type More... | |
| virtual | ~AudioType () |
| not really useful here, but make compiler happier More... | |
| int | nature () const |
| returns the kind of values (integre or floating point) More... | |
| int | variability () const |
| returns how fast values change (constant, by blocks, by samples) More... | |
| int | computability () const |
| returns when values are available (compilation, initialisation, execution) More... | |
| int | vectorability () const |
| returns when a signal can be vectorized More... | |
| int | boolean () const |
| returns when a signal stands for a boolean value More... | |
| interval | getInterval () const |
| returns the interval (min dn max values) of a signal More... | |
| void | setCode (Tree code) |
| returns the interval (min dn max values) of a signal More... | |
| Tree | getCode () |
| returns the interval (min dn max values) of a signal More... | |
| virtual AudioType * | promoteNature (int n)=0 |
| promote the nature of a type More... | |
| virtual AudioType * | promoteVariability (int n)=0 |
| promote the variability of a type More... | |
| virtual AudioType * | promoteComputability (int n)=0 |
| promote the computability of a type More... | |
| virtual AudioType * | promoteVectorability (int n)=0 |
| promote the vectorability of a type More... | |
| virtual AudioType * | promoteBoolean (int n)=0 |
| promote the booleanity of a type More... | |
| virtual ostream & | print (ostream &dst) const =0 |
| print nicely a type More... | |
| virtual bool | isMaximal () const =0 |
| true when type is maximal (and therefore can't change depending of hypothesis) More... | |
Static Public Attributes | |
| static int | gAllocationCount = 0 |
Protected Member Functions | |
| void | setInterval (const interval &r) |
Protected Attributes | |
| int | fNature |
| the kind of data represented More... | |
| int | fVariability |
| how fast values change More... | |
| int | fComputability |
| when are values available More... | |
| int | fVectorability |
| when a signal can be vectorized More... | |
| int | fBoolean |
| when a signal stands for a boolean value More... | |
| interval | fInterval |
| Minimal and maximal values the signal can take. More... | |
| Tree | fCode |
| Tree representation (for memoization purposes) More... | |
The Root class for all audio data types.
All audio types have a "variability" (how fast the values change) and a "computability" (when the values are available). Simple types have also a "nature" (integer or floating point).
Definition at line 82 of file sigtype.hh.
|
inline |
constructs an abstract audio type
Definition at line 98 of file sigtype.hh.
|
inlinevirtual |
not really useful here, but make compiler happier
Definition at line 102 of file sigtype.hh.
|
inline |
returns when a signal stands for a boolean value
Definition at line 108 of file sigtype.hh.
Referenced by codeSimpleType(), infereReadTableType(), infereSigType(), operator==(), operator|(), and SimpleType::print().

|
inline |
returns when values are available (compilation, initialisation, execution)
Definition at line 106 of file sigtype.hh.
Referenced by codeSimpleType(), infereReadTableType(), infereSigType(), operator==(), operator|(), SimpleType::print(), TableType::print(), and TupletType::print().

|
inline |
returns the interval (min dn max values) of a signal
Definition at line 113 of file sigtype.hh.
Referenced by codeAudioType().

|
inline |
returns the interval (min dn max values) of a signal
Definition at line 110 of file sigtype.hh.
Referenced by codeSimpleType(), infereSigType(), operator==(), and operator|().

|
pure virtual |
true when type is maximal (and therefore can't change depending of hypothesis)
Implemented in TupletType, TableType, and SimpleType.
|
inline |
returns the kind of values (integre or floating point)
Definition at line 104 of file sigtype.hh.
Referenced by checkInt(), codeSimpleType(), infereReadTableType(), infereSigType(), infereWriteTableType(), operator==(), operator|(), and SimpleType::print().

|
pure virtual |
print nicely a type
Implemented in TupletType, TableType, and SimpleType.
Referenced by operator<<().

|
pure virtual |
promote the booleanity of a type
Implemented in TupletType, TableType, and SimpleType.
|
pure virtual |
promote the computability of a type
Implemented in TupletType, TableType, and SimpleType.
|
pure virtual |
promote the nature of a type
Implemented in TupletType, TableType, and SimpleType.
|
pure virtual |
promote the variability of a type
Implemented in TupletType, TableType, and SimpleType.
|
pure virtual |
promote the vectorability of a type
Implemented in TupletType, TableType, and SimpleType.
|
inline |
returns the interval (min dn max values) of a signal
Definition at line 112 of file sigtype.hh.
Referenced by makeSimpleType(), makeTableType(), and makeTupletType().

|
inlineprotected |
Definition at line 128 of file sigtype.hh.
|
inline |
returns how fast values change (constant, by blocks, by samples)
Definition at line 105 of file sigtype.hh.
Referenced by codeSimpleType(), infereReadTableType(), infereSigType(), operator==(), operator|(), SimpleType::print(), TableType::print(), and TupletType::print().

|
inline |
returns when a signal can be vectorized
Definition at line 107 of file sigtype.hh.
Referenced by codeSimpleType(), infereReadTableType(), infereSigType(), operator==(), operator|(), and SimpleType::print().

|
protected |
when a signal stands for a boolean value
Definition at line 91 of file sigtype.hh.
|
protected |
Tree representation (for memoization purposes)
Definition at line 94 of file sigtype.hh.
|
protected |
when are values available
Definition at line 89 of file sigtype.hh.
Referenced by SimpleType::isMaximal(), and TableType::isMaximal().
|
protected |
Minimal and maximal values the signal can take.
Definition at line 93 of file sigtype.hh.
Referenced by SimpleType::print(), TableType::print(), and TupletType::print().
|
protected |
the kind of data represented
Definition at line 87 of file sigtype.hh.
Referenced by SimpleType::isMaximal(), and TableType::isMaximal().
|
protected |
how fast values change
Definition at line 88 of file sigtype.hh.
Referenced by SimpleType::isMaximal(), and TableType::isMaximal().
|
protected |
when a signal can be vectorized
Definition at line 90 of file sigtype.hh.
|
static |
Definition at line 85 of file sigtype.hh.
Referenced by annotationStatistics(), makeSimpleType(), makeTableType(), and makeTupletType().
1.8.7