MyraMath
|
Encapsulates "delete object;" into a JobGraph of a single Job. More...
#include <DeleteJobGraph.h>
Public Member Functions | |
DeleteJobGraph (Object *in_object) | |
Constructor, requires an Object to delete. | |
virtual JobGraphBase * | clone () const |
Virtual copy constructor. | |
virtual | ~DeleteJobGraph () |
Frees internal resources. | |
virtual uint64_t | n_work () const |
Total "work" over all Job's of this JobGraph. | |
virtual std::string | name () const |
Returns a printable name for this JobGraph, for debugging. | |
virtual void | begins (JobIDs &output) const |
Enumerates the JobIDs of Job's that have no parents (where execution begins) | |
virtual void | ends (JobIDs &output) const |
Enumerates the JobIDs of Job's that have no children (where execution ends) | |
virtual ::myra::Job * | create (JobID id) |
Constructs the Job corresponding to the given JobIDs. | |
virtual std::vector<::myra::Job * > | create () |
Constructs all Job's in an implementation-defined order. | |
virtual uint64_t | size () const |
Returns maximum JobID. | |
![]() | |
virtual | ~JobGraphBase () |
Virtual destructor, so subtypes can release resources. | |
Encapsulates "delete object;" into a JobGraph of a single Job.