47 #define kMaxHeight 1024
59 Compiler (
const string&
name,
const string& super,
int numInputs,
int numOutputs,
bool vec);
93 #define generateEquivRecGroup generateRecGroup
virtual void compileMultiSignal(Tree lsig)=0
void addLibrary(const string &str)
void addIncludeFile(const string &str)
void addIncludeFile(const string &str)
void generateWidgetCode(Tree fulllabel, Tree varname, Tree sig)
Generate buildUserInterface C++ lines of code corresponding to user interface widget t...
Description * fDescription
void addUIWidget(Tree path, Tree widget)
Add a widget with a certain path to the user interface tree.
void compileSignals(const string &name, const string &super, int numInputs, int numOutputs, Tree lsig)
Tree prepareUserInterfaceTree(Tree t)
Remove fake root folder if not needed (that is if the UI is completely enclosed in one folder...
void generateUserInterfaceTree(Tree t)
Generate buildUserInterface C++ lines of code corresponding to user interface element t...
A CTree = (Node x [CTree]) is a Node associated with a list of subtrees called branches.
Compiler(const string &name, const string &super, int numInputs, int numOutputs, bool vec)
void generateMacroInterfaceTree(const string &pathname, Tree t)
Generate user interface macros corresponding to user interface element t.
void addLibrary(const string &str)
virtual Tree prepare(Tree L0)=0
void setDescription(Description *descr)
virtual void compileSingleSignal(Tree lsig)=0
virtual Tree prepare2(Tree L0)=0
const char * name(Symbol *sym)
Returns the name of a symbol.
void generateUserInterfaceElements(Tree elements)
Iterate generateUserInterfaceTree on a list of user interface elements.
Description * getDescription()
void generateMacroInterfaceElements(const string &pathname, Tree elements)
Iterate generateMacroInterfaceTree on a list of user interface elements.
void generateWidgetMacro(const string &pathname, Tree fulllabel, Tree varname, Tree sig)
Generate user interface macros corresponding to a user interface widget.