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 |
376 public: |
377 EventQueue(const std::string &n); |
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 --- |