#include <TclTextInterp.h>
Inheritance diagram for TclTextInterp:
Public Methods | |
TclTextInterp (VMDApp *, int guienabled, int mpienabled) | |
~TclTextInterp () | |
virtual void | doInit () |
Tell the interpreter to read its init file; presumably it knows what to do. More... | |
virtual void | doEvent () |
Let the interpreter have control for while. More... | |
virtual int | doTkUpdate () |
Update Tk, if possible, from within this interpreter return 1 if able to do the Tk update, 0 if unsuccessful. More... | |
virtual int | evalString (const char *) |
Evaluate the given string in the Tcl interpreter. Return success, or false on Tcl error. More... | |
virtual int | evalFile (const char *) |
this evalFile reads lines one at a time and calls VMD display update every time it reads a complete command. Returns success. More... | |
virtual void | setString (const char *, const char *) |
First argument: variable name. Second argument: string value. More... | |
Tcl_Interp * | get_interp () |
void | wait (float wd) |
set the text processor to wait for the given number of seconds before reading another text command. More... | |
int | done_waiting () |
int | update_completion_list () |
Update interactive line editor tab completion command list. More... | |
virtual void | frame_cb (int molid, int frame) |
virtual void | help_cb (const char *topic) |
virtual void | initialize_structure_cb (int molid, int create_or_destroy) |
virtual void | molecule_changed_cb (int molid, int code) |
virtual void | logfile_cb (const char *cmd) |
virtual void | mousemode_cb (const char *mode, int submode) |
virtual void | mouse_pos_cb (float x, float y, int buttondown) |
virtual void | mobile_cb (float tx, float ty, float tz, float rx, float ry, float rz, int buttondown) |
virtual void | mobile_state_changed_cb () |
virtual void | mobile_device_command_cb (const char *str) |
virtual void | spaceball_cb (float tx, float ty, float tz, float rx, float ry, float rz, int buttondown) |
virtual void | pick_atom_cb (int molid, int atomid, int shift_state, bool is_pick) |
virtual void | pick_atom_callback_cb (int molid, int atm, const char *client) |
virtual void | pick_selection_cb (int n, const int *atoms) |
virtual void | pick_value_cb (float value) |
virtual void | pick_graphics_cb (int molid, int tag, int btn, int shift_state) |
virtual void | tcl_cb (const char *cmd) |
virtual void | timestep_cb (int molid, int frame) |
virtual void | trajectory_cb (int molid, const char *fname) |
virtual void | graph_label_cb (const char *type, const int *ids, int n) |
virtual void | userkey_cb (const char *canonical_key_desc) |
Definition at line 36 of file TclTextInterp.h.
|
Definition at line 165 of file TclTextInterp.C. References VMDApp::argc_m, VMDApp::argv_m, linenoiseHistorySetMaxLen, linenoiseSetCompletionCallback, NULL, result, update_completion_list, and vmd_isatty. |
|
Definition at line 520 of file TclTextInterp.C. References NULL, ResizeArray< char * >::num, num, and setString. |
|
Let the interpreter have control for while.
Reimplemented from TextInterp. Definition at line 548 of file TclTextInterp.C. References disableRawMode, done_waiting, enableRawMode, VMDApp::get_eofexit, length, linenoise, linenoiseFree, linenoiseHistoryAdd, NULL, vmd_check_stdin, and VMDApp::VMDexit. |
|
Tell the interpreter to read its init file; presumably it knows what to do.
Reimplemented from TextInterp. Definition at line 469 of file TclTextInterp.C. References NULL, and update_completion_list. |
|
Definition at line 824 of file TclTextInterp.C. References time_of_day. Referenced by doEvent. |
|
Update Tk, if possible, from within this interpreter return 1 if able to do the Tk update, 0 if unsuccessful.
Reimplemented from TextInterp. Definition at line 541 of file TclTextInterp.C. |
|
this evalFile reads lines one at a time and calls VMD display update every time it reads a complete command. Returns success.
Reimplemented from TextInterp. Definition at line 752 of file TclTextInterp.C. References VMDApp::display_update, VMDApp::exitFlag, length, and NULL. Referenced by text_cmd_play. |
|
Evaluate the given string in the Tcl interpreter. Return success, or false on Tcl error.
Reimplemented from TextInterp. Definition at line 711 of file TclTextInterp.C. Referenced by help_cb, tcl_cb, and userkey_cb. |
|
Reimplemented from TextInterp. Definition at line 837 of file TclTextInterp.C. |
|
Definition at line 82 of file TclTextInterp.h. |
|
Reimplemented from TextInterp. Definition at line 940 of file TclTextInterp.C. |
|
Reimplemented from TextInterp. Definition at line 845 of file TclTextInterp.C. References evalString. |
|
Reimplemented from TextInterp. Definition at line 861 of file TclTextInterp.C. |
|
Reimplemented from TextInterp. Definition at line 870 of file TclTextInterp.C. References setString. |
|
Reimplemented from TextInterp. Definition at line 997 of file TclTextInterp.C. References NULL. |
|
Reimplemented from TextInterp. Definition at line 992 of file TclTextInterp.C. References setString. |
|
Reimplemented from TextInterp. Definition at line 987 of file TclTextInterp.C. References setString. |
|
Reimplemented from TextInterp. Definition at line 852 of file TclTextInterp.C. |
|
Reimplemented from TextInterp. Definition at line 977 of file TclTextInterp.C. References NULL. |
|
Reimplemented from TextInterp. Definition at line 969 of file TclTextInterp.C. References setString. |
|
Reimplemented from TextInterp. Definition at line 890 of file TclTextInterp.C. References setString. |
|
Reimplemented from TextInterp. Definition at line 875 of file TclTextInterp.C. References setString. |
|
Reimplemented from TextInterp. Definition at line 901 of file TclTextInterp.C. References setString. |
|
Reimplemented from TextInterp. Definition at line 908 of file TclTextInterp.C. |
|
Reimplemented from TextInterp. Definition at line 924 of file TclTextInterp.C. References setString. |
|
First argument: variable name. Second argument: string value.
Reimplemented from TextInterp. Definition at line 728 of file TclTextInterp.C. Referenced by logfile_cb, mobile_device_command_cb, mobile_state_changed_cb, mousemode_cb, pick_atom_callback_cb, pick_atom_cb, pick_graphics_cb, pick_selection_cb, pick_value_cb, and ~TclTextInterp. |
|
Reimplemented from TextInterp. Definition at line 1012 of file TclTextInterp.C. References NULL. |
|
Reimplemented from TextInterp. Definition at line 964 of file TclTextInterp.C. References evalString. |
|
Reimplemented from TextInterp. Definition at line 931 of file TclTextInterp.C. References n. |
|
Reimplemented from TextInterp. Definition at line 956 of file TclTextInterp.C. |
|
Update interactive line editor tab completion command list.
Definition at line 426 of file TclTextInterp.C. References ResizeArray< char * >::append, ResizeArray< char * >::clear, ResizeArray< char * >::extend, NULL, ResizeArray< char * >::num, num, and stringdup. Referenced by doInit, and TclTextInterp. |
|
Reimplemented from TextInterp. Definition at line 1027 of file TclTextInterp.C. References NameList< char * >::data, evalString, NameList< char * >::typecode, and VMDApp::userKeys. |
|
set the text processor to wait for the given number of seconds before reading another text command.
Definition at line 820 of file TclTextInterp.C. References time_of_day. Referenced by text_cmd_wait. |