Sergei G / JobScheduler

Dependencies:   LinkedList

Dependents:   JobSchedulerDemo Borsch

Files at this revision

API Documentation at this revision

Comitter:
sgnezdov
Date:
Wed Aug 02 19:31:28 2017 +0000
Parent:
12:684ddfc57199
Child:
14:a30cc783ae89
Commit message:
added JobList method to be implemented

Changed in this revision

scheduler.cpp Show annotated file Show diff for this revision Revisions of this file
scheduler.h Show annotated file Show diff for this revision Revisions of this file
--- a/scheduler.cpp	Fri Jul 14 17:02:29 2017 +0000
+++ b/scheduler.cpp	Wed Aug 02 19:31:28 2017 +0000
@@ -105,6 +105,12 @@
     }
     
     void Scheduler::JobRemove(JobID jobID) {
+        tr_error("JobRemove is not implemented");
+    }
+    
+    LinkedList<Job> Scheduler::JobList() {
+        tr_error("JobList is not implemented");
+        return NULL;
     }
 
     static Action jobRunReq(JobRunAT);
--- a/scheduler.h	Fri Jul 14 17:02:29 2017 +0000
+++ b/scheduler.h	Wed Aug 02 19:31:28 2017 +0000
@@ -140,6 +140,7 @@
             /** JobAdd adds job of typeID and returns ID of added job. */
             Response<JobID> JobAdd(JobTypeID typeID, ISchedule *schedule, IJobData *data);
             void JobRemove(JobID jobID);
+            LinkedList<Job> JobList();
         private:
             static void updateAdapter(void *target);
             void updateHandler();