/** * @author */ //#include #include //#include #include //#include #include #include #include #include #include #include //#define BOOST_ENABLE_ASSERT_HANDLER //#include using namespace boost::python; BOOST_STATIC_ASSERT(converter::is_object_manager >::value); // class RTSPyLoggingBase // { // public: // virtual ~RTSPyLoggingBase(); // virtual void log(std::string msg) = 0; // }; class RTSPyLogging // : RTSPyLoggingBase { private: /* data */ //PyObject* const mplogging; public: // RTSPyLogging(PyObject* pPyLogging); RTSPyLogging(); ~RTSPyLogging(); void log(std::string msg, PyObject* f); std::string format(const std::string fmt_str, ...); };