openMSX
|
Public Member Functions | |
QuitCommand (CommandController &commandController, EventDistributor &distributor) | |
void | execute (array_ref< TclObject > tokens, TclObject &result) override |
Execute this command. More... | |
string | help (const vector< string > &tokens) const override |
Print help for this command. More... | |
Public Member Functions inherited from openmsx::Command | |
void | tabCompletion (std::vector< std::string > &tokens) const override |
Attempt tab completion for this command. More... | |
void | setAllowedInEmptyMachine (bool value) |
bool | isAllowedInEmptyMachine () const |
void | setToken (void *token_) |
void * | getToken () const |
Public Member Functions inherited from openmsx::CommandCompleter | |
CommandCompleter (const CommandCompleter &)=delete | |
CommandCompleter & | operator= (const CommandCompleter &)=delete |
CommandController & | getCommandController () const |
Interpreter & | getInterpreter () const |
Public Member Functions inherited from openmsx::Completer | |
const std::string & | getName () const |
template<typename ITER > | |
NEVER_INLINE std::vector< string_view > | filter (string_view str, ITER begin, ITER end, bool caseSensitive) |
Additional Inherited Members | |
Static Public Member Functions inherited from openmsx::Completer | |
template<typename ITER > | |
static void | completeString (std::vector< std::string > &tokens, ITER begin, ITER end, bool caseSensitive=true) |
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 std::vector< std::string > | formatListInColumns (const std::vector< string_view > &input) |
static void | setOutput (InterpreterOutput *output_) |
Protected Member Functions inherited from openmsx::Command | |
Command (CommandController &controller, string_view name) | |
~Command () | |
Protected Member Functions inherited from openmsx::CommandCompleter | |
CommandCompleter (CommandController &controller, string_view name) | |
~CommandCompleter () | |
GlobalCommandController & | getGlobalCommandController () const |
CliComm & | getCliComm () const |
Protected Member Functions inherited from openmsx::Completer | |
Completer (string_view name) | |
~Completer ()=default | |
Definition at line 56 of file Reactor.cc.
openmsx::QuitCommand::QuitCommand | ( | CommandController & | commandController, |
EventDistributor & | distributor | ||
) |
Definition at line 661 of file Reactor.cc.
|
overridevirtual |
Execute this command.
tokens | Tokenized command line; tokens[0] is the command itself. |
result | The result of the command must be assigned to this parameter. |
CommandException | Thrown when there was an error while executing this command. |
Implements openmsx::Command.
Definition at line 668 of file Reactor.cc.
References openmsx::EventDistributor::distributeEvent().
|
overridevirtual |
Print help for this command.
Implements openmsx::Completer.
Definition at line 673 of file Reactor.cc.