Simple factory example with pybind11, using inheritance and virtual functions. The wrapped classes can be extended and added to factory from python.
mkdir build
cd build
cmake ..
make install
cd dist
cd python
python test.py
Simple factory example with pybind11, using inheritance and virtual functions. The wrapped classes can be extended and added to factory from python.
mkdir build
cd build
cmake ..
make install
cd dist
cd python
python test.py