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.
8 #ifndef SERVER_SRC_SERVICES_POLYMARKER_INCLUDE_POLYMARKER_SERVICE_JOB_H_
9 #define SERVER_SRC_SERVICES_POLYMARKER_INCLUDE_POLYMARKER_SERVICE_JOB_H_
18 #ifndef DOXYGEN_SHOULD_SKIP_THIS
21 #ifdef ALLOCATE_POLYMARKER_SERVICE_JOB_TAGS
22 #define POLYMARKER_SERVICE_JOB_PREFIX POLYMARKER_SERVICE_API
23 #define POLYMARKER_SERVICE_JOB_VAL(x) = x
25 #define POLYMARKER_SERVICE_JOB_PREFIX extern
26 #define POLYMARKER_SERVICE_JOB_VAL(x)
void FreePolymarkerServiceJob(ServiceJob *job_p)
Free the PolymarkerServiceJob.
ServiceJob psj_base_job
The base ServiceJob.
Definition: polymarker_service_job.h:43
void PolymarkerServiceJobCompleted(ServiceJob *job_p)
A datatype to represent a running task.
Definition: service_job.h:72
json_t * ConvertPolymarkerServiceJobToJSON(Service *service_p, ServiceJob *service_job_p, bool omit_results_flag)
Get the JSON representation of a PolymarkerServiceJob.
A datatype that stores the information of sequence data that the PolymarkerService can run with.
Definition: polymarker_service.h:106
The ServiceData used for the PolymarkerService.
Definition: polymarker_service.h:129
PolymarkerServiceJob * AllocatePolymarkerServiceJob(Service *service_p, const PolymarkerSequence *db_p, PolymarkerServiceData *data_p)
Create a PolymarkerServiceJob.
ServiceJob * GetPolymarkerServiceJobFromJSON(struct Service *service_p, const json_t *service_job_json_p)
Create a PolymarkerServiceJob from a JSON-based serialisation.
A datatype for storing a ServiceJob for the PolymarkerService with its extra associated fields.
Definition: polymarker_service_job.h:40
A datatype which defines an available service, its capabilities and its parameters.
Definition: service.h:153
bool AddPolymarkerResult(PolymarkerServiceJob *polymarker_job_p, const char *uuid_s)
const POLYMARKER_SERVICE_JOB_PREFIX char *PSJ_TYPE_S POLYMARKER_SERVICE_JOB_VAL("polymarker_service_job")
bool UpdatePolymarkerServiceJob(ServiceJob *job_p)
Update the running status of PolymarkerServiceJob if needed.
#define POLYMARKER_SERVICE_LOCAL
Definition: polymarker_service.h:48
bool DeterminePolymarkerResult(PolymarkerServiceJob *polymarker_job_p)
PolymarkerTool * psj_tool_p
The PolymarkerTool used for this PolymarkerServiceJob.
Definition: polymarker_service_job.h:46