tac0S
Template Affectional Command Operating System
Public Member Functions | Public Attributes | List of all members
PendingInterrupt Class Reference

The following class defines an interrupt that is scheduled to occur in the future. The internal data structures are left public to make it simpler to manipulate. More...

#include <interrupt.h>

Public Member Functions

 PendingInterrupt (VoidFunctionPtr func, int param, long long time, IntType kind)
 PendingInterrupt::PendingInterrupt Initialize a hardware device interrupt that is to be scheduled to occur in the near future. More...
 

Public Attributes

VoidFunctionPtr handler
 
int arg
 
long long when
 
IntType type
 

Detailed Description

The following class defines an interrupt that is scheduled to occur in the future. The internal data structures are left public to make it simpler to manipulate.

Constructor & Destructor Documentation

PendingInterrupt::PendingInterrupt ( VoidFunctionPtr  func,
int  param,
long long  time,
IntType  kind 
)

PendingInterrupt::PendingInterrupt Initialize a hardware device interrupt that is to be scheduled to occur in the near future.

Parameters
funcis the procedure to call when the interrupt occurs
paramis the argument to pass to the procedure
timeis when (in simulated time) the interrupt is to occur
kindis the hardware device that generated the interrupt

The documentation for this class was generated from the following files: