eventq.hh (7060:ad784e759a74) eventq.hh (7063:c0ea4df1ddab)
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
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 EventQueue(const EventQueue &);
374 const EventQueue &operator=(const EventQueue &);
375
373 public:
376 public:
374 EventQueue(const std::string &n)
375 : objName(n), head(NULL)
376 {}
377 EventQueue(const std::string &n);
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 ---
378
379 virtual const std::string name() const { return objName; }
380
381 // schedule the given event on this queue
382 void schedule(Event *event, Tick when);
383 void deschedule(Event *event);
384 void reschedule(Event *event, Tick when, bool always = false);
385

--- 207 unchanged lines hidden ---