ROPO
|
#include "rave_ropo_generator.h"
Go to the source code of this file.
Classes | |
struct | PyRopoGenerator |
#define import_ropogenerator | ( | ) | PyRopoGenerator_API = (void **)PyCapsule_Import(PyRopoGenerator_CAPSULE_NAME, 1); |
Imports the PyRopoGenerator module (like import _ropogenerator in python).
Definition at line 97 of file pyropogenerator.h.
#define PyRopoGenerator_API_pointers 3 |
number of type and function pointers
Definition at line 47 of file pyropogenerator.h.
#define PyRopoGenerator_CAPSULE_NAME "_fmiimage._C_API" |
Definition at line 49 of file pyropogenerator.h.
#define PyRopoGenerator_Check | ( | op | ) | (Py_TYPE(op) == &PyRopoGenerator_Type) |
Checks if the object is a python fmi image.
Definition at line 89 of file pyropogenerator.h.
#define PyRopoGenerator_GetNative (*(PyRopoGenerator_GetNative_RETURN (*)PyRopoGenerator_GetNative_PROTO) PyRopoGenerator_API[PyRopoGenerator_GetNative_NUM]) |
Returns a pointer to the internal fmi image, remember to release the reference when done with the object. (RAVE_OBJECT_RELEASE).
Definition at line 72 of file pyropogenerator.h.
#define PyRopoGenerator_GetNative_NUM 1 |
index of GetNative
Definition at line 39 of file pyropogenerator.h.
#define PyRopoGenerator_GetNative_PROTO (PyRopoGenerator*) |
arguments for GetNative
Definition at line 41 of file pyropogenerator.h.
#define PyRopoGenerator_GetNative_RETURN RaveRopoGenerator_t* |
return type for GetNative
Definition at line 40 of file pyropogenerator.h.
#define PyRopoGenerator_New (*(PyRopoGenerator_New_RETURN (*)PyRopoGenerator_New_PROTO) PyRopoGenerator_API[PyRopoGenerator_New_NUM]) |
Creates a new ropo generator instance. Release this object with Py_DECREF. If a RaveRopoGenerator_t instance is provided and this instance already is bound to a python instance, this instance will be increfed and returned.
[in] | generator | - the RaveRopoGenerator_t instance. |
[in] | image | - the ropo generator for this object only used if generator == NULL |
Definition at line 83 of file pyropogenerator.h.
#define PyRopoGenerator_New_NUM 2 |
index of New
Definition at line 43 of file pyropogenerator.h.
#define PyRopoGenerator_New_PROTO (RaveRopoGenerator_t*, RaveFmiImage_t*) |
arguments for New
Definition at line 45 of file pyropogenerator.h.
#define PyRopoGenerator_New_RETURN PyRopoGenerator* |
return type for New
Definition at line 44 of file pyropogenerator.h.
#define PyRopoGenerator_Type (*(PyTypeObject*)PyRopoGenerator_API[PyRopoGenerator_Type_NUM]) |
Definition at line 92 of file pyropogenerator.h.
#define PyRopoGenerator_Type_NUM 0 |
index of type
Definition at line 37 of file pyropogenerator.h.