caoss.simulator.hardware

## Class AbstractInterruptController

- java.lang.Object
- - caoss.simulator.hardware.AbstractInterruptController

- Direct Known Subclasses:
    SingleCoreInterruptController

      public abstract class AbstractInterruptController
      extends java.lang.Object

  The base class for the implementation of interrupt controllers
  Author:
    Herve Paulino

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AbstractInterruptController()`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static AbstractInterruptController` | `getInstance()` Obtain the instance of the interrupt controller
    `void` | `handleInterrupt(Interrupt interrupt)` Handle the given interrupt to a CPU core

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AbstractInterruptController

          public AbstractInterruptController()

  - ### Method Detail

    - #### getInstance

          public static final AbstractInterruptController getInstance()

      Obtain the instance of the interrupt controller
      Returns:
        The interrupt controller

    - #### handleInterrupt

          public void handleInterrupt(Interrupt interrupt)

      Handle the given interrupt to a CPU core
      Parameters:
        `interrupt` - The interrupt