Grassroots Infrastructure
The Grassroots Infrastructure is a suite of computing tools to help users and developers use scientific data infrastructure that can easily be interconnected.
|
Go to the documentation of this file.
28 #ifndef SERVICE_JOB_SET_ITERATOR_H_
29 #define SERVICE_JOB_SET_ITERATOR_H_
void InitServiceJobSetIterator(ServiceJobSetIterator *iterator_p, ServiceJobSet *set_p)
Initialise a ServiceJobSetIterator to point to the first entry in a given ServiceJobSet.
A datatype used to store a ServiceJob within a ServceJobSet using a LinkedList.
Definition: service_job.h:169
A datatype to represent a running task.
Definition: service_job.h:72
#define GRASSROOTS_SERVICE_API
Definition: grassroots_service_library.h:49
A datatype allowing easy traversal over all of the ServiceJobs within a ServiceJobSet.
Definition: service_job_set_iterator.h:41
void FreeServiceJobSetIterator(ServiceJobSetIterator *iterator_p)
Free a ServiceJobSetIterator.
ServiceJob * GetNextServiceJobFromServiceJobSetIterator(ServiceJobSetIterator *iterator_p)
Get the next ServiceJob from the Iterator.
ServiceJobSetIterator * AllocateServiceJobSetIterator(ServiceJobSet *set_p)
Allocate a ServiceJobSetIterator.
bool HasServiceJobSetIteratorFinished(const ServiceJobSetIterator *iterator_p)
Has a ServiceJobSetIterator parsed all of the entries in a ServiceJobSet.
A datatype to represent a collection of ServiceJobs.
Definition: service_job.h:185
ServiceJobNode * sjs_current_node_p
The current position in the entries of the ServiceJobSet.
Definition: service_job_set_iterator.h:47
ServiceJobSet * sjsi_job_set_p
The ServiceJobSet to traverse.
Definition: service_job_set_iterator.h:44