MyraMath
Classes | Public Member Functions | List of all members
myra::DeleteJobGraph< Object > Class Template Reference

Encapsulates "delete object;" into a JobGraph of a single Job. More...

#include <DeleteJobGraph.h>

Inheritance diagram for myra::DeleteJobGraph< Object >:
[legend]
Collaboration diagram for myra::DeleteJobGraph< Object >:
[legend]

Public Member Functions

 DeleteJobGraph (Object *in_object)
 Constructor, requires an Object to delete.
 
virtual JobGraphBaseclone () 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::Jobcreate (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.
 
- Public Member Functions inherited from myra::JobGraphBase
virtual ~JobGraphBase ()
 Virtual destructor, so subtypes can release resources.
 

Detailed Description

template<class Object>
class myra::DeleteJobGraph< Object >

Encapsulates "delete object;" into a JobGraph of a single Job.


The documentation for this class was generated from the following file: