Skip to content

src/processing/processing_subtask_result_storage.hpp

Namespaces

Name
sgns
sgns::processing

Classes

Name
class sgns::processing::SubTaskResultStorage

Source code

#ifndef GRPC_FOR_SUPERGENIUS_PROCESSING_SUTASK_RESULT_STORAGE_HPP
#define GRPC_FOR_SUPERGENIUS_PROCESSING_SUTASK_RESULT_STORAGE_HPP

#include "processing/proto/SGProcessing.pb.h"

namespace sgns::processing
{
    class SubTaskResultStorage
    {
    public:
        virtual ~SubTaskResultStorage() = default;

        virtual void AddSubTaskResult( const SGProcessing::SubTaskResult &subTaskResult ) = 0;

        virtual void RemoveSubTaskResult( const std::string &subTaskId ) = 0;

        virtual std::vector<SGProcessing::SubTaskResult> GetSubTaskResults(
            const std::set<std::string> &subTaskIds ) = 0;
    };
}

#endif // GRPC_FOR_SUPERGENIUS_PROCESSING_SUTASK_RESULT_STORAGE_HPP

Updated on 2026-03-04 at 13:10:44 -0800