openMSX
Public Member Functions | List of all members
openmsx::IntHelper< SOURCE > Class Template Reference

#include <IRQHelper.hh>

Inheritance diagram for openmsx::IntHelper< SOURCE >:
Inheritance graph
[legend]
Collaboration diagram for openmsx::IntHelper< SOURCE >:
Collaboration graph
[legend]

Public Member Functions

 IntHelper (MSXMotherBoard &motherboard, const std::string &name)
 Create a new IntHelper. More...
 
 ~IntHelper ()
 Destroy this IntHelper. More...
 
void set ()
 Set the interrupt request on the bus. More...
 
void reset ()
 Reset the interrupt request on the bus. More...
 
bool getState () const
 Get the interrupt state. More...
 
template<typename Archive >
void serialize (Archive &ar, unsigned)
 

Detailed Description

template<typename SOURCE>
class openmsx::IntHelper< SOURCE >

Definition at line 58 of file IRQHelper.hh.

Constructor & Destructor Documentation

template<typename SOURCE >
openmsx::IntHelper< SOURCE >::IntHelper ( MSXMotherBoard motherboard,
const std::string &  name 
)
explicit

Create a new IntHelper.

Initially there is no interrupt request on the bus.

Definition at line 73 of file IRQHelper.cc.

template<typename SOURCE>
openmsx::IntHelper< SOURCE >::~IntHelper ( )
inline

Destroy this IntHelper.

Resets interrupt request if it is active.

Definition at line 69 of file IRQHelper.hh.

Member Function Documentation

template<typename SOURCE>
bool openmsx::IntHelper< SOURCE >::getState ( ) const
inline

Get the interrupt state.

Returns
true iff interrupt request is active.

Definition at line 94 of file IRQHelper.hh.

Referenced by openmsx::MSXMidiI8251Interf::getDSR(), openmsx::PioneerLDControl::readMem(), and openmsx::PioneerLDControl::writeMem().

template<typename SOURCE>
void openmsx::IntHelper< SOURCE >::reset ( )
inline
template<typename SOURCE >
template<typename Archive >
void openmsx::IntHelper< SOURCE >::serialize ( Archive &  ar,
unsigned   
)

Definition at line 81 of file IRQHelper.cc.

template<typename SOURCE>
void openmsx::IntHelper< SOURCE >::set ( )
inline

Set the interrupt request on the bus.

Definition at line 75 of file IRQHelper.hh.

Referenced by openmsx::VDP::executeUntil(), openmsx::PioneerLDControl::videoIn(), and openmsx::PioneerLDControl::writeMem().


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