|
HDK
|
#include <PDGE_DependencyOwner.h>
Inheritance diagram for PDGE_DependencyOwner: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... | |
| template<typename T > | |
| static void | cast (Array &out, const UT_Array< UT_UniquePtr< T >> &in) |
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 27 of file PDGE_DependencyOwner.h.
Definition at line 30 of file PDGE_DependencyOwner.h.
Definition at line 31 of file PDGE_DependencyOwner.h.
|
inline |
Constructs a new dependency owner, which must have a string name.
Definition at line 35 of file PDGE_DependencyOwner.h.
|
inlinevirtual |
Definition at line 36 of file PDGE_DependencyOwner.h.
|
inlineprotected |
Adds an entry to the propagate set.
Definition at line 130 of file PDGE_DependencyOwner.h.
|
inlinestatic |
Converts an owner array to an array of the specified type.
Definition at line 63 of file PDGE_DependencyOwner.h.
|
inlinestatic |
Converts an array of the specified type to an owner array.
Definition at line 72 of file PDGE_DependencyOwner.h.
|
inlinestatic |
Definition at line 80 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 58 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 115 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 93 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 107 of file PDGE_DependencyOwner.h.
|
inlinevirtual |
Returns the memory usage of this owner instance.
Reimplemented in PDG_Scheduler, PDG_GraphContext, PDG_Node, PDGE_Evaluator, and PDG_WorkItem.
Definition at line 41 of file PDGE_DependencyOwner.h.
|
inlineprotected |
Returns the propagate set for this owner.
Definition at line 126 of file PDGE_DependencyOwner.h.
|
inlinevirtual |
Resets the owner.
Reimplemented in PDG_Node, PDG_Scheduler, PDG_Processor, PDG_Partitioner, PDG_WorkItem, and PDG_BatchWorkItem.
Definition at line 49 of file PDGE_DependencyOwner.h.
|
friend |
Definition at line 89 of file PDGE_DependencyOwner.h.
|
friend |
Definition at line 90 of file PDGE_DependencyOwner.h.