PPL Logo

libs/ck-libs/pythonCCS/PythonCCS.C File Reference

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 ()
CkReductionMsgpythonCombinePrint (int nMsg, CkReductionMsg **msgs)
static void initializePythonDefault (void)

Variables

CProxy_PythonCCS pythonCcsProxy
PyMethodDef CkPy_MethodsDefault []


Function Documentation

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().

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

static PyObject* CkPy_print ( PyObject *  self,
PyObject *  args 
) [static]

Definition at line 52 of file PythonCCS.C.

References Ck_printclient(), and CkPythonDebugf().

Here is the call graph for this function:

static PyObject* CkPy_mype ( PyObject *  self,
PyObject *  args 
) [static]

Definition at line 71 of file PythonCCS.C.

References Converse::CkMyPe().

Here is the call graph for this function:

static PyObject* CkPy_numpes ( PyObject *  self,
PyObject *  args 
) [static]

Definition at line 76 of file PythonCCS.C.

References Converse::CkNumPes().

Here is the call graph for this function:

static PyObject* CkPy_myindex ( PyObject *  self,
PyObject *  args 
) [static]

Definition at line 81 of file PythonCCS.C.

References ArrayElementT< T >::thisIndex.

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]

Definition at line 114 of file PythonCCS.C.

References where.

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().

Here is the call graph for this function:

Here is the caller graph for this function:

static void initializePythonDefault ( void   )  [static]

Definition at line 901 of file PythonCCS.C.

References CkReduction::addReducer(), pythonCombinePrint(), and PythonCCS::reduceString.

Here is the call graph for this function:


Variable Documentation

CProxy_PythonCCS pythonCcsProxy

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().


Generated on Mon Sep 21 08:11:05 2020 for Charm++ by  doxygen 1.5.5