15 _dev(dev), _to_file(to_file)
22 _dev = std::make_shared<record_device>(
dev, std::make_shared<ros_writer>(to_file, dev->compress_while_record()));
36 throw std::runtime_error(
"Device is unavailable");
45 for (
auto&&
kvp : profiles_per_sensor)
46 for (
auto&&
p :
kvp.second)
47 profiles.push_back(
p);
std::shared_ptr< device_interface > get_device()
stream_profiles get_active_streams() const
GLsizei const GLchar *const * string
util::config::multistream _multistream
std::map< int, stream_profiles > get_profiles_per_sensor() const
multistream resolve(device_interface *dev)
std::vector< std::shared_ptr< stream_profile_interface >> stream_profiles
profile(std::shared_ptr< device_interface > dev, util::config config, const std::string &file="")
std::shared_ptr< device_interface > _dev