RAVE
|
Python version of the Composite factory manager API. More...
#include "pyravecompat.h"
#include <limits.h>
#include <math.h>
#include <stdio.h>
#include <string.h>
#include "pyrave_debug.h"
#include "pycompositefactorymanager.h"
#include "pycompositegeneratorfactory.h"
#include "rave_alloc.h"
#include "raveutil.h"
#include "rave.h"
Macros | |
#define | NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION |
#define | PYCOMPOSITEFACTORYMANAGER_MODULE |
#define | raiseException_gotoTag(tag, type, msg) |
Sets a python exception and goto tag. | |
#define | raiseException_returnNULL(type, msg) |
Sets a python exception and return NULL. | |
Functions | |
PYRAVE_DEBUG_MODULE ("_compositefactorymanager") | |
Debug this module. | |
PyDoc_STRVAR (_pycompositefactorymanager_type_doc, "The composite factory manager is the registry for all available factories.\n" "When created it will contain the default provided factories that are available by the rave toolbox.\n" "It is possible to add new factories to the registry using the provided API methods.\n" "This factory can then be used to generate the composite. An alternative approach is to create\n" "a compositegenerator with the factory set. In that case, the filtering within the composite generator\n" "will determine what composite factory to use.\n" "\n" "Usage:\n" " import _compositefactorymanager\n" " manager = _compositefactorymanager.new()\n" " factory = manager.get(\"LegacyCompositeFactory\")\n") | |
MOD_INIT (_compositefactorymanager) | |
Variables | |
PyTypeObject | PyCompositeFactoryManager_Type |
Python version of the Composite factory manager API.
#define raiseException_gotoTag | ( | tag, | |
type, | |||
msg ) |
Sets a python exception and goto tag.
#define raiseException_returnNULL | ( | type, | |
msg ) |
Sets a python exception and return NULL.
PYRAVE_DEBUG_MODULE | ( | "_compositefactorymanager" | ) |
Debug this module.