#pragma once
#include "device.h"

namespace myapp::modbus {

class device_factory final
{
public:
    static std::shared_ptr<device> create(
        std::shared_ptr<connection>, std::string name,
        std::string const& connection_string,
        std::shared_ptr<logging::logger>);
};

} /* namespace myapp::modbus */
