Deleted Added
sdiff udiff text old ( 7060:ad784e759a74 ) new ( 7063:c0ea4df1ddab )
full compact
1/*
2 * Copyright (c) 2000-2005 The Regents of The University of Michigan
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;

--- 356 unchanged lines hidden (view full) ---

365{
366 private:
367 std::string objName;
368 Event *head;
369
370 void insert(Event *event);
371 void remove(Event *event);
372
373 public:
374 EventQueue(const std::string &n)
375 : objName(n), head(NULL)
376 {}
377
378 virtual const std::string name() const { return objName; }
379
380 // schedule the given event on this queue
381 void schedule(Event *event, Tick when);
382 void deschedule(Event *event);
383 void reschedule(Event *event, Tick when, bool always = false);
384

--- 207 unchanged lines hidden ---