#include <ssim.h>
Public Member Functions | |
| virtual void | clear () throw () |
| handles a clear operation. | |
| virtual void | handle_busy (ProcessId p, const Event *e) throw () |
| handles busy-process conditions. | |
| virtual void | handle_terminated (ProcessId p, const Event *e) throw () |
| handles terminated-process conditions. | |
Simulation errors occur when an event is scheduled for a process that is either terminated or busy processing other events. These conditions may or may not represent application errors. In any case, the simulator delegates the handling of these conditions to an error handler.
|
|
handles a clear operation. This method is called by Sim::clear(). This enables any counters or other internal state of the error handler to be reset as necessary.
|
|
||||||||||||
|
handles busy-process conditions. A busy-process condition occurs when a process is scheduled to process an event at a time when it is still busy processing other events.
|
|
||||||||||||
|
handles terminated-process conditions. A terminated-process condition occurs when a process is scheduled to process an event at a time when it has already terminated its execution.
|