提交 939d4dae 编写于 作者: W wangjiawei04

modify BCLOUD

Change-Id: Ib855c3403a92fae024ffcd8fe3954ebb7790c0ea
上级 264cddb6
build
.baidu*
.bcloud*
output
......@@ -19,8 +19,10 @@ INCPATHS('$INC')
INCPATHS('$INC/sdk-cpp')
INCPATHS('$INC/sdk-cpp/include')
INCPATHS('$OUT_ROOT/third-64/protobuf/output/include')
INCPATHS('../kvdb/include')
LIBS('$OUT/lib/libpdconfigure.a')
LIBS('$OUT/lib/libkvdb.a')
CONFIGS('baidu/base/baidu-rpc@ci-base')
CONFIGS('baidu/third-party/gflags@v2.0.0@git_branch')
......@@ -48,6 +50,7 @@ HEADERS('include/*.hpp', '$INC/sdk-cpp/include')
Application('ximage', Sources('src/ximage.cpp'), WholeArchives('$OUT/lib/libpdsdk-cpp.a'))
Application('ximage_press', Sources('src/ximage_press.cpp'), WholeArchives('$OUT/lib/libpdsdk-cpp.a'))
Application('echo', Sources('src/echo.cpp'), WholeArchives('$OUT/lib/libpdsdk-cpp.a'))
Application('echo_kvdb', Sources('src/echo_kvdb.cpp'), WholeArchives('$OUT/lib/libpdsdk-cpp.a'))
Application('dense_format', Sources('src/dense_format.cpp'), WholeArchives('$OUT/lib/libpdsdk-cpp.a'))
Application('sparse_format', Sources('src/sparse_format.cpp'), WholeArchives('$OUT/lib/libpdsdk-cpp.a'))
Application('int64tensor_format', Sources('src/int64tensor_format.cpp'), WholeArchives('$OUT/lib/libpdsdk-cpp.a'))
......
......@@ -32,9 +32,10 @@ public:
virtual void SetDBName(std::string) = 0;
virtual void Set(std::string key, std::string value) = 0;
virtual std::string Get(std::string key) = 0;
virtual ~AbstractKVDB() = 0;
inline virtual ~AbstractKVDB() = 0;
};
inline AbstractKVDB::~AbstractKVDB() {}
// TODO: Implement RedisKVDB
//class RedisKVDB;
......@@ -53,6 +54,8 @@ protected:
std::chrono::system_clock::time_point time_stamp_;
};
inline AbstractDictReader::~AbstractDictReader() {}
class AbstractParamDict {
public:
virtual std::vector<AbsDictReaderPtr> GetDictReaderLst() = 0;
......@@ -77,6 +80,8 @@ protected:
AbsKVDBPtr front_db, back_db;
};
inline AbstractParamDict::~AbstractParamDict() {}
class ParamDictMgr {
public:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册