1#ifndef _BBM_EMBED_MODULE_H_
2#define _BBM_EMBED_MODULE_H_
24 #include "bbm_bsdfmodels.h"
40 template<
typename RET_TYPE>
41 inline RET_TYPE
capture(
const std::string& prog) {
return bbm::python::capture<RET_TYPE, config>(prog); }
44 inline void execute(
const std::string& prog) { bbm::python::execute<config>(prog); }
Include all modules and the backbone.
Python interpreter for BBM modules.
Clears and defines the export macros.
void execute(const std::string &prog)
Shorthand for the execute method on the embedded config.
Definition: bbm_embed_module.h:44
RET_TYPE capture(const std::string &prog)
Shorthand for the capture method on the embedded config.
Definition: bbm_embed_module.h:41
bbm::BBM_CONFIG config
Shorthand for the embedded config.
Definition: bbm_embed_module.h:34
Definition: aggregatebsdf.h:29
Shorthand definitions for a python modules.
#define BBM_PYTHON_EMBED_MODULE
Create a python module (embedded in the object file) named BBN_PYTHON_MODULE_NAME.
Definition: python_macro.h:49
#define BBM_PYTHON_CORE
Import the core bbm python functionality.
Definition: python_macro.h:52
Python interpreter with BBM module imported.
Definition: bbm_python_interpreter.h:31