#ifndef DEBUG_DATA_SAVE_EXTENSION_H #define DEBUG_DATA_SAVE_EXTENSION_H #include struct AppCommonDebugDataSaveContext { std::string directory; std::string filePrefix; std::string timestamp; std::string deviceName; }; // Optional interface for presenters that save data in addition to the point cloud. class DebugDataSaveExtension { public: virtual ~DebugDataSaveExtension() = default; // Called before algorithm processing so the presenter can retain this scan's paths. virtual void OnDebugDataSaveStarted(const AppCommonDebugDataSaveContext&) {} // Called by BasePresenter after algorithm processing to save generated data. virtual void SaveAdditionalDebugData(const AppCommonDebugDataSaveContext&) {} }; #endif // DEBUG_DATA_SAVE_EXTENSION_H