1/* 2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 53 unchanged lines hidden (view full) --- 62 if (m_last_wakeup != time) { 63 wakeup(); 64 m_last_wakeup = time; 65 } 66 } 67 68 virtual void wakeup() = 0; 69 virtual void print(std::ostream& out) const = 0; |
70 virtual void storeEventInfo(int info) {} |
71 72 const Time& 73 getLastScheduledWakeup() const 74 { 75 return m_last_scheduled_wakeup; 76 } 77 78 void --- 39 unchanged lines hidden --- |