MyraMath
|
Implementation detail of UserJobGraph Job's, calculational aspects. More...
#include <UserJobGraph.h>
Public Member Functions | |
UserJob (uint64_t j, const Functor &f, const std::string &s) | |
Constructor, requires ID and Functor payload. | |
UserJob (const UserJob &that) | |
Copy constructor. | |
virtual UserJobBase * | clone () const |
Implementation detail of UserJobGraph::clone() | |
virtual uint64_t | execute () |
Executes the underlying Functor. | |
virtual | ~UserJob () |
Frees internal resources. | |
![]() | |
UserJobBase (uint64_t j, const std::string &s) | |
Constructor, requires ID and name. | |
virtual JobID | id () const |
Returns the JobID of this Job. | |
virtual void | parents (JobIDs &output) const |
Returns the JobID's of parents. | |
virtual void | children (JobIDs &output) const |
Returns the JobID's of children. | |
virtual std::string | name () const |
Returns a printable name for this Job, for debugging. | |
void | add_parent (uint64_t p) |
Adds a parent dependency. | |
void | add_child (uint64_t c) |
Adds a child dependency. | |
~UserJobBase () | |
Frees internal resources. | |
![]() | |
Job () | |
Default constructor. | |
bool | notify (const JobID &j) |
Notifies this Job that one of it's parents has execute()'d. | |
virtual | ~Job () |
Virtual destructor, for subtypes to release resources. | |
Additional Inherited Members | |
![]() | |
uint64_t | job |
std::string | n |
std::vector< uint64_t > | pids |
std::vector< uint64_t > | cids |
Implementation detail of UserJobGraph Job's, calculational aspects.