27 #ifndef EMBB_MTAPI_JOB_H_ 28 #define EMBB_MTAPI_JOB_H_ 30 #include <embb/mtapi/c/mtapi.h> 31 #include <embb/mtapi/internal/check_status.h> 59 ) : handle_(other.handle_) {
70 handle_ = other.handle_;
92 mtapi_job_id_t job_id,
93 mtapi_domain_t domain_id
95 mtapi_status_t status;
97 internal::CheckStatus(status);
100 mtapi_job_hndl_t handle_;
106 #endif // EMBB_MTAPI_JOB_H_ Definition: lock_free_mpmc_queue.h:40
A singleton representing the MTAPI runtime.
Definition: node.h:70
Job()
Constructs a Job.
Definition: job.h:48
Represents a collection of Actions.
Definition: job.h:41
void operator=(Job const &other)
Copies a Job object.
Definition: job.h:67
mtapi_job_hndl_t mtapi_job_get(const mtapi_job_id_t job_id, const mtapi_domain_t domain_id, mtapi_status_t *status)
Given a job_id, this function returns the MTAPI handle for referencing the actions implementing the j...
Job(Job const &other)
Copies a Job object.
Definition: job.h:57
mtapi_job_hndl_t GetInternal() const
Returns the internal representation of this object.
Definition: job.h:80