Public Member Functions | |
CpdPythonGroup () | |
int | buildIterator (PyObject *&, void *) |
int | nextIteratorUpdate (PyObject *&, PyObject *, void *) |
PyObject * | getResultFromType (char, void *) |
void | getArray (int handle) |
void | getValue (int handle) |
void | getCast (int handle) |
void | getStatic (int handle) |
void | getMessage (int handle) |
void | cpdCheck (void *) |
void | registerPersistent (CkCcsRequestMsg *) |
Private Attributes | |
CpdPythonArrayIterator | arriter |
int | nextElement |
bool | resultNotNone |
Definition at line 33 of file charmdebug-python.C.
CpdPythonGroup::CpdPythonGroup | ( | ) | [inline] |
Definition at line 38 of file charmdebug-python.C.
int CpdPythonGroup::buildIterator | ( | PyObject *& | data, | |
void * | iter | |||
) |
Definition at line 57 of file charmdebug-python.C.
References _localBranch(), CpdPythonArrayIterator::arr, arriter, CpdGetCurrentObject(), CpdPythonArrayIterator::elems, CkArray::getLocMgr(), group, IrrGroup::isArrMgr(), CkLocMgr::iterate(), nextElement, ntohl(), resultNotNone, and CkVec< T >::size().
int CpdPythonGroup::nextIteratorUpdate | ( | PyObject *& | data, | |
PyObject * | result, | |||
void * | iter | |||
) |
Definition at line 87 of file charmdebug-python.C.
References arriter, CpdPythonArrayIterator::elems, nextElement, CkVec< T >::removeAll(), resultNotNone, and CkVec< T >::size().
PyObject * CpdPythonGroup::getResultFromType | ( | char | restype, | |
void * | ptr | |||
) |
Definition at line 112 of file charmdebug-python.C.
Referenced by getArray(), getStatic(), and getValue().
void CpdPythonGroup::getArray | ( | int | handle | ) |
Definition at line 146 of file charmdebug-python.C.
References getResultFromType(), restype, and size.
void CpdPythonGroup::getValue | ( | int | handle | ) |
Definition at line 158 of file charmdebug-python.C.
References getResultFromType(), offset, and restype.
void CpdPythonGroup::getCast | ( | int | handle | ) |
void CpdPythonGroup::getStatic | ( | int | handle | ) |
Definition at line 180 of file charmdebug-python.C.
References getResultFromType(), location, and restype.
void CpdPythonGroup::getMessage | ( | int | handle | ) |
Definition at line 190 of file charmdebug-python.C.
References CpdGetCurrentMsg(), and msg.
void CpdPythonGroup::cpdCheck | ( | void * | m | ) | [virtual] |
Reimplemented from CpdPersistentChecker.
Definition at line 195 of file charmdebug-python.C.
References Converse::CkMyPe(), CmiReference(), CpdFreeze(), CthCreate(), CthResume(), CkCcsRequestMsg::data, msg, resultNotNone, and UsrToEnv().
void CpdPythonGroup::registerPersistent | ( | CkCcsRequestMsg * | msg | ) |
Definition at line 209 of file charmdebug-python.C.
References Converse::CkMyPe(), CkCcsRequestMsg::data, PythonExecute::info, PythonAbstract::isExecute(), n, ntohl(), CkCcsRequestMsg::reply, PythonExecute::setInterpreter(), PythonExecute::unpack(), and PythonAbstract::unpack().
Definition at line 34 of file charmdebug-python.C.
Referenced by buildIterator(), and nextIteratorUpdate().
int CpdPythonGroup::nextElement [private] |
Definition at line 35 of file charmdebug-python.C.
Referenced by buildIterator(), and nextIteratorUpdate().
bool CpdPythonGroup::resultNotNone [private] |
Definition at line 36 of file charmdebug-python.C.
Referenced by buildIterator(), cpdCheck(), and nextIteratorUpdate().