openMSX
|
This class is used to for Tcl commands that directly influence the MSX state (e.g. More...
#include <RecordedCommand.hh>
Public Member Functions | |
MSXCommandEvent ()=default | |
MSXCommandEvent (span< std::string > tokens, EmuTime::param time) | |
MSXCommandEvent (span< const TclObject > tokens, EmuTime::param time) | |
const std::vector< TclObject > & | getTokens () const |
template<typename Archive > | |
void | serialize (Archive &ar, unsigned version) |
![]() | |
virtual | ~StateChange ()=default |
EmuTime::param | getTime () const |
template<typename Archive > | |
void | serialize (Archive &ar, unsigned) |
Additional Inherited Members | |
![]() | |
StateChange () | |
StateChange (EmuTime::param time_) | |
This class is used to for Tcl commands that directly influence the MSX state (e.g.
plug, disk<x>, cassetteplayer, reset). It's passed via an event because the recording needs to see these.
Definition at line 20 of file RecordedCommand.hh.
|
default |
openmsx::MSXCommandEvent::MSXCommandEvent | ( | span< std::string > | tokens, |
EmuTime::param | time | ||
) |
Definition at line 90 of file RecordedCommand.cc.
Definition at line 96 of file RecordedCommand.cc.
|
inline |
Definition at line 26 of file RecordedCommand.hh.
void openmsx::MSXCommandEvent::serialize | ( | Archive & | ar, |
unsigned | version | ||
) |
Definition at line 103 of file RecordedCommand.cc.
References span< ElementType, Extent >::empty(), t, to_vector(), and view::transform().