Class used to perform a GenICam firmware update on a device. More...
#include <PvGenFUUpdater.h>
Public Member Functions | |
| PvGenFUUpdater (const char *aPath, const char *aFileName, const PvDeviceInfo *aDeviceInfo, const char *aDeviceId, bool aDeviceReset) | |
| Constructor. | |
| ~PvGenFUUpdater () | |
| Destructor. | |
| void | Attach (IUpdaterObserver *aObserver) |
| Attach an observer. | |
| void | Detach (IUpdaterObserver *aObserver) |
| Detach observer. | |
| void | Start () |
| Start the GenICam firmware update. | |
| bool | IsDone () const |
| Check if update has completed. | |
| PvResult | GetResult () const |
| Gets result of the update. | |
Class used to perform a GenICam firmware update on a device.
The PvGenFUUpdater class can be used to perform a GenICam firmware update on a GigE Vision or USB3 Vision device.
The firmware update file must be a GenICam Update Format (.guf) file, or a Pleora zip updater file (.zip, also in GenICam Update Format).
Optionally, a new Device ID may be specified, and the device may be reset after the update is complete.
| PvGenFUUpdater::PvGenFUUpdater | ( | const char * | aPath, |
| const char * | aFileName, | ||
| const PvDeviceInfo * | aDeviceInfo, | ||
| const char * | aDeviceId, | ||
| bool | aDeviceReset | ||
| ) |
Constructor.
| [in] | aPath | Path of update file. |
| [in] | aFileName | Filename of update file. |
| [in] | aDeviceInfo | PvDeviceInfo of the device to be updated. |
| [in] | aDeviceId | New device ID, or empty if not to be changed. |
| [in] | aDeviceReset | True if device should be reset after update. |
| void PvGenFUUpdater::Attach | ( | IUpdaterObserver * | aObserver | ) |
Attach an observer.
The application can receive messages and progress values for the GenICam firmware update. Attach an observer class and its UpdateProgressLabel and UpdateProgressValue methods will be called by the PvGenFUUpdater.
| void PvGenFUUpdater::Detach | ( | IUpdaterObserver * | aObserver | ) |
| PvResult PvGenFUUpdater::GetResult | ( | ) | const |
| bool PvGenFUUpdater::IsDone | ( | ) | const |
| void PvGenFUUpdater::Start | ( | ) |
Copyright (c) 2002-2026 Pleora Technologies Inc.
www.pleora.com