00001 // AUTOMATICALLY GENERATED -- DO NOT EDIT! -*- c++ -*- 00002 00003 #ifndef deadline_timeout_h 00004 #define deadline_timeout_h 00005 00006 #include "timeout.h" 00007 00008 // 00009 // INTERFACE definition follows 00010 // 00011 00012 00013 class Context; 00014 class Preemption; 00015 00016 class Deadline_timeout : public Timeout 00017 { 00018 friend class Jdb_list_timeouts; 00019 00020 private: 00021 Preemption * const _preemption; 00022 00023 public: 00028 inline Deadline_timeout(Preemption * const preemption); 00029 00030 private: 00031 inline Context * const owner() const; 00032 00037 bool expired(); 00038 }; 00039 00040 // 00041 // IMPLEMENTATION includes follow (for use by inline functions) 00042 // 00043 00044 #include "globals.h" 00045 00046 // 00047 // IMPLEMENTATION of inline functions (and needed classes) 00048 // 00049 00050 00051 00057 inline Deadline_timeout::Deadline_timeout(Preemption * const preemption) 00058 : _preemption (preemption) 00059 {} 00060 00061 #endif // deadline_timeout_h