X-Git-Url: http://sraa.de/git/?a=blobdiff_plain;f=dol%2Fsrc%2Fdol%2Fvisitor%2Fhdsd%2Flib%2Fdol_sched_if.h;fp=dol%2Fsrc%2Fdol%2Fvisitor%2Fhdsd%2Flib%2Fdol_sched_if.h;h=d861b1e09a58cba9661930a884c7af90af2e9dcf;hb=8c411cf24ed0eb889191aaeafd8fa1e69081df42;hp=0000000000000000000000000000000000000000;hpb=dea7a4fb1ed110d3ce6e6d9255103d724bd66c0e;p=jump.git 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 index 0000000..d861b1e --- /dev/null +++ b/dol/src/dol/visitor/hdsd/lib/dol_sched_if.h @@ -0,0 +1,43 @@ +/************************************************************************** + dol_sched_if.h + + Scheduler interface for a DOL process + + (c) 2006 by Alexander Maxiaguine + + Computer Engineering and Networks Laboratory, TIK + Swiss Federal Institute of Technology, ETHZ Zurich + Switzerland + +**************************************************************************/ + +/************************************************************************** + Change Log: + + 14.03.06 -- creation + +**************************************************************************/ + +#ifndef DOL_SCHED_IF_H +#define DOL_SCHED_IF_H + +class dol_sched_if +{ + +public: + virtual void initialize() = 0; + virtual int fire() = 0; + + +protected: + dol_sched_if() {} + + +private: + + // disabled + dol_sched_if( const dol_sched_if& ); + dol_sched_if& operator = ( const dol_sched_if& ); +}; + +#endif