#pragma once #include "communication/communication.hpp" #include "query_engine/query_stripped.hpp" // #include "database/db.hpp" // #include "database/db_accessor.hpp" // BARRIER! #include "barrier/barrier.hpp" template class ICodeCPU { public: virtual bool run(barrier::Db &db, code_args_t &args, Stream &stream) = 0; virtual ~ICodeCPU() {} }; template using produce_t = ICodeCPU *(*)(); template using destruct_t = void (*)(ICodeCPU *);