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

Public Member Functions

 TimeInfoTopic (InfoCommand &machineInfoCommand, MSXCPU &msxcpu)
virtual void execute (const vector< TclObject > &tokens, TclObject &result) const
 Show info on this topic.
virtual string help (const vector< string > &tokens) const
 Print help for this topic.
- Public Member Functions inherited from openmsx::InfoTopic
virtual void tabCompletion (std::vector< std::string > &tokens) const
 Attempt tab completion for this topic.
- Public Member Functions inherited from openmsx::Completer
const std::string & getName () const

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::InfoTopic
 InfoTopic (InfoCommand &infoCommand, const std::string &name)
virtual ~InfoTopic ()

Detailed Description

Definition at line 24 of file MSXCPU.cc.

Constructor & Destructor Documentation

openmsx::TimeInfoTopic::TimeInfoTopic ( InfoCommand machineInfoCommand,
MSXCPU msxcpu 
)

Definition at line 277 of file MSXCPU.cc.

Member Function Documentation

void openmsx::TimeInfoTopic::execute ( const vector< TclObject > &  tokens,
TclObject result 
) const
virtual

Show info on this topic.

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

Implements openmsx::InfoTopic.

Definition at line 284 of file MSXCPU.cc.

References openmsx::TclObject::setDouble(), and openmsx::EmuDuration::toDouble().

string openmsx::TimeInfoTopic::help ( const vector< string > &  tokens) const
virtual

Print help for this topic.

Parameters
tokensTokenized command line; tokens[1] is the topic.

Implements openmsx::InfoTopic.

Definition at line 291 of file MSXCPU.cc.


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