MyraMath
Public Member Functions | List of all members
myra::UserJobGraph::UserJob< Functor > Class Template Reference

Implementation detail of UserJobGraph Job's, calculational aspects. More...

#include <UserJobGraph.h>

Inheritance diagram for myra::UserJobGraph::UserJob< Functor >:
[legend]
Collaboration diagram for myra::UserJobGraph::UserJob< Functor >:
[legend]

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 UserJobBaseclone () const
 Implementation detail of UserJobGraph::clone()
 
virtual uint64_t execute ()
 Executes the underlying Functor.
 
virtual ~UserJob ()
 Frees internal resources.
 
- Public Member Functions inherited from myra::UserJobGraph::UserJobBase
 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.
 
- 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 ~Job ()
 Virtual destructor, for subtypes to release resources.
 

Additional Inherited Members

- Protected Attributes inherited from myra::UserJobGraph::UserJobBase
uint64_t job
 
std::string n
 
std::vector< uint64_t > pids
 
std::vector< uint64_t > cids
 

Detailed Description

template<class Functor>
class myra::UserJobGraph::UserJob< Functor >

Implementation detail of UserJobGraph Job's, calculational aspects.


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