houxiao
2017-01-11 97dbd476ee99f36286cd866b2208ceead3019b31
RtspFace/SensetimeFaceAPIWrapper/src/FaceDBPool.h
@@ -1,4 +1,26 @@
#ifndef _FACEDBPOOL_H_
#define _FACEDBPOOL_H_
#include "faceAPI.h"
class FaceDBPool
{
public:
   FaceDBPool();
   ~FaceDBPool();
   void manage(int dbid, faceAPI* db);
   void unmanage(int dbid);
   faceAPI* get_free(int dbid);
   void release(int dbid);
   bool wait_free() { return true; }
   bool notify_free() { return true; }
private:
   void* pool_mutex;
   void* face_db_map;
};
#endif