Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
openmsx::AfterCmd Class Referenceabstract
Inheritance diagram for openmsx::AfterCmd:
Inheritance graph
Collaboration diagram for openmsx::AfterCmd:
Collaboration graph

Public Member Functions

virtual ~AfterCmd ()=default
string_view getCommand () const
const string & getId () const
virtual string getType () const =0
void execute ()

Protected Member Functions

 AfterCmd (AfterCommand &afterCommand, TclObject command)
unique_ptr< AfterCmdremoveSelf ()

Protected Attributes

TclObject command
string id

Static Protected Attributes

static unsigned lastAfterId = 0

Detailed Description

Definition at line 30 of file

Constructor & Destructor Documentation

◆ ~AfterCmd()

virtual openmsx::AfterCmd::~AfterCmd ( )

◆ AfterCmd()

openmsx::AfterCmd::AfterCmd ( AfterCommand afterCommand,
TclObject  command 

Definition at line 462 of file

References lastAfterId.

Member Function Documentation

◆ execute()

void openmsx::AfterCmd::execute ( )

◆ getCommand()

string_view openmsx::AfterCmd::getCommand ( ) const

Definition at line 470 of file

References command, and openmsx::TclObject::getString().

◆ getId()

const string & openmsx::AfterCmd::getId ( ) const

Definition at line 475 of file

References id.

◆ getType()

virtual string openmsx::AfterCmd::getType ( ) const
pure virtual

◆ removeSelf()

unique_ptr< AfterCmd > openmsx::AfterCmd::removeSelf ( )

Definition at line 490 of file

References afterCommand, and rfind_if_unguarded().

Member Data Documentation

◆ afterCommand

AfterCommand& openmsx::AfterCmd::afterCommand

Definition at line 43 of file

Referenced by execute(), and removeSelf().

◆ command

TclObject openmsx::AfterCmd::command

Definition at line 44 of file

Referenced by execute(), and getCommand().

◆ id

string openmsx::AfterCmd::id

Definition at line 45 of file

Referenced by getId().

◆ lastAfterId

unsigned openmsx::AfterCmd::lastAfterId = 0

Definition at line 46 of file

Referenced by AfterCmd().

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