Go to the source code of this file.
Functions | |
CtvDeclare (PyObject *, pythonReturnValue) | |
void | CkPythonDebugf (const char *fmt,...) |
static PyObject * | CkPy_printstr (PyObject *self, PyObject *args) |
static void | Ck_printclient (PythonObject *object, CmiUInt4 ref, const char *str) |
static PyObject * | CkPy_print (PyObject *self, PyObject *args) |
static PyObject * | CkPy_mype (PyObject *self, PyObject *args) |
static PyObject * | CkPy_numpes (PyObject *self, PyObject *args) |
static PyObject * | CkPy_myindex (PyObject *self, PyObject *args) |
static PyObject * | CkPy_read (PyObject *self, PyObject *args) |
static PyObject * | CkPy_write (PyObject *self, PyObject *args) |
std::string | getTraceback () |
CkReductionMsg * | pythonCombinePrint (int nMsg, CkReductionMsg **msgs) |
static void | initializePythonDefault (void) |
Variables | |
CProxy_PythonCCS | pythonCcsProxy |
PyMethodDef | CkPy_MethodsDefault [] |
CtvDeclare | ( | PyObject * | , | |
pythonReturnValue | ||||
) |
void CkPythonDebugf | ( | const char * | fmt, | |
... | ||||
) |
Definition at line 13 of file PythonCCS.C.
Referenced by CkPy_print(), PythonObject::executeThread(), PythonCCS::forwardInt(), PythonObject::prepareInterpreter(), and PythonObject::replyIntValue().
static PyObject* CkPy_printstr | ( | PyObject * | self, | |
PyObject * | args | |||
) | [static] |
Definition at line 20 of file PythonCCS.C.
static void Ck_printclient | ( | PythonObject * | object, | |
CmiUInt4 | ref, | |||
const char * | str | |||
) | [inline, static] |
Definition at line 29 of file PythonCCS.C.
References CcsSendDelayedReply(), PythonStruct::client, PythonStruct::clientReady, PythonStruct::isKeepPrint, and PythonStruct::printed.
Referenced by CkPy_print(), and PythonObject::executeThread().
static PyObject* CkPy_print | ( | PyObject * | self, | |
PyObject * | args | |||
) | [static] |
Definition at line 52 of file PythonCCS.C.
References Ck_printclient(), and CkPythonDebugf().
static PyObject* CkPy_mype | ( | PyObject * | self, | |
PyObject * | args | |||
) | [static] |
Definition at line 71 of file PythonCCS.C.
References Converse::CkMyPe().
static PyObject* CkPy_numpes | ( | PyObject * | self, | |
PyObject * | args | |||
) | [static] |
Definition at line 76 of file PythonCCS.C.
References Converse::CkNumPes().
static PyObject* CkPy_myindex | ( | PyObject * | self, | |
PyObject * | args | |||
) | [static] |
static PyObject* CkPy_read | ( | PyObject * | self, | |
PyObject * | args | |||
) | [static] |
Definition at line 104 of file PythonCCS.C.
static PyObject* CkPy_write | ( | PyObject * | self, | |
PyObject * | args | |||
) | [static] |
std::string getTraceback | ( | ) |
Definition at line 444 of file PythonCCS.C.
CkReductionMsg* pythonCombinePrint | ( | int | nMsg, | |
CkReductionMsg ** | msgs | |||
) |
Definition at line 866 of file PythonCCS.C.
References CkReductionMsg::buildNew(), PythonReplyString::data, data, CkReductionMsg::getData(), CkReductionMsg::getSize(), length, and PythonReplyString::reply.
Referenced by initializePythonDefault().
static void initializePythonDefault | ( | void | ) | [static] |
Definition at line 901 of file PythonCCS.C.
References CkReduction::addReducer(), pythonCombinePrint(), and PythonCCS::reduceString.
CProxy_PythonCCS pythonCcsProxy |
Definition at line 8 of file PythonCCS.C.
Referenced by PythonObject::print(), PythonCCS::PythonCCS(), and PythonObject::replyIntValue().
PyMethodDef CkPy_MethodsDefault[] |
Initial value:
{ {"printstr", CkPy_printstr, METH_VARARGS}, {"printclient", CkPy_print, METH_VARARGS}, {"mype", CkPy_mype, METH_VARARGS}, {"numpes", CkPy_numpes, METH_VARARGS}, {"myindex", CkPy_myindex, METH_VARARGS}, {"read", CkPy_read, METH_VARARGS}, {"write", CkPy_write, METH_VARARGS}, {NULL, NULL} }
Definition at line 151 of file PythonCCS.C.
Referenced by PythonObject::prepareInterpreter().