Low Level API: The interface implemented by all device objects.
More...
#include <pylon/Device.h>
Low Level API: The interface implemented by all device objects.
virtual void Pylon::IDevice::Close |
( |
| ) |
|
|
pure virtual |
Closes a device.
The close method closes all involved drivers and an existing connection to the device will be released. Other applications now can access the device.
virtual const CDeviceInfo& Pylon::IDevice::GetDeviceInfo |
( |
| ) |
const |
|
pure virtual |
Returns the device info object storing information like the device's name.
- Returns
- A reference to the device info object used to create the device by a device factory
virtual bool Pylon::IDevice::IsOpen |
( |
| ) |
const |
|
pure virtual |
Checks if a device already is opened.
- Returns
- true, when the device already has been opened by the calling application.
- Note
- When a device has been opened an application A, IsOpen() will return false when called by an application B not having called the device's open method.
Opens a device.
The open method initializes all involved drivers and establishes a connection to the device.
A device may support different access modes, e.g. EDeviceAccessMode::Exclusive providing an exclusive access to the device.
- Parameters
-
mode | The desired device access mode |
The documentation for this interface was generated from the following file: