DimRpcInfoWrapper Class Reference
[DIM interface functions]


Public Member Functions

 DimRpcInfoWrapper (const char *name, void *nolink, int nolinksize)
 DimRpcInfoWrapper (const char *name, int time, void *nolink, int nolinksize)
void rpcInfoHandler ()
int setPyRef (PyObject *self)
 ~DimRpcInfoWrapper ()

Private Attributes

PyObject * self

Detailed Description

This class is only a proxy to pass the call from the C++ rpcInfoHandler function to the Python implementation. For this a reference to the real Python object is needed. Need to reimplement the constructor, destructor and rpcInfoHandler

Definition at line 394 of file dimcppmodule.cpp.


Constructor & Destructor Documentation

DimRpcInfoWrapper ( const char *  name,
int  time,
void *  nolink,
int  nolinksize 
) [inline]

it is much easier to provide a simple setter for the python object reference rather than reimplement all 12 costructors. This needs to be called imediatelly after the init method of the object.

Definition at line 409 of file dimcppmodule.cpp.

DimRpcInfoWrapper ( const char *  name,
void *  nolink,
int  nolinksize 
) [inline]

Definition at line 412 of file dimcppmodule.cpp.

~DimRpcInfoWrapper (  )  [inline]

Definition at line 445 of file dimcppmodule.cpp.


Member Function Documentation

void rpcInfoHandler (  )  [inline]

Definition at line 424 of file dimcppmodule.cpp.

int setPyRef ( PyObject *  self  )  [inline]

Definition at line 415 of file dimcppmodule.cpp.


Field Documentation

PyObject* self [private]

Definition at line 401 of file dimcppmodule.cpp.


The documentation for this class was generated from the following file:
Generated on 5 Feb 2014 for PyDIM by  doxygen 1.4.7