| MyraMath
    | 
Implementation detail of UserJobGraph Job's, structural aspects. More...
#include <UserJobGraph.h>
| Public Member Functions | |
| UserJobBase (uint64_t j, const std::string &s) | |
| Constructor, requires ID and name. | |
| virtual UserJobBase * | clone () const =0 | 
| Implementation detail of FunctorJobGraph::clone() | |
| 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. | |
|  Public Member Functions inherited from myra::Job | |
| Job () | |
| Default constructor. | |
| bool | notify (const JobID &j) | 
| Notifies this Job that one of it's parents has execute()'d. | |
| virtual uint64_t | execute () | 
| Subtypes inject the "real work" here. Should return the amount of "work" performed. | |
| virtual | ~Job () | 
| Virtual destructor, for subtypes to release resources. | |
| Protected Attributes | |
| uint64_t | job | 
| std::string | n | 
| std::vector< uint64_t > | pids | 
| std::vector< uint64_t > | cids | 
Implementation detail of UserJobGraph Job's, structural aspects.
 1.8.13
 1.8.13