Low Level API: The interface implemented by all device objects. More...
#include <pylon/Device.h>
Public Member Functions | |
virtual void | Open (AccessModeSet mode=(Stream|Control|Event))=0 |
Opens a device. More... | |
virtual void | Close ()=0 |
Closes a device. More... | |
virtual bool | IsOpen () const =0 |
Checks if a device already is opened. More... | |
virtual AccessModeSet | AccessMode (void) const =0 |
Returns the access mode used to open the device. | |
virtual const CDeviceInfo & | GetDeviceInfo () const =0 |
Returns the device info object storing information like the device's name. More... | |
Low Level API: The interface implemented by all device objects.
|
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.
|
pure virtual |
Returns the device info object storing information like the device's name.
|
pure virtual |
Checks if a device already is opened.
|
pure virtual |
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.
mode | The desired device access mode |