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 30 of file AfterCommand.cc.

Constructor & Destructor Documentation

◆ AfterCmd()

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

Definition at line 476 of file AfterCommand.cc.

Member Function Documentation

◆ execute()

void openmsx::AfterCmd::execute ( )

◆ getCommand()

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

Definition at line 33 of file AfterCommand.cc.

References command.

◆ getId()

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

Definition at line 34 of file AfterCommand.cc.

References id.

◆ getIdStr()

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

Definition at line 35 of file AfterCommand.cc.

References tmpStrCat().

◆ removeSelf()

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

Definition at line 491 of file AfterCommand.cc.

References afterCommand, and rfind_if_unguarded().

Member Data Documentation

◆ afterCommand

AfterCommand& openmsx::AfterCmd::afterCommand
protected

Definition at line 42 of file AfterCommand.cc.

Referenced by execute(), and removeSelf().

◆ command

TclObject openmsx::AfterCmd::command
protected

Definition at line 43 of file AfterCommand.cc.

Referenced by execute(), and getCommand().

◆ id

const unsigned openmsx::AfterCmd::id
protected

Definition at line 44 of file AfterCommand.cc.

Referenced by getId().

◆ lastAfterId

unsigned openmsx::AfterCmd::lastAfterId = 0
inlinestaticprotected

Definition at line 45 of file AfterCommand.cc.


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