| | |
| | | bool dbapi_get_polygons(void *handle, std::vector<protomsg::CameraPolygon> & list) { |
| | | const char *topic = DATA_URL_PREFIX("/polygon/findAll"); |
| | | |
| | | return true; |
| | | bool ret = bus_dbapi_get_list(handle, topic, list); |
| | | return ret; |
| | | } |
| | | |
| | | bool dbapi_get_polygon_relations(void *handle, std::vector<protomsg::CameraPolygonRelation> & list) { |
| | | const char *topic = DATA_URL_PREFIX("/polygon/relation/findAll"); |
| | | |
| | | return true;; |
| | | bool ret = bus_dbapi_get_list(handle, topic, list); |
| | | return ret; |
| | | } |
| | | |
| | |
| | | bool dbapi_get_camera_rules(void *handle, std::vector<protomsg::CameraAndRules> & list) { |
| | | const char *topic = DATA_URL_PREFIX("/camera/rule/findAll"); |
| | | |
| | | return true;; |
| | | bool ret = bus_dbapi_get_list(handle, topic, list); |
| | | return true;; |
| | | } |
| | | |
| | |
| | | bool dbapi_get_sdk_channel_set(void *handle, std::vector<protomsg::SdkChanSet> & list) { |
| | | const char *topic = DATA_URL_PREFIX("/sdk/getAllSdkChanSet"); |
| | | |
| | | return true; |
| | | bool ret = bus_dbapi_get_list(handle, topic, list); |
| | | return ret; |
| | | } |
| | | |
| | | bool dbapi_get_sdks(void *handle, std::vector<protomsg::Sdk> & list) { |
| | | const char *topic = DATA_URL_PREFIX("/sdk/findAllSdk"); |
| | | |
| | | return true; |
| | | bool ret = bus_dbapi_get_list(handle, topic, list); |
| | | return ret; |
| | | } |
| | |
| | | bool dbapi_get_doing_stacks(void *handle, std::vector<protomsg::FileStack> & list) { |
| | | const char *topic = DATA_URL_PREFIX("/fileStack/findAllDoingStacks"); |
| | | |
| | | return true; |
| | | bool ret = bus_dbapi_get_list(handle, topic, list); |
| | | return ret; |
| | | } |
| | | |