16 #include <peak/dll_interface/peak_dll_interface_util.hpp> 58 friend ClassCreator<RemoteDevice>;
64 std::weak_ptr<Device> m_localDevice;
78 : m_backendHandle(remoteDeviceHandle)
79 , m_localDevice(localDevice)
84 return LockOrThrow(m_localDevice);
89 auto moduleHandle = QueryNumericFromCInterfaceFunction<PEAK_MODULE_HANDLE>(
The "peak" namespace directly contains convenience functionality like the DeviceManager as well as th...
Definition: peak_dynamic_loader.h:32
struct PEAK_REMOTE_DEVICE * PEAK_REMOTE_DEVICE_HANDLE
Definition: peak_backend.h:373
RemoteDevice & operator=(const class RemoteDevice &other)=delete
~RemoteDevice() override=default
std::shared_ptr< Device > LocalDevice() const
Returns the local device (device proxy) of the remote device.
Definition: peak_remote_device.hpp:82
Represents an extended GenTL port.
Definition: peak_module.hpp:37
#define PEAK_C_ABI_PREFIX
Definition: peak_dll_defines.h:16
PEAK_C_API PEAK_RemoteDevice_ToModule(PEAK_REMOTE_DEVICE_HANDLE remoteDeviceHandle, PEAK_MODULE_HANDLE *moduleHandle)
Casts the given remote device to a module.
struct PEAK_MODULE * PEAK_MODULE_HANDLE
Definition: peak_backend.h:401
Allows to access the physical Device.
Definition: peak_remote_device.hpp:36