...
This commit is contained in:
@@ -108,9 +108,10 @@ namespace adc
|
||||
|
||||
class AdcDeviceNetServer : public AdcGenericNetServer
|
||||
{
|
||||
protected:
|
||||
public:
|
||||
typedef std::vector<char> serialized_t;
|
||||
|
||||
protected:
|
||||
class DeviceWrapper
|
||||
{
|
||||
public:
|
||||
@@ -134,8 +135,8 @@ protected:
|
||||
DeviceWrapper() : _id()
|
||||
{
|
||||
// null device
|
||||
std::string_view is{"NULL-DEVICE"};
|
||||
std::ranges::copy(_id, std::back_inserter(_id));
|
||||
std::string_view id{"NULL-DEVICE"};
|
||||
std::ranges::copy(id, std::back_inserter(_id));
|
||||
};
|
||||
|
||||
template <interfaces::adc_device_c DeviceT,
|
||||
@@ -375,7 +376,7 @@ public:
|
||||
virtual ~AdcDeviceNetServer() = default;
|
||||
|
||||
template <interfaces::adc_device_c DeviceT,
|
||||
typename IdSerialT = traits::adc_char_identity<typename DeviceT::ident_t>,
|
||||
typename IdSerialT = traits::adc_char_identity<serialized_t>,
|
||||
typename AttrIdDeserialT = traits::adc_char_identity<typename DeviceT::attr_ident_t>,
|
||||
typename CmdIdDeserialT = traits::adc_char_identity<typename DeviceT::cmd_ident_t>>
|
||||
AdcDeviceNetServer& addDevice(DeviceT* dev_ptr,
|
||||
|
||||
Reference in New Issue
Block a user