openMSX
Public Member Functions | Protected Member Functions | List of all members
openmsx::StateChange Class Reference

Base class for all external MSX state changing events. More...

#include <StateChange.hh>

Inheritance diagram for openmsx::StateChange:
Inheritance graph
[legend]

Public Member Functions

virtual ~StateChange ()=default
 
EmuTime::param getTime () const
 
template<typename Archive >
void serialize (Archive &ar, unsigned)
 

Protected Member Functions

 StateChange ()
 
 StateChange (EmuTime::param time_)
 

Detailed Description

Base class for all external MSX state changing events.

These are typically triggered by user input, like keyboard presses. The main reason why these events exist is to be able to record and replay them.

Definition at line 19 of file StateChange.hh.

Constructor & Destructor Documentation

◆ ~StateChange()

virtual openmsx::StateChange::~StateChange ( )
virtualdefault

◆ StateChange() [1/2]

openmsx::StateChange::StateChange ( )
inlineprotected

Definition at line 36 of file StateChange.hh.

◆ StateChange() [2/2]

openmsx::StateChange::StateChange ( EmuTime::param  time_)
inlineexplicitprotected

Definition at line 37 of file StateChange.hh.

Member Function Documentation

◆ getTime()

EmuTime::param openmsx::StateChange::getTime ( ) const
inline

Definition at line 24 of file StateChange.hh.

◆ serialize()

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

Definition at line 30 of file StateChange.hh.


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