2016-02-07 03:48:40 +08:00
|
|
|
#pragma once
|
|
|
|
|
2016-08-10 16:39:02 +08:00
|
|
|
#include "query_engine/i_code_cpu.hpp"
|
2016-02-07 03:48:40 +08:00
|
|
|
#include "dc/dynamic_lib.hpp"
|
|
|
|
|
2016-08-10 16:39:02 +08:00
|
|
|
namespace
|
|
|
|
{
|
|
|
|
|
2016-08-29 01:50:54 +08:00
|
|
|
template <typename Stream>
|
2016-02-07 03:48:40 +08:00
|
|
|
class MemgraphDynamicLib
|
|
|
|
{
|
|
|
|
public:
|
2016-08-29 01:50:54 +08:00
|
|
|
using produce = produce_t<Stream>;
|
|
|
|
using destruct = destruct_t<Stream>;
|
|
|
|
using lib_object = ICodeCPU<Stream>;
|
2016-02-07 03:48:40 +08:00
|
|
|
};
|
|
|
|
|
2016-08-29 01:50:54 +08:00
|
|
|
template <typename Stream>
|
|
|
|
using CodeLib = DynamicLib<MemgraphDynamicLib<Stream>>;
|
2016-08-10 16:39:02 +08:00
|
|
|
|
|
|
|
}
|