dol: initial dol commit
[jump.git] / dol / src / dol / visitor / hdsd / lib / dol_sched_if.h
diff --git a/dol/src/dol/visitor/hdsd/lib/dol_sched_if.h b/dol/src/dol/visitor/hdsd/lib/dol_sched_if.h
new file mode 100644 (file)
index 0000000..d861b1e
--- /dev/null
@@ -0,0 +1,43 @@
+/**************************************************************************\r
+       dol_sched_if.h\r
\r
+       Scheduler interface for a DOL process    \r
+\r
+       (c) 2006 by Alexander Maxiaguine <maxiagui@tik.ee.ethz.ch>\r
+\r
+       Computer Engineering and Networks Laboratory, TIK\r
+       Swiss Federal Institute of Technology, ETHZ Zurich \r
+       Switzerland\r
+\r
+**************************************************************************/\r
+\r
+/**************************************************************************\r
+       Change Log:\r
+\r
+       14.03.06 -- creation\r
+\r
+**************************************************************************/\r
+\r
+#ifndef DOL_SCHED_IF_H\r
+#define DOL_SCHED_IF_H\r
+\r
+class dol_sched_if \r
+{\r
+\r
+public:\r
+       virtual void initialize() = 0;\r
+       virtual int fire() = 0;\r
+\r
+\r
+protected:\r
+       dol_sched_if()  {}\r
+\r
+\r
+private:\r
+\r
+    // disabled\r
+    dol_sched_if( const dol_sched_if& );\r
+    dol_sched_if& operator = ( const dol_sched_if& );\r
+};\r
+\r
+#endif\r