src/processing/processing_core.hpp¶
Namespaces¶
| Name |
|---|
| sgns |
| sgns::processing |
Classes¶
| Name | |
|---|---|
| class | sgns::processing::ProcessingCore Processing core interface. |
Source code¶
#ifndef GRPC_FOR_SUPERGENIUS_PROCESSING_CORE_HPP
#define GRPC_FOR_SUPERGENIUS_PROCESSING_CORE_HPP
#include "processing/proto/SGProcessing.pb.h"
#include "outcome/outcome.hpp"
#include <boost/asio/io_context.hpp>
namespace sgns::processing
{
class ProcessingCore
{
public:
virtual ~ProcessingCore() = default;
virtual outcome::result<SGProcessing::SubTaskResult> ProcessSubTask(
const SGProcessing::SubTask& subTask, uint32_t initialHashCode) = 0;
virtual float GetProgress() const { return 0.0f; }
};
} // namespace sgns::processing
#endif // GRPC_FOR_SUPERGENIUS_PROCESSING_CORE_HPP
Updated on 2026-03-04 at 13:10:44 -0800