HDK
|
#include <PDGE_DependencyOwner.h>
Public Types | |
using | Array = UT_Array< PDGE_DependencyOwner * > |
using | Set = UT_ArraySet< PDGE_DependencyOwner * > |
Public Member Functions | |
PDGE_DependencyOwner () | |
Constructs a new dependency owner, which must have a string name. More... | |
virtual | ~PDGE_DependencyOwner () |
virtual int64 | getMemoryUsage (bool inclusive) const |
Returns the memory usage of this owner instance. More... | |
virtual void | resetOwner () |
Resets the owner. More... | |
virtual UT_StringHolder | debugName () const =0 |
virtual UT_StringHolder | debugGroup () const |
Static Public Member Functions | |
template<typename T > | |
static void | cast (UT_Array< T > &out, const Array &in) |
Converts an owner array to an array of the specified type. More... | |
template<typename T > | |
static void | cast (Array &out, const UT_Array< T > &in) |
Converts an array of the specified type to an owner array. More... | |
Protected Member Functions | |
virtual PDGE_Dependency::State | evalResolve (PDGE_Resolutions &, const PDGE_Evaluator &, PDGE_Dependency *) |
Called when a dependency owned by this object is resolved. More... | |
virtual int | evalUnresolve (PDGE_Dependency::Array &, PDGE_Dependency *) |
virtual PDGE_Dependency::State | evalPartial (PDGE_Resolutions &, const PDGE_Evaluator &, PDGE_Dependency *, const Array &) |
const PDGE_Dependency::Set & | propagateSet () |
Returns the propagate set for this owner. More... | |
void | addPropagate (PDGE_Dependency *dependency) |
Adds an entry to the propagate set. More... | |
Friends | |
class | PDGE_Dependency |
class | PDGE_PropagateGroup |
Base class for objects that own dependencies
Definition at line 26 of file PDGE_DependencyOwner.h.
Definition at line 29 of file PDGE_DependencyOwner.h.
Definition at line 30 of file PDGE_DependencyOwner.h.
|
inline |
Constructs a new dependency owner, which must have a string name.
Definition at line 34 of file PDGE_DependencyOwner.h.
|
inlinevirtual |
Definition at line 35 of file PDGE_DependencyOwner.h.
|
inlineprotected |
Adds an entry to the propagate set.
Definition at line 120 of file PDGE_DependencyOwner.h.
|
inlinestatic |
Converts an owner array to an array of the specified type.
Definition at line 62 of file PDGE_DependencyOwner.h.
|
inlinestatic |
Converts an array of the specified type to an owner array.
Definition at line 71 of file PDGE_DependencyOwner.h.
|
inlinevirtual |
Debug name for the dependency group this owner is in, used for DOT graph output when enabled.
Reimplemented in PDG_WorkItem.
Definition at line 57 of file PDGE_DependencyOwner.h.
|
pure virtual |
Debug name for this dependency owner object, used when various debug utilities are enabled
Implemented in PDG_Node, PDG_Scheduler, PDGE_Evaluator, and PDG_WorkItem.
|
inlineprotectedvirtual |
Called when a dependency owned by this object receives a partial resolve notification.
Reimplemented in PDG_Processor, and PDG_Partitioner.
Definition at line 105 of file PDGE_DependencyOwner.h.
|
inlineprotectedvirtual |
Called when a dependency owned by this object is resolved.
Reimplemented in PDG_WorkItem, PDG_Scheduler, PDG_Processor, PDG_BatchWorkItem, PDGE_Evaluator, PDG_Partitioner, and PDG_Mapper.
Definition at line 83 of file PDGE_DependencyOwner.h.
|
inlineprotectedvirtual |
Called when a dependency owned by this object is unresolved during an evaluation. This method is not called for normal reset calls between evaluations, or when a dependency object is destroyed. It also cannot be used to add new dependencies or trigger evaluation of existing ones, however it can return back additional dependencies that should be unresolved.
Reimplemented in PDG_WorkItem.
Definition at line 97 of file PDGE_DependencyOwner.h.
|
inlinevirtual |
Returns the memory usage of this owner instance.
Reimplemented in PDG_Scheduler, PDG_Node, PDG_GraphContext, PDG_WorkItem, and PDGE_Evaluator.
Definition at line 40 of file PDGE_DependencyOwner.h.
|
inlineprotected |
Returns the propagate set for this owner.
Definition at line 116 of file PDGE_DependencyOwner.h.
|
inlinevirtual |
Resets the owner.
Reimplemented in PDG_Node, PDG_Scheduler, PDG_Processor, PDG_WorkItem, PDG_Partitioner, and PDG_BatchWorkItem.
Definition at line 48 of file PDGE_DependencyOwner.h.
|
friend |
Definition at line 79 of file PDGE_DependencyOwner.h.
|
friend |
Definition at line 80 of file PDGE_DependencyOwner.h.