openMSX
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Friends | List of all members
openmsx::EmuTime Class Reference

#include <EmuTime.hh>

Collaboration diagram for openmsx::EmuTime:
Collaboration graph
[legend]

Public Types

using param = const EmuTime &
 

Public Member Functions

bool operator== (EmuTime::param e) const
 
bool operator!= (EmuTime::param e) const
 
bool operator< (EmuTime::param e) const
 
bool operator<= (EmuTime::param e) const
 
bool operator> (EmuTime::param e) const
 
bool operator>= (EmuTime::param e) const
 
const EmuTime operator+ (EmuDuration::param d) const
 
const EmuTime operator- (EmuDuration::param d) const
 
EmuTimeoperator+= (EmuDuration::param d)
 
EmuTimeoperator-= (EmuDuration::param d)
 
const EmuDuration operator- (EmuTime::param e) const
 
template<typename Archive >
void serialize (Archive &ar, unsigned version)
 

Static Public Member Functions

static param dummy ()
 
static EmuTime makeEmuTime (uint64_t u)
 

Static Public Attributes

static const EmuTime zero
 
static const EmuTime infinity
 

Friends

template<unsigned , unsigned >
class Clock
 
class DynamicClock
 
std::ostream & operator<< (std::ostream &os, EmuTime::param time)
 

Detailed Description

Definition at line 10 of file EmuTime.hh.

Member Typedef Documentation

◆ param

Definition at line 20 of file EmuTime.hh.

Member Function Documentation

◆ dummy()

static param openmsx::EmuTime::dummy ( )
inlinestatic

Definition at line 21 of file EmuTime.hh.

References zero.

Referenced by openmsx::ADVram::ADVram(), openmsx::DebugDevice::DebugDevice(), openmsx::ESE_RAM::ESE_RAM(), openmsx::FraelSwitchableROM::FraelSwitchableROM(), openmsx::GoudaSCSI::GoudaSCSI(), openmsx::MSXBunsetsu::MSXBunsetsu(), openmsx::MSXCielTurbo::MSXCielTurbo(), openmsx::MSXKanji::MSXKanji(), openmsx::MSXKanji12::MSXKanji12(), openmsx::MSXMapperIO::MSXMapperIO(), openmsx::MSXMatsushita::MSXMatsushita(), openmsx::MSXMegaRam::MSXMegaRam(), openmsx::MSXPac::MSXPac(), openmsx::MSXResetStatusRegister::MSXResetStatusRegister(), openmsx::MSXS1985::MSXS1985(), openmsx::MSXS1990::MSXS1990(), openmsx::MSXTurboRPause::MSXTurboRPause(), openmsx::NowindInterface::NowindInterface(), openmsx::PasswordCart::PasswordCart(), openmsx::WD2793::peekDataReg(), openmsx::Schedulable::pendingSyncPoint(), openmsx::RomArc::RomArc(), openmsx::RomAscii16_2::RomAscii16_2(), openmsx::RomAscii16kB::RomAscii16kB(), openmsx::RomAscii8_8::RomAscii8_8(), openmsx::RomAscii8kB::RomAscii8kB(), openmsx::RomCrossBlaim::RomCrossBlaim(), openmsx::RomFSA1FM2::RomFSA1FM2(), openmsx::RomGameMaster2::RomGameMaster2(), openmsx::RomGeneric16kB::RomGeneric16kB(), openmsx::RomGeneric8kB::RomGeneric8kB(), openmsx::RomHalnote::RomHalnote(), openmsx::RomHarryFox::RomHarryFox(), openmsx::RomHolyQuran::RomHolyQuran(), openmsx::RomHolyQuran2::RomHolyQuran2(), openmsx::RomKonamiKeyboardMaster::RomKonamiKeyboardMaster(), openmsx::RomMatraInk::RomMatraInk(), openmsx::RomMitsubishiMLTS2::RomMitsubishiMLTS2(), openmsx::RomMSXDOS2::RomMSXDOS2(), openmsx::RomMSXWrite::RomMSXWrite(), openmsx::RomNational::RomNational(), openmsx::RomNettouYakyuu::RomNettouYakyuu(), openmsx::RomPadial16kB::RomPadial16kB(), openmsx::RomPadial8kB::RomPadial8kB(), openmsx::RomPanasonic::RomPanasonic(), openmsx::RomPlayBall::RomPlayBall(), openmsx::RomRType::RomRType(), openmsx::RomSuperLodeRunner::RomSuperLodeRunner(), openmsx::RomSuperSwangi::RomSuperSwangi(), openmsx::RomZemina126in1::RomZemina126in1(), openmsx::RomZemina80in1::RomZemina80in1(), openmsx::RomZemina90in1::RomZemina90in1(), openmsx::MSXCielTurbo::serialize(), openmsx::Paddle::serialize(), openmsx::Trackball::serialize(), openmsx::ArkanoidPad::serialize(), openmsx::KeyJoystick::serialize(), openmsx::Touchpad::serialize(), openmsx::TC8566AF::serialize(), openmsx::MSXTurboRPause::serialize(), openmsx::WD2793::serialize(), openmsx::VDPCmdEngine::serialize(), openmsx::ArkanoidPad::~ArkanoidPad(), openmsx::JoyMega::~JoyMega(), openmsx::Joystick::~Joystick(), openmsx::KeyJoystick::~KeyJoystick(), openmsx::Mouse::~Mouse(), openmsx::MSXPPI::~MSXPPI(), openmsx::MSXPSG::~MSXPSG(), openmsx::MSXTurboRPause::~MSXTurboRPause(), openmsx::Paddle::~Paddle(), openmsx::SVIPSG::~SVIPSG(), openmsx::Touchpad::~Touchpad(), and openmsx::Trackball::~Trackball().

◆ makeEmuTime()

static EmuTime openmsx::EmuTime::makeEmuTime ( uint64_t  u)
inlinestatic

Definition at line 26 of file EmuTime.hh.

◆ operator!=()

bool openmsx::EmuTime::operator!= ( EmuTime::param  e) const
inline

Definition at line 31 of file EmuTime.hh.

◆ operator+()

const EmuTime openmsx::EmuTime::operator+ ( EmuDuration::param  d) const
inline

Definition at line 43 of file EmuTime.hh.

◆ operator+=()

EmuTime& openmsx::EmuTime::operator+= ( EmuDuration::param  d)
inline

Definition at line 48 of file EmuTime.hh.

◆ operator-() [1/2]

const EmuTime openmsx::EmuTime::operator- ( EmuDuration::param  d) const
inline

Definition at line 45 of file EmuTime.hh.

◆ operator-() [2/2]

const EmuDuration openmsx::EmuTime::operator- ( EmuTime::param  e) const
inline

Definition at line 53 of file EmuTime.hh.

References openmsx::EmuDuration.

◆ operator-=()

EmuTime& openmsx::EmuTime::operator-= ( EmuDuration::param  d)
inline

Definition at line 50 of file EmuTime.hh.

◆ operator<()

bool openmsx::EmuTime::operator< ( EmuTime::param  e) const
inline

Definition at line 33 of file EmuTime.hh.

◆ operator<=()

bool openmsx::EmuTime::operator<= ( EmuTime::param  e) const
inline

Definition at line 35 of file EmuTime.hh.

◆ operator==()

bool openmsx::EmuTime::operator== ( EmuTime::param  e) const
inline

Definition at line 29 of file EmuTime.hh.

◆ operator>()

bool openmsx::EmuTime::operator> ( EmuTime::param  e) const
inline

Definition at line 37 of file EmuTime.hh.

◆ operator>=()

bool openmsx::EmuTime::operator>= ( EmuTime::param  e) const
inline

Definition at line 39 of file EmuTime.hh.

◆ serialize()

template<typename Archive >
void openmsx::EmuTime::serialize ( Archive &  ar,
unsigned  version 
)

Friends And Related Function Documentation

◆ Clock

template<unsigned , unsigned >
friend class Clock
friend

Definition at line 71 of file EmuTime.hh.

◆ DynamicClock

friend class DynamicClock
friend

Definition at line 72 of file EmuTime.hh.

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
EmuTime::param  time 
)
friend

Definition at line 11 of file EmuTime.cc.

Member Data Documentation

◆ infinity

const EmuTime openmsx::EmuTime::infinity
static

◆ zero

const EmuTime openmsx::EmuTime::zero
static

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