13#include <peak/dll_interface/peak_dll_interface_util.hpp>
56 friend ClassCreator<RemoteDevice>;
62 std::weak_ptr<Device> m_localDevice;
76 : m_backendHandle(remoteDeviceHandle)
77 , m_localDevice(localDevice)
82 return LockOrThrow(m_localDevice);
87 auto moduleHandle = QueryNumericFromCInterfaceFunction<PEAK_MODULE_HANDLE>(
Represents a GenTL Device module, i.e. a local virtual Device proxy for the actual hardware RemoteDev...
Definition peak_device.hpp:53
virtual PEAK_MODULE_HANDLE ModuleHandle() const =0
RemoteDevice(class RemoteDevice &&other)=delete
RemoteDevice & operator=(const class RemoteDevice &other)=delete
~RemoteDevice() override=default
RemoteDevice(const class RemoteDevice &other)=delete
RemoteDevice & operator=(class RemoteDevice &&other)=delete
PEAK_COMMON_NO_DISCARD std::shared_ptr< Device > LocalDevice() const
Returns the local device (device proxy) of the remote device.
Definition peak_remote_device.hpp:80
The "core" namespace contains the direct GenAPI and GenTL wrapper.
Definition peak_buffer.hpp:32
The "peak" namespace directly contains convenience functionality like the DeviceManager as well as th...
Definition peak_buffer.hpp:29
struct PEAK_MODULE * PEAK_MODULE_HANDLE
Definition peak_backend.h:419
struct PEAK_REMOTE_DEVICE * PEAK_REMOTE_DEVICE_HANDLE
Definition peak_backend.h:391
PEAK_C_API PEAK_RemoteDevice_ToModule(PEAK_REMOTE_DEVICE_HANDLE remoteDeviceHandle, PEAK_MODULE_HANDLE *moduleHandle)
Casts the given remote device to a module.
#define PEAK_COMMON_NO_DISCARD
Definition peak_common_defines.h:89
#define PEAK_C_ABI_PREFIX
Definition peak_dll_defines.h:13