|
| PDG_NodeCallback (const PDG_BaseType *type, const PDGT_ValueArgs &extra_args, PDG_Node *node) |
|
| ~PDG_NodeCallback () override |
|
int64 | getMemoryUsage (bool inclusive) const override |
| Returns the memory usage of this callback. More...
|
|
bool | hasCallback (CallbackType callback_type) const |
|
void | enableCallback (CallbackType callback_type) |
| Enables a specific node callback. More...
|
|
bool | reloadInstance (UT_WorkBuffer &errors) override |
| Resets this node callback to match changes to the type object. More...
|
|
PDG_CallbackResult | postInvoke (PDG_CallbackResult invoke_result) const |
|
virtual PDG_CallbackResult | onGenerate (PDG_WorkItemHolder *, const PDG_WorkItemArray &, GenerationType generation_type) |
| Generates static items via a work item holder. Called on processors. More...
|
|
virtual PDG_CallbackResult | onRegenerate (PDG_WorkItemHolder *, const PDG_WorkItemArray &, const PDG_WorkItemArray &, GenerationType generation_type) |
|
virtual PDG_CallbackResult | onAddInternalDependencies (PDG_DependencyHolder *, const PDG_WorkItemArray &, bool is_static) |
|
virtual PDG_CallbackResult | onPartition (PDG_PartitionHolder *, const PDG_WorkItemArray &, const PDG_WorkItem *) |
|
virtual PDG_CallbackResult | onMapStatic (PDG_DependencyHolder *holder, const PDG_WorkItemArray &downstream_items, const PDG_WorkItemArray &upstream_items) |
|
virtual PDG_CallbackResult | onMapDynamic (PDG_DependencyHolder *holder, const PDG_WorkItemArray &downstream_items, const PDG_WorkItemArray &upstream_items) |
|
virtual PDG_CallbackResult | onPreCook () |
|
virtual PDG_CallbackResult | onPostCook () |
| Called on each node in the graph after the cook finishes. More...
|
|
virtual PDG_CallbackResult | onPrepareTask (PDG_WorkItem *work_item) |
|
virtual PDG_CallbackResult | onCookTask (PDG_WorkItem *work_item) |
|
virtual PDG_CallbackResult | onPostCookTask (PDG_WorkItem *work_item) |
| Called when a work item has completed cooking. More...
|
|
virtual PDG_CallbackResult | onSelectTask (PDG_WorkItem *work_item) |
| Called when a work item is selected by TOPs. More...
|
|
virtual PDG_CallbackResult | onDeselectTask (PDG_WorkItem *work_item) |
| Called when a work item is deselcted. More...
|
|
virtual PDG_CallbackResult | onConfigureNode (PDG_NodeOptions *node_options) |
| Called when the node should describe itself for the UI. More...
|
|
PDG_Node * | node () const |
| Returns the node associated with this callback. More...
|
|
template<typename T > |
bool | evaluate (T &result, const UT_StringHolder &name, const PDG_WorkItem *work_item=nullptr, int index=0, int multi=-1) const |
| Convenience method for evaluating a parameter on the underlying node. More...
|
|
template<typename T > |
bool | evaluateArray (T &result, const UT_StringHolder &name, const PDG_WorkItem *work_item=nullptr, int multi=-1) const |
|
UT_StringHolder | evaluateS (const UT_StringHolder &name, const PDG_WorkItem *work_item=nullptr, int index=0, int multi=-1) const |
|
UT_StringHolder | evaluateRaw (const UT_StringHolder &name, const PDG_WorkItem *work_item=nullptr, int index=0, int multi=-1) const |
|
fpreal | evaluateF (const UT_StringHolder &name, const PDG_WorkItem *work_item=nullptr, int index=0, int multi=-1) const |
|
exint | evaluateI (const UT_StringHolder &name, const PDG_WorkItem *work_item=nullptr, int index=0, int multi=-1) const |
|
bool | evaluateB (const UT_StringHolder &name, const PDG_WorkItem *work_item=nullptr, int index=0, int multi=-1) const |
|
template<typename T > |
T | evaluateT (const UT_StringHolder &name, const PDG_WorkItem *work_item=nullptr, int index=0, int multi=-1) const |
|
| PDGT_TypeInstance () |
|
| PDGT_TypeInstance (const PDGT_BaseType< EnumType > *base_type, const PDGT_ValueArgs &extra_args) |
|
virtual | ~PDGT_TypeInstance () |
|
const BaseType * | type () const |
|
const UT_StringHolder & | typeName () const |
|
const PDGT_ValueArgs & | extraArgs () const |
|
bool | compareType (const BaseType *other_type, bool deep=true) const |
|
void | setReloading (bool is_reloading) |
|
bool | isReloading () const |
|