openMSX
Public Types | Public Member Functions | Friends | List of all members
openmsx::AfterCommand Class Reference

#include <AfterCommand.hh>

Inheritance diagram for openmsx::AfterCommand:
Inheritance graph
[legend]
Collaboration diagram for openmsx::AfterCommand:
Collaboration graph
[legend]

Public Types

typedef std::shared_ptr< const
Event
EventPtr

Public Member Functions

 AfterCommand (Reactor &reactor, EventDistributor &eventDistributor, CommandController &commandController)
virtual ~AfterCommand ()
virtual void execute (const std::vector< TclObject > &tokens, TclObject &result)
virtual std::string help (const std::vector< std::string > &tokens) const
virtual void tabCompletion (std::vector< std::string > &tokens) const
- Public Member Functions inherited from openmsx::Command
virtual void execute (const std::vector< TclObject > &tokens, TclObject &result)
 Execute this command.
virtual std::string execute (const std::vector< std::string > &tokens)
 Alternative for the execute() method above.
virtual void tabCompletion (std::vector< std::string > &tokens) const
 Attempt tab completion for this command.
void setAllowedInEmptyMachine (bool value)
bool isAllowedInEmptyMachine () const
- Public Member Functions inherited from openmsx::CommandCompleter
CommandControllergetCommandController () const
- Public Member Functions inherited from openmsx::Completer
const std::string & getName () const
virtual std::string help (const std::vector< std::string > &tokens) const =0
 Print help for this command.

Friends

class AfterCmd
class AfterTimedCmd
class AfterRealTimeCmd

Additional Inherited Members

- Static Public Member Functions inherited from openmsx::Completer
template<typename RANGE >
static void completeString (std::vector< std::string > &tokens, const RANGE &possibleValues, bool caseSensitive=true)
template<typename RANGE >
static void completeFileName (std::vector< std::string > &tokens, const FileContext &context, const RANGE &extra)
static void completeFileName (std::vector< std::string > &tokens, const FileContext &context)
static void setOutput (InterpreterOutput *output)
- Protected Member Functions inherited from openmsx::Command
 Command (CommandController &commandController, string_ref name)
virtual ~Command ()
- Private Member Functions inherited from openmsx::EventListener
virtual ~EventListener ()
virtual int signalEvent (const std::shared_ptr< const Event > &event)=0
 This method gets called when an event you are subscribed to occurs.
 EventListener ()

Detailed Description

Definition at line 19 of file AfterCommand.hh.

Member Typedef Documentation

typedef std::shared_ptr<const Event> openmsx::AfterCommand::EventPtr

Definition at line 22 of file AfterCommand.hh.

Constructor & Destructor Documentation

openmsx::AfterCommand::AfterCommand ( Reactor reactor,
EventDistributor eventDistributor,
CommandController commandController 
)
openmsx::AfterCommand::~AfterCommand ( )
virtual

Member Function Documentation

void openmsx::AfterCommand::execute ( const std::vector< TclObject > &  tokens,
TclObject result 
)
virtual
string openmsx::AfterCommand::help ( const std::vector< std::string > &  tokens) const
virtual

Definition at line 371 of file AfterCommand.cc.

void openmsx::AfterCommand::tabCompletion ( std::vector< std::string > &  tokens) const
virtual

Definition at line 384 of file AfterCommand.cc.

References openmsx::Completer::completeString().

Friends And Related Function Documentation

friend class AfterCmd
friend

Definition at line 57 of file AfterCommand.hh.

friend class AfterRealTimeCmd
friend

Definition at line 59 of file AfterCommand.hh.

friend class AfterTimedCmd
friend

Definition at line 58 of file AfterCommand.hh.


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