19 lines
456 B
C++
19 lines
456 B
C++
#pragma once
|
|
|
|
#include "communication/communication.hpp"
|
|
#include "database/graph_db_accessor.hpp"
|
|
#include "query/strip/stripped.hpp"
|
|
|
|
template<typename Stream>
|
|
class IPlanCPU {
|
|
public:
|
|
virtual bool run(GraphDbAccessor &db_accessor, TypedValueStore<>& args, Stream &stream) = 0;
|
|
virtual ~IPlanCPU() {}
|
|
};
|
|
|
|
template<typename Stream>
|
|
using produce_t = IPlanCPU<Stream> *(*)();
|
|
|
|
template<typename Stream>
|
|
using destruct_t = void (*)(IPlanCPU<Stream> *);
|