eventq.hh (7059:4fb4eeb5f412) eventq.hh (7060:ad784e759a74)
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;

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

435 EventManager(EventQueue *eq) : eventq(eq) {}
436
437 EventQueue *
438 queue() const
439 {
440 return eventq;
441 }
442
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;

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

435 EventManager(EventQueue *eq) : eventq(eq) {}
436
437 EventQueue *
438 queue() const
439 {
440 return eventq;
441 }
442
443 operator EventQueue *() const
444 {
445 return eventq;
446 }
447
443 void
444 schedule(Event &event, Tick when)
445 {
446 eventq->schedule(&event, when);
447 }
448
449 void
450 deschedule(Event &event)

--- 136 unchanged lines hidden ---
448 void
449 schedule(Event &event, Tick when)
450 {
451 eventq->schedule(&event, when);
452 }
453
454 void
455 deschedule(Event &event)

--- 136 unchanged lines hidden ---