Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

PythonTextInterp.C File Reference

#include "py_commands.h"
#include "Inform.h"
#include "PythonTextInterp.h"
#include "config.h"
#include "VMDApp.h"
#include "TextEvent.h"
#include "errcode.h"

Go to the source code of this file.

Functions

PyObject * add_callback (PyObject *, PyObject *args)
PyObject * del_callback (PyObject *, PyObject *args)
void call_callbacks (const char *type, PyObject *arglist)
void initvmdcallbacks ()

Variables

PyObject * cbdict = NULL
PyMethodDef CallbackMethods []


Function Documentation

PyObject* add_callback PyObject *   ,
PyObject *    args
[static]
 

Definition at line 37 of file PythonTextInterp.C.

References cbdict, and NULL.

void call_callbacks const char *    type,
PyObject *    arglist
[static]
 

Definition at line 82 of file PythonTextInterp.C.

References cbdict, and NULL.

Referenced by PythonTextInterp::doEvent, PythonTextInterp::frame_cb, PythonTextInterp::initialize_structure_cb, PythonTextInterp::molecule_changed_cb, PythonTextInterp::pick_atom_cb, PythonTextInterp::pick_value_cb, PythonTextInterp::timestep_cb, PythonTextInterp::trajectory_cb, and PythonTextInterp::userkey_cb.

PyObject* del_callback PyObject *   ,
PyObject *    args
[static]
 

Definition at line 58 of file PythonTextInterp.C.

References cbdict, and NULL.

void initvmdcallbacks   [static]
 

Definition at line 108 of file PythonTextInterp.C.

References CallbackMethods, and cbdict.

Referenced by PythonTextInterp::PythonTextInterp.


Variable Documentation

PyMethodDef CallbackMethods[] [static]
 

Initial value:

 {
  {(char *)"add_callback", (vmdPyMethod)add_callback, METH_VARARGS },
  {(char *)"del_callback", (vmdPyMethod)del_callback, METH_VARARGS },
  {NULL, NULL}
}

Definition at line 102 of file PythonTextInterp.C.

Referenced by initvmdcallbacks.

PyObject* cbdict = NULL [static]
 

Definition at line 35 of file PythonTextInterp.C.

Referenced by add_callback, call_callbacks, del_callback, and initvmdcallbacks.


Generated on Sun Jul 6 01:28:08 2008 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002