openMSX
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
openmsx::AfterCmd Class Reference
Inheritance diagram for openmsx::AfterCmd:
Inheritance graph
[legend]
Collaboration diagram for openmsx::AfterCmd:
Collaboration graph
[legend]

Public Member Functions

const auto & getCommand () const
 
auto getId () const
 
auto getIdStr () const
 
void execute ()
 

Protected Member Functions

 AfterCmd (AfterCommand &afterCommand, TclObject command)
 
AfterCommand::Index removeSelf ()
 

Protected Attributes

AfterCommandafterCommand
 
TclObject command
 
const unsigned id
 

Static Protected Attributes

static unsigned lastAfterId = 0
 

Detailed Description

Definition at line 27 of file AfterCommand.cc.

Constructor & Destructor Documentation

◆ AfterCmd()

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

Definition at line 501 of file AfterCommand.cc.

Member Function Documentation

◆ execute()

void openmsx::AfterCmd::execute ( )

◆ getCommand()

const auto& openmsx::AfterCmd::getCommand ( ) const
inline

Definition at line 30 of file AfterCommand.cc.

References command.

◆ getId()

auto openmsx::AfterCmd::getId ( ) const
inline

Definition at line 31 of file AfterCommand.cc.

References id.

◆ getIdStr()

auto openmsx::AfterCmd::getIdStr ( ) const
inline

Definition at line 32 of file AfterCommand.cc.

References tmpStrCat().

◆ removeSelf()

AfterCommand::Index openmsx::AfterCmd::removeSelf ( )
protected

Definition at line 516 of file AfterCommand.cc.

References afterCommand, rfind_if_unguarded(), and openmsx::visit().

Member Data Documentation

◆ afterCommand

AfterCommand& openmsx::AfterCmd::afterCommand
protected

Definition at line 39 of file AfterCommand.cc.

Referenced by execute(), and removeSelf().

◆ command

TclObject openmsx::AfterCmd::command
protected

Definition at line 40 of file AfterCommand.cc.

Referenced by execute(), and getCommand().

◆ id

const unsigned openmsx::AfterCmd::id
protected

Definition at line 41 of file AfterCommand.cc.

Referenced by getId().

◆ lastAfterId

unsigned openmsx::AfterCmd::lastAfterId = 0
inlinestaticprotected

Definition at line 42 of file AfterCommand.cc.


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