15#include <peak/dll_interface/peak_dll_interface_util.hpp>
195 friend ClassCreator<FirmwareUpdateInformation>;
213 : m_backendHandle(firmwareUpdateInformationHandle)
218 return QueryNumericFromCInterfaceFunction<PEAK_BOOL8>([&](
PEAK_BOOL8* isValid) {
225 return QueryStringFromCInterfaceFunction([&](
char* fileName,
size_t* fileNameSize) {
227 m_backendHandle, fileName, fileNameSize);
233 return QueryStringFromCInterfaceFunction([&](
char* description,
size_t* descriptionSize) {
235 m_backendHandle, description, descriptionSize);
241 return QueryStringFromCInterfaceFunction([&](
char* version,
size_t* versionSize) {
248 return QueryStringFromCInterfaceFunction([&](
char* versionExtractionPattern,
size_t* versionExtractionPatternSize) {
250 m_backendHandle, versionExtractionPattern, versionExtractionPatternSize);
257 QueryNumericFromCInterfaceFunction<PEAK_FIRMWARE_UPDATE_VERSION_STYLE>(
260 m_backendHandle, versionStyle);
266 return QueryStringFromCInterfaceFunction([&](
char* releaseNotes,
size_t* releaseNotesSize) {
268 m_backendHandle, releaseNotes, releaseNotesSize);
274 return QueryStringFromCInterfaceFunction([&](
char* releaseNotesUrl,
size_t* releaseNotesUrlSize) {
276 m_backendHandle, releaseNotesUrl, releaseNotesUrlSize);
283 QueryNumericFromCInterfaceFunction<PEAK_FIRMWARE_UPDATE_PERSISTENCE>(
286 m_backendHandle, userSetPersistence);
293 QueryNumericFromCInterfaceFunction<PEAK_FIRMWARE_UPDATE_PERSISTENCE>(
296 m_backendHandle, sequencerSetPersistence);
302 std::string entryString;
306 entryString =
"None";
310 entryString =
"Full";
318 std::string entryString;
322 entryString =
"Dotted";
326 entryString =
"Semantic";
FirmwareUpdateVersionStyle
The style of the version value.
Definition peak_firmware_update_information.hpp:43
FirmwareUpdatePersistence
Specifies if the device persists user sets and/or sequencer sets during the update.
Definition peak_firmware_update_information.hpp:30
@ Dotted
Definition peak_firmware_update_information.hpp:49
@ Semantic
Definition peak_firmware_update_information.hpp:53
@ None
All sets are reset to default values during the update.
Definition peak_firmware_update_information.hpp:31
@ Full
The device guarantees, that all sets are persisted during the update.
Definition peak_firmware_update_information.hpp:32
The "core" namespace contains the direct GenAPI and GenTL wrapper.
Definition peak_buffer.hpp:34
std::string ToString(BufferPayloadType entry)
Definition peak_buffer.hpp:612
The "peak" namespace directly contains convenience functionality like the DeviceManager as well as th...
Definition peak_dynamic_loader.h:33
PEAK_C_API PEAK_FirmwareUpdateInformation_GetDescription(PEAK_FIRMWARE_UPDATE_INFORMATION_HANDLE firmwareUpdateInformationHandle, char *description, size_t *descriptionSize)
Asks the given firmware update information for its description.
PEAK_C_API PEAK_FirmwareUpdateInformation_GetVersion(PEAK_FIRMWARE_UPDATE_INFORMATION_HANDLE firmwareUpdateInformationHandle, char *version, size_t *versionSize)
Asks the given firmware update information for its version.
PEAK_C_API PEAK_FirmwareUpdateInformation_GetFileName(PEAK_FIRMWARE_UPDATE_INFORMATION_HANDLE firmwareUpdateInformationHandle, char *fileName, size_t *fileNameSize)
Asks the given firmware update information for its file name.
PEAK_C_API PEAK_FirmwareUpdateInformation_GetIsValid(PEAK_FIRMWARE_UPDATE_INFORMATION_HANDLE firmwareUpdateInformationHandle, PEAK_BOOL8 *isValid)
Asks the given firmware update information whether it is valid.
PEAK_C_API PEAK_FirmwareUpdateInformation_GetVersionExtractionPattern(PEAK_FIRMWARE_UPDATE_INFORMATION_HANDLE firmwareUpdateInformationHandle, char *versionExtractionPattern, size_t *versionExtractionPatternSize)
Asks the given firmware update information for its version extraction pattern.
PEAK_C_API PEAK_FirmwareUpdateInformation_GetSequencerSetPersistence(PEAK_FIRMWARE_UPDATE_INFORMATION_HANDLE firmwareUpdateInformationHandle, PEAK_FIRMWARE_UPDATE_PERSISTENCE *sequencerSetPersistence)
Asks the given firmware update information for its sequencer set persistence.
int32_t PEAK_FIRMWARE_UPDATE_PERSISTENCE
Definition peak_backend.h:193
struct PEAK_FIRMWARE_UPDATE_INFORMATION * PEAK_FIRMWARE_UPDATE_INFORMATION_HANDLE
Definition peak_backend.h:497
PEAK_C_API PEAK_FirmwareUpdateInformation_GetVersionStyle(PEAK_FIRMWARE_UPDATE_INFORMATION_HANDLE firmwareUpdateInformationHandle, PEAK_FIRMWARE_UPDATE_VERSION_STYLE *versionStyle)
Asks the given firmware update information for its version style.
int32_t PEAK_FIRMWARE_UPDATE_VERSION_STYLE
Definition peak_backend.h:214
int8_t PEAK_BOOL8
Definition peak_backend.h:43
PEAK_C_API PEAK_FirmwareUpdateInformation_GetUserSetPersistence(PEAK_FIRMWARE_UPDATE_INFORMATION_HANDLE firmwareUpdateInformationHandle, PEAK_FIRMWARE_UPDATE_PERSISTENCE *userSetPersistence)
Asks the given firmware update information for its user set persistence.
PEAK_C_API PEAK_FirmwareUpdateInformation_GetReleaseNotesURL(PEAK_FIRMWARE_UPDATE_INFORMATION_HANDLE firmwareUpdateInformationHandle, char *releaseNotesUrl, size_t *releaseNotesUrlSize)
Asks the given firmware update information for its release notes URL.
PEAK_C_API PEAK_FirmwareUpdateInformation_GetReleaseNotes(PEAK_FIRMWARE_UPDATE_INFORMATION_HANDLE firmwareUpdateInformationHandle, char *releaseNotes, size_t *releaseNotesSize)
Asks the given firmware update information for its release notes.
#define PEAK_C_ABI_PREFIX
Definition peak_dll_defines.h:16