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

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

Protected Member Functions

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

Protected Attributes

AfterCommandafterCommand
TclObject command
string id

Static Protected Attributes

static unsigned lastAfterId = 0

Detailed Description

Definition at line 32 of file AfterCommand.cc.

Constructor & Destructor Documentation

openmsx::AfterCmd::~AfterCmd ( )
virtual

Definition at line 492 of file AfterCommand.cc.

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

Definition at line 484 of file AfterCommand.cc.

References lastAfterId.

Member Function Documentation

void openmsx::AfterCmd::execute ( )
string_ref openmsx::AfterCmd::getCommand ( ) const

Definition at line 496 of file AfterCommand.cc.

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

Definition at line 501 of file AfterCommand.cc.

References id.

virtual string openmsx::AfterCmd::getType ( ) const
pure virtual
unique_ptr< AfterCmd > openmsx::AfterCmd::removeSelf ( )
protected

Definition at line 516 of file AfterCommand.cc.

References afterCommand, and UNREACHABLE.

Member Data Documentation

AfterCommand& openmsx::AfterCmd::afterCommand
protected

Definition at line 45 of file AfterCommand.cc.

Referenced by execute(), and removeSelf().

TclObject openmsx::AfterCmd::command
protected

Definition at line 46 of file AfterCommand.cc.

string openmsx::AfterCmd::id
protected

Definition at line 47 of file AfterCommand.cc.

Referenced by getId().

unsigned openmsx::AfterCmd::lastAfterId = 0
staticprotected

Definition at line 48 of file AfterCommand.cc.

Referenced by AfterCmd().


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