IDS peak genericC++ v1.13.0
Loading...
Searching...
No Matches
peak::core::RemoteDevice Class Reference

Allows to access the physical Device. More...

#include <peak/device/peak_remote_device.hpp>

Inheritance diagram for peak::core::RemoteDevice:
peak::core::Module

Public Member Functions

 RemoteDevice ()=delete
 ~RemoteDevice () override=default
 RemoteDevice (const class RemoteDevice &other)=delete
RemoteDevice & operator= (const class RemoteDevice &other)=delete
 RemoteDevice (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.
Public Member Functions inherited from peak::core::Module
 Module ()=default
virtual ~Module ()=default
 Module (const Module &other)=delete
Module & operator= (const Module &other)=delete
 Module (Module &&other)=delete
Module & operator= (Module &&other)=delete
std::vector< std::shared_ptr< NodeMap > > NodeMaps () const
 Returns the module's node maps.
std::shared_ptr< class Port > Port () const
 Returns the module's port.

Detailed Description

Allows to access the physical Device.

Access the NodeMap and Port of the physical device. This class doesn't have any additional functionality, but helps separate the local virtual device proxy from that actual physical hardware device. I.e. the NodeMap of this RemoteDevice is created from the XML file retrieved from the physical device, while the NodeMap of the proxy Device is created by the ProducerLibrary (CTI).

Constructor & Destructor Documentation

◆ RemoteDevice() [1/3]

peak::core::RemoteDevice::RemoteDevice ( )
delete

◆ ~RemoteDevice()

peak::core::RemoteDevice::~RemoteDevice ( )
overridedefault

◆ RemoteDevice() [2/3]

peak::core::RemoteDevice::RemoteDevice ( const class RemoteDevice & other)
delete

◆ RemoteDevice() [3/3]

peak::core::RemoteDevice::RemoteDevice ( class RemoteDevice && other)
delete

Member Function Documentation

◆ LocalDevice()

std::shared_ptr< Device > peak::core::RemoteDevice::LocalDevice ( ) const
inline

Returns the local device (device proxy) of the remote device.

Returns
Local device of the remote device
Since
1.0
Exceptions
InternalErrorExceptionAn internal error has occurred.

◆ operator=() [1/2]

RemoteDevice & peak::core::RemoteDevice::operator= ( class RemoteDevice && other)
delete

◆ operator=() [2/2]

RemoteDevice & peak::core::RemoteDevice::operator= ( const class RemoteDevice & other)
delete

The documentation for this class was generated from the following file: