13 #ifndef DEEPSTREAM_MSGBROKER_C2D_RECEIVER_HPP
14 #define DEEPSTREAM_MSGBROKER_C2D_RECEIVER_HPP
19 #include <unordered_map>
44 unsigned int startTime,
unsigned int duration,
46 virtual void stopSmartRecord(int64_t camera_id, uint32_t sessionId) = 0;
56 return std::find(handlers_.begin(), handlers_.end(), handler) != handlers_.end();
60 bool handleMessage(
const char* topic,
const char* payload,
unsigned int size);
71 bool parse_msgconv_config(
const std::string& file_path);
73 std::string config_path_;
75 std::vector<IHandler*> handlers_;
76 std::unordered_map<std::string, int64_t> sensor_name_id_map_;
77 std::unordered_map<std::string, uint32_t> sensor_sr_session_id_map_;