|
openMSX
|
#include <AfterCommand.hh>


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 | |
| CommandController & | getCommandController () 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 () | |
Definition at line 19 of file AfterCommand.hh.
| typedef std::shared_ptr<const Event> openmsx::AfterCommand::EventPtr |
Definition at line 22 of file AfterCommand.hh.
| openmsx::AfterCommand::AfterCommand | ( | Reactor & | reactor, |
| EventDistributor & | eventDistributor, | ||
| CommandController & | commandController | ||
| ) |
Definition at line 126 of file AfterCommand.cc.
References openmsx::OPENMSX_AFTER_REALTIME_EVENT, openmsx::OPENMSX_AFTER_TIMED_EVENT, openmsx::OPENMSX_BOOT_EVENT, openmsx::OPENMSX_BREAK_EVENT, openmsx::OPENMSX_FINISH_FRAME_EVENT, openmsx::OPENMSX_JOY_AXIS_MOTION_EVENT, openmsx::OPENMSX_JOY_BUTTON_DOWN_EVENT, openmsx::OPENMSX_JOY_BUTTON_UP_EVENT, openmsx::OPENMSX_KEY_DOWN_EVENT, openmsx::OPENMSX_KEY_UP_EVENT, openmsx::OPENMSX_MACHINE_LOADED_EVENT, openmsx::OPENMSX_MOUSE_BUTTON_DOWN_EVENT, openmsx::OPENMSX_MOUSE_BUTTON_UP_EVENT, openmsx::OPENMSX_MOUSE_MOTION_EVENT, openmsx::OPENMSX_QUIT_EVENT, and openmsx::EventDistributor::registerEventListener().
|
virtual |
Definition at line 167 of file AfterCommand.cc.
References openmsx::OPENMSX_AFTER_REALTIME_EVENT, openmsx::OPENMSX_AFTER_TIMED_EVENT, openmsx::OPENMSX_BOOT_EVENT, openmsx::OPENMSX_BREAK_EVENT, openmsx::OPENMSX_FINISH_FRAME_EVENT, openmsx::OPENMSX_JOY_AXIS_MOTION_EVENT, openmsx::OPENMSX_JOY_BUTTON_DOWN_EVENT, openmsx::OPENMSX_JOY_BUTTON_UP_EVENT, openmsx::OPENMSX_KEY_DOWN_EVENT, openmsx::OPENMSX_KEY_UP_EVENT, openmsx::OPENMSX_MACHINE_LOADED_EVENT, openmsx::OPENMSX_MOUSE_BUTTON_DOWN_EVENT, openmsx::OPENMSX_MOUSE_BUTTON_UP_EVENT, openmsx::OPENMSX_MOUSE_MOTION_EVENT, openmsx::OPENMSX_QUIT_EVENT, and openmsx::EventDistributor::unregisterEventListener().
|
virtual |
Definition at line 201 of file AfterCommand.cc.
References openmsx::InputEventFactory::createInputEvent(), string_ref::str(), and StringOp::stringToInt().
|
virtual |
Definition at line 371 of file AfterCommand.cc.
|
virtual |
Definition at line 384 of file AfterCommand.cc.
References openmsx::Completer::completeString().
|
friend |
Definition at line 57 of file AfterCommand.hh.
|
friend |
Definition at line 59 of file AfterCommand.hh.
|
friend |
Definition at line 58 of file AfterCommand.hh.
1.8.1.2