|
Collective Variables Module - Developer Documentation
|
Methods for using Tcl within Colvars. More...
#include <colvarproxy_tcl.h>

Public Member Functions | |
| colvarproxy_tcl () | |
| Constructor. | |
| virtual | ~colvarproxy_tcl () |
| Destructor. | |
| bool | tcl_available () |
| Is Tcl available? (trigger initialization if needed) | |
| char const * | tcl_get_str (void *obj) |
| Get a string representation of the Tcl object pointed to by obj. | |
| int | tcl_run_script (std::string const &script) |
| int | tcl_run_file (std::string const &fileName) |
| int | tcl_run_force_callback () |
| Tcl implementation of run_force_callback() | |
| int | tcl_run_colvar_callback (std::string const &name, std::vector< const colvarvalue * > const &cvcs, colvarvalue &value) |
| Tcl implementation of run_colvar_callback() | |
| int | tcl_run_colvar_gradient_callback (std::string const &name, std::vector< const colvarvalue * > const &cvcs, std::vector< cvm::matrix2d< cvm::real > > &gradient) |
| Tcl implementation of run_colvar_gradient_callback() | |
| Tcl_Interp * | get_tcl_interp () |
| Get a pointer to the Tcl interpreter. | |
| void | set_tcl_interp (Tcl_Interp *interp) |
| Set the pointer to the Tcl interpreter. | |
| virtual void | init_tcl_pointers () |
| Set Tcl pointers. More... | |
Protected Attributes | |
| Tcl_Interp * | tcl_interp_ |
| Pointer to Tcl interpreter object. | |
Methods for using Tcl within Colvars.
|
virtual |
Set Tcl pointers.
Reimplemented in colvarproxy_vmd, and colvarproxy_namd.