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 ()
CkReductionMsg * pythonCombinePrint (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,
  ... 
)

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]

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]

Definition at line 81 of file PythonCCS.C.

References ArrayElementT< T >::thisIndex.

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

Definition at line 105 of file PythonCCS.C.

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

Definition at line 116 of file PythonCCS.C.

std::string getTraceback (  ) 

Definition at line 447 of file PythonCCS.C.

CkReductionMsg* pythonCombinePrint ( int  nMsg,
CkReductionMsg **  msgs 
)

Definition at line 869 of file PythonCCS.C.

References PythonReplyString::data, data, length, and PythonReplyString::reply.

Referenced by initializePythonDefault().

static void initializePythonDefault ( void   )  [static]


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 154 of file PythonCCS.C.

Referenced by PythonObject::prepareInterpreter().


Generated on Tue May 22 07:44:31 2012 for Charm++ by  doxygen 1.5.5