16#include <peak/dll_interface/peak_dll_interface_util.hpp>
59 friend ClassCreator<RemoteDevice>;
65 std::weak_ptr<Device> m_localDevice;
79 : m_backendHandle(remoteDeviceHandle)
80 , m_localDevice(localDevice)
85 return LockOrThrow(m_localDevice);
90 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:56
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
std::shared_ptr< Device > LocalDevice() const
Returns the local device (device proxy) of the remote device.
Definition peak_remote_device.hpp:83
The "core" namespace contains the direct GenAPI and GenTL wrapper.
Definition peak_buffer.hpp:34
The "peak" namespace directly contains convenience functionality like the DeviceManager as well as th...
Definition peak_dynamic_loader.h:33
struct PEAK_MODULE * PEAK_MODULE_HANDLE
Definition peak_backend.h:421
struct PEAK_REMOTE_DEVICE * PEAK_REMOTE_DEVICE_HANDLE
Definition peak_backend.h:393
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_C_ABI_PREFIX
Definition peak_dll_defines.h:16