#include <SOP_Compiled.h>
|
| SOP_Compiled () |
|
virtual | ~SOP_Compiled () |
|
bool | isTopologyDirty (const OP_Context &context) |
|
bool | isTopologyTimeDependent () const |
|
void | dump (std::ostream &os) const |
|
bool | compile (UT_SharedPtr< const OP_GraphProxy > graph, exint nodeidx, const OP_Context &context, UT_ErrorManager &errors) |
|
bool | compile (SOP_Node *root, const OP_Context &context, UT_ErrorManager &errors) |
|
bool | compileMulti (UT_SharedPtr< const OP_GraphProxy > graph, const UT_Array< exint > &roots, const OP_Context &context, UT_ErrorManager &errors) |
|
bool | compileMulti (const UT_Array< SOP_Node * > &roots, const OP_Context &context, UT_ErrorManager &errors) |
|
OP_Node * | getRoot (exint idx=0) const |
| Determines what node is at the root of the compile block. More...
|
|
OP_GraphProxy::NodeIdx | getRootIdx (exint idx=0) const |
|
exint | getNumRoots () const |
|
bool | isCompiled () const |
| Is the task list compiled & valid? More...
|
|
void | donateForRecycling (GU_DetailHandle &gdh) |
|
GU_DetailHandle | execute (bool &hascedata, TaskStateArray &states, bool flushce, UnloadMode unload, const OP_Context &context, UT_ErrorManager &errors, DEP_MicroNode *depnode, const UT_StringArray &inputnames, UT_Array< GU_DetailHandle > &inputgdhs, const UT_Array< bool > &inputhascedata) |
|
void | executeMulti (UT_Array< GU_DetailHandle > &outputgdhs, UT_Array< bool > &hascedata, TaskStateArray &states, bool flushce, UnloadMode unload, const OP_Context &context, UT_ErrorManager &errors, DEP_MicroNode *depnode, const UT_StringArray &inputnames, UT_Array< GU_DetailHandle > &inputgdhs, const UT_Array< bool > &inputhascedata) |
| Execute a compiled block that has multiple roots. More...
|
|
void | clear () |
|
exint | taskCount () const |
|
exint | taskInputCount () const |
|
exint | nodeCount () const |
|
void | taskNodes (UT_Set< OP_Node * > &usednodes) const |
|
const UT_Array< Task * > & | tasks () const |
|
const UT_Array< Task * > & | roots () const |
|
const UT_Array< Task * > & | taskInputs () const |
|
Definition at line 23 of file SOP_Compiled.h.
Enumerator |
---|
UNLOAD_NEVER |
|
UNLOAD_FLAG |
|
UNLOAD_ALWAYS |
|
Definition at line 29 of file SOP_Compiled.h.
SOP_Compiled::SOP_Compiled |
( |
| ) |
|
virtual SOP_Compiled::~SOP_Compiled |
( |
| ) |
|
|
virtual |
static bool SOP_Compiled::canBeCompiled |
( |
const OP_Node * |
node | ) |
|
|
static |
Determines somewhat conservatively if the node is eligbile for compilation. Verbs always are, but things like subnets are only if their SOP contents are as well.
void SOP_Compiled::clear |
( |
| ) |
|
Compile a node block, only rebuilding if Topo dependency is invalid
Donate the provided detail to be recycled if needed. The passed in handle will be cleared.
void SOP_Compiled::dump |
( |
std::ostream & |
os | ) |
const |
Execute our cached block The inputgdhs will be cleared as they are used, allowing them to be stolen & written to if they are unique.
void SOP_Compiled::executeMulti |
( |
UT_Array< GU_DetailHandle > & |
outputgdhs, |
|
|
UT_Array< bool > & |
hascedata, |
|
|
TaskStateArray & |
states, |
|
|
bool |
flushce, |
|
|
UnloadMode |
unload, |
|
|
const OP_Context & |
context, |
|
|
UT_ErrorManager & |
errors, |
|
|
DEP_MicroNode * |
depnode, |
|
|
const UT_StringArray & |
inputnames, |
|
|
UT_Array< GU_DetailHandle > & |
inputgdhs, |
|
|
const UT_Array< bool > & |
inputhascedata |
|
) |
| |
Execute a compiled block that has multiple roots.
exint SOP_Compiled::getNumRoots |
( |
| ) |
const |
Determines what node is at the root of the compile block.
bool SOP_Compiled::isCompiled |
( |
| ) |
const |
Is the task list compiled & valid?
bool SOP_Compiled::isTopologyDirty |
( |
const OP_Context & |
context | ) |
|
Determine if the compiled task list still matches what the SOP network has.
bool SOP_Compiled::isTopologyTimeDependent |
( |
| ) |
const |
exint SOP_Compiled::nodeCount |
( |
| ) |
const |
|
inline |
exint SOP_Compiled::taskCount |
( |
| ) |
const |
|
inline |
exint SOP_Compiled::taskInputCount |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: