1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- /*M
- #ifndef OPENCV_VIDEOSTAB_LOG_HPP
- #define OPENCV_VIDEOSTAB_LOG_HPP
- #include "opencv2/core.hpp"
- namespace cv
- {
- namespace videostab
- {
- class CV_EXPORTS ILog
- {
- public:
- virtual ~ILog() {}
- virtual void print(const char *format, ...) = 0;
- };
- class CV_EXPORTS NullLog : public ILog
- {
- public:
- virtual void print(const char * /*format*/, ...) {}
- };
- class CV_EXPORTS LogToStdout : public ILog
- {
- public:
- virtual void print(const char *format, ...);
- };
- }
- }
- #endif
|