openMSX
Public Member Functions | List of all members
openmsx::TclCallback Class Reference

#include <TclCallback.hh>

Public Member Functions

 TclCallback (CommandController &controller, string_view name, string_view description, bool useCliComm=true, bool save=true)
 
 TclCallback (StringSetting &setting)
 
 ~TclCallback ()
 
TclObject execute ()
 
TclObject execute (int arg1)
 
TclObject execute (int arg1, int arg2)
 
TclObject execute (int arg1, string_view arg2)
 
TclObject execute (string_view arg1, string_view arg2)
 
TclObject getValue () const
 
StringSettinggetSetting () const
 

Detailed Description

Definition at line 13 of file TclCallback.hh.

Constructor & Destructor Documentation

◆ TclCallback() [1/2]

openmsx::TclCallback::TclCallback ( CommandController controller,
string_view  name,
string_view  description,
bool  useCliComm = true,
bool  save = true 
)

Definition at line 13 of file TclCallback.cc.

◆ TclCallback() [2/2]

openmsx::TclCallback::TclCallback ( StringSetting setting)
explicit

Definition at line 27 of file TclCallback.cc.

References ~TclCallback().

◆ ~TclCallback()

openmsx::TclCallback::~TclCallback ( )
default

Referenced by TclCallback().

Member Function Documentation

◆ execute() [1/5]

TclObject openmsx::TclCallback::execute ( )

◆ execute() [2/5]

TclObject openmsx::TclCallback::execute ( int  arg1)

Definition at line 49 of file TclCallback.cc.

References getValue(), and openmsx::makeTclList().

◆ execute() [3/5]

TclObject openmsx::TclCallback::execute ( int  arg1,
int  arg2 
)

Definition at line 58 of file TclCallback.cc.

References getValue(), and openmsx::makeTclList().

◆ execute() [4/5]

TclObject openmsx::TclCallback::execute ( int  arg1,
string_view  arg2 
)

Definition at line 67 of file TclCallback.cc.

References getValue(), and openmsx::makeTclList().

◆ execute() [5/5]

TclObject openmsx::TclCallback::execute ( string_view  arg1,
string_view  arg2 
)

◆ getSetting()

StringSetting& openmsx::TclCallback::getSetting ( ) const
inline

◆ getValue()

TclObject openmsx::TclCallback::getValue ( ) const

Definition at line 35 of file TclCallback.cc.

References getSetting(), and openmsx::Setting::getValue().

Referenced by openmsx::CheckedRam::clear(), and execute().


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