openMSX
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
[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 28 of file AfterCommand.cc.

Constructor & Destructor Documentation

openmsx::AfterCmd::~AfterCmd ( )
virtual

Definition at line 488 of file AfterCommand.cc.

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

Definition at line 480 of file AfterCommand.cc.

References lastAfterId.

Member Function Documentation

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

Definition at line 492 of file AfterCommand.cc.

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

Definition at line 497 of file AfterCommand.cc.

References id.

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

Definition at line 512 of file AfterCommand.cc.

References afterCommand, and UNREACHABLE.

Member Data Documentation

AfterCommand& openmsx::AfterCmd::afterCommand
protected

Definition at line 41 of file AfterCommand.cc.

Referenced by execute(), and removeSelf().

TclObject openmsx::AfterCmd::command
protected

Definition at line 42 of file AfterCommand.cc.

string openmsx::AfterCmd::id
protected

Definition at line 43 of file AfterCommand.cc.

Referenced by getId().

unsigned openmsx::AfterCmd::lastAfterId = 0
staticprotected

Definition at line 44 of file AfterCommand.cc.

Referenced by AfterCmd().


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