#ifndef DEPTHGUIDE_PC_DECODER_H #define DEPTHGUIDE_PC_DECODER_H #include "core/pc_utility.h" #include "network/binary_utility.hpp" #include class pc_decoder { public: struct create_config { smart_cuda_stream *stream = nullptr; }; explicit pc_decoder(const create_config &conf); ~pc_decoder(); using cb_func_type = std::function; cb_func_type cb_func; void decode(const data_type &data, const cb_func_type &cb); private: struct impl; std::unique_ptr pimpl; }; #endif //DEPTHGUIDE_PC_DECODER_H