GrabBag/SDK/VzNLSDK/_Inc/IVzDebugResult.h

39 lines
979 B
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#pragma once
#include "VzHelper.h"
// 存储进度
class IVzDebugSaveProgress
{
public:
/// @brief
/// 当前存储的总进度
/// <param name = "nProgressSize">[in]输出数据的大小</param>
/// <param name = "nTotleSize">[in]当前总大小</param>
virtual void OnProgress(unsigned int nProgressSize, unsigned int nTotleSize) = 0;
/// @brief
/// 是否继续存储当为false时跳出存储函数
virtual bool IsContinueSave() = 0;
};
/// @brief 结果检测Debug接口
class IVzDetectResultDebug
{
public:
/// @brief
/// 获取总量
virtual unsigned int QuerySaveDataTotleSize() {
return 0;
}
/// @brief
/// 保存数据
/// <param name = "szFile">[in]存储文件</param>
/// <param name = "dUpdateTime">[in]更新时间 ms</param>
/// <param name = "pISaveProgress">[in]保存进度</param>
virtual void SaveData(const char* szFile, double dUpdateTime = 500., IVzDebugSaveProgress* pISaveProgress = nullptr)
{
VZ_UNUSED(szFile);
VZ_UNUSED(pISaveProgress);
}
};