eventq.hh (8581:56f97760eadd) | eventq.hh (8648:974f0e4a9ff6) |
---|---|
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; --- 394 unchanged lines hidden (view full) --- 403 404 // return true if no events are queued 405 bool empty() const { return head == NULL; } 406 407 void dump() const; 408 409 bool debugVerify() const; 410 | 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; --- 394 unchanged lines hidden (view full) --- 403 404 // return true if no events are queued 405 bool empty() const { return head == NULL; } 406 407 void dump() const; 408 409 bool debugVerify() const; 410 |
411 /** 412 * function for replacing the head of the event queue, so that a 413 * different set of events can run without disturbing events that have 414 * already been scheduled. Already scheduled events can be processed 415 * by replacing the original head back. 416 * USING THIS FUNCTION CAN BE DANGEROUS TO THE HEALTH OF THE SIMULATOR. 417 * NOT RECOMMENDED FOR USE. 418 */ 419 Event* replaceHead(Event* s); 420 |
|
411#ifndef SWIG 412 virtual void serialize(std::ostream &os); 413 virtual void unserialize(Checkpoint *cp, const std::string §ion); 414#endif 415}; 416 417#ifndef SWIG 418class EventManager --- 176 unchanged lines hidden --- | 421#ifndef SWIG 422 virtual void serialize(std::ostream &os); 423 virtual void unserialize(Checkpoint *cp, const std::string §ion); 424#endif 425}; 426 427#ifndef SWIG 428class EventManager --- 176 unchanged lines hidden --- |