openMSX
Public Member Functions | List of all members
openmsx::DeactivateCmd Class Referencefinal
Inheritance diagram for openmsx::DeactivateCmd:
Inheritance graph
[legend]
Collaboration diagram for openmsx::DeactivateCmd:
Collaboration graph
[legend]

Public Member Functions

 DeactivateCmd (CommandController &commandController, HotKey &hotKey)
 
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
 
- Public Member Functions inherited from openmsx::CommandCompleter
CommandControllergetCommandController () const
 
InterpretergetInterpreter () const
 
- Public Member Functions inherited from openmsx::Completer
const std::string & getName () const
 
template<typename ITER >
NEVER_INLINE std::vector
< string_ref
filter (string_ref 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 void setOutput (InterpreterOutput *output_)
 
- Protected Member Functions inherited from openmsx::Command
 Command (CommandController &controller, string_ref name)
 
 ~Command ()
 
- Protected Member Functions inherited from openmsx::CommandCompleter
 CommandCompleter (CommandController &controller, string_ref name)
 
 ~CommandCompleter ()
 
GlobalCommandControllergetGlobalCommandController () const
 
CliCommgetCliComm () const
 
- Protected Member Functions inherited from openmsx::Completer
 Completer (string_ref name)
 
 ~Completer ()
 

Detailed Description

Definition at line 74 of file HotKey.cc.

Constructor & Destructor Documentation

openmsx::DeactivateCmd::DeactivateCmd ( CommandController commandController,
HotKey hotKey 
)

Definition at line 708 of file HotKey.cc.

Member Function Documentation

void openmsx::DeactivateCmd::execute ( array_ref< TclObject tokens,
TclObject result 
)
overridevirtual

Execute this command.

Parameters
tokensTokenized command line; tokens[0] is the command itself.
resultThe result of the command must be assigned to this parameter.
Exceptions
CommandExceptionThrown when there was an error while executing this command.

Implements openmsx::Command.

Definition at line 714 of file HotKey.cc.

References array_ref< T >::size().

string openmsx::DeactivateCmd::help ( const vector< string > &  tokens) const
overridevirtual

Print help for this command.

Implements openmsx::Completer.

Definition at line 722 of file HotKey.cc.


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