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 (MSXMotherBoard &motherboard, const std::string &name, const DeviceConfig &config)
 
 ~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 47 of file IRQHelper.hh.

Constructor & Destructor Documentation

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

Create a new IntHelper.

Initially there is no interrupt request on the bus.

Definition at line 53 of file IRQHelper.hh.

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

Definition at line 59 of file IRQHelper.hh.

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

Destroy this IntHelper.

Resets interrupt request if it is active.

Definition at line 70 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 95 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   
)
inline

Definition at line 100 of file IRQHelper.hh.

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

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