|
HDK
|
A class that compiles the encapsulated function vop code into HDA section. More...
#include <VOP_HDACodeCompiler.h>
Inheritance diagram for VOP_VopHDACompiler:Public Member Functions | |
| VOP_VopHDACompiler () | |
| Constructor. More... | |
| bool | compileVexCodeToSections (OP_Node *srcnode, FS_IndexFile *hda, const char *context_mask) override |
Public Member Functions inherited from VOP_HDACodeCompiler | |
| VOP_HDACodeCompiler () | |
| virtual | ~VOP_HDACodeCompiler () |
| virtual bool | compileNewOperatorType (OP_Node *srcnode, const char *name, const char *label, const char *path, const char *metasrc, const VOP_ContextTypeList *types=NULL) |
| const UT_StringMap < UT_StringHolder > & | getFunctionsSectionsMap () const |
| void | setShaderName (const char *shader_name) |
| Main shader name used in compilation. More... | |
| const UT_StringHolder & | getShaderName () const |
| Main shader name used in compilation. More... | |
| UT_ErrorSeverity | getStatus (UT_String &message, UT_String *details=0) |
| void | setForceCompilationOnOpNameConflict (bool flag) |
| bool | getForceCompilationOnOpNameConflict () |
Static Public Member Functions | |
| static void | removeVopCodeSections (FS_IndexFile *hda) |
| Utility function for cleaning up HDA of any compiled sections. More... | |
Static Public Member Functions inherited from VOP_HDACodeCompiler | |
| static bool | canCompileNode (OP_Node *srcnode) |
| static void | removeCodeSections (OP_Node *node, FS_IndexFile *file) |
| static bool | updateCodeSections (OP_Node *node, FS_IndexFile *file, UT_String *message) |
Protected Member Functions | |
| bool | initForVopCompilation (OP_Node *srcnode) |
| Sets up class members for compilation an encapsulated vop. More... | |
| FS_IndexFile * | getHDAFile () const |
| VOP_Node * | getVopNode () const |
| VOP_CodeGenerator * | getCodeGenerator () const |
Protected Member Functions inherited from VOP_HDACodeCompiler | |
| void | saveVflCodeToSection (FS_IndexFile *hda, OP_Node *shader_node, VOP_CodeGenerator *code_generator, VOP_ContextType context_type, const char *section_name, OP_Node *output_node) |
| Saves the code to section. More... | |
| bool | isOK () const |
| Checks if there was an error during compilation up till now. More... | |
| void | setStatus (UT_ErrorSeverity sev, const char *msg, const char *details=0) |
| void | clearStatus () |
A class that compiles the encapsulated function vop code into HDA section.
Definition at line 163 of file VOP_HDACodeCompiler.h.
| VOP_VopHDACompiler::VOP_VopHDACompiler | ( | ) |
Constructor.
|
overridevirtual |
Compiles a given node to the sections of a given HDA (already existing). This is used for HDAs that have contents network, but also want to store cached vfl/vex code.
| srcnode | The node from which to obtain vex code. |
| hda | The HDA definition to which save the vfl and vex code. |
Reimplemented from VOP_HDACodeCompiler.
|
inlineprotected |
Accessors for the member data, available to derived classes.
Definition at line 193 of file VOP_HDACodeCompiler.h.
|
inlineprotected |
Accessors for the member data, available to derived classes.
Definition at line 189 of file VOP_HDACodeCompiler.h.
|
inlineprotected |
Accessors for the member data, available to derived classes.
Definition at line 191 of file VOP_HDACodeCompiler.h.
|
protected |
Sets up class members for compilation an encapsulated vop.
|
static |
Utility function for cleaning up HDA of any compiled sections.