Thanks for everyone's help. I'm posting my updated class that is now working.
class Scene : public boost::enable_shared_from_this
{
public:
void sendYourselfToPython()
{
try {
object ignored = exec(EXAMPLE_PY_FUNCTION, pyMainNamespace);
object processFileFunc = pyMainModule.at
I have a pickling problem I suspect is just not possible to solve.
I have some wrappers around boost::random objects.
There is a rng object, which is a single underlying mersenne twister.
There are various distributions. For example, uniform_real.
Each uniform_real holds a reference to the sin