struct RgpotEnginePot

Overview

struct RgpotEnginePot {
    // structs
 
    struct CallGuard;
 
    // fields
 
    std::unique_ptr<rgpot::engine::Backend> backend;
    rgpot::PotCaps caps;
    std::mutex error_mutex;
    std::string error;
    std::mutex call_mutex;
    std::mutex digest_mutex;
    bool digest_done = false;
    std::string digest;
 
    // methods
 
    void set_error(const std::string& message);
    void clear_error();
};

Detailed Documentation

Fields

std::mutex call_mutex

Serializes calls on this handle when the backend is not shared.