Pleora Technologies Inc. eBUS SDK v6.2.8.5877 API



PvDfwPayload.h
1 // *****************************************************************************
2 //
3 // Copyright (c) 2013, Pleora Technologies Inc., All rights reserved.
4 //
5 // *****************************************************************************
6 
7 #ifndef __PVDFWPAYLOAD_H__
8 #define __PVDFWPAYLOAD_H__
9 
10 #include <PvBaseLib.h>
11 #include <PvString.h>
12 #include <PvResult.h>
13 
14 
15 namespace PvBaseLib
16 {
17  class DfwPayload;
18 }
19 
20 
21 class PV_BASE_API PvDfwPayload
22 {
23 public:
24 
25  PvDfwPayload( const PvString &aFilename );
26  PvDfwPayload( uint8_t *aBuffer, uint32_t aBufferLength );
27  virtual ~PvDfwPayload();
28 
29  static PvResult GetResetRecord( const PvString &aFirmwareFilename, uint8_t *aBuffer, uint32_t aBufferLength, uint32_t &aBytesWritten );
30  static PvResult GetDeviceIdRecord( const PvString &aFirmwareFilename, const PvString &aNewDeviceId, uint8_t *aBuffer, uint32_t aBufferLength, uint32_t &aBytesWritten );
31 
32 protected:
33 
34 private:
35 
36 #ifndef PV_GENERATING_DOXYGEN_DOC
37 
38  PvBaseLib::DfwPayload *mThis;
39 
40 #endif // PV_GENERATING_DOXYGEN_DOC
41 
42  // Not implemented
43  PvDfwPayload();
44  PvDfwPayload( const PvDfwPayload & );
45  const PvDfwPayload &operator=( const PvDfwPayload & );
46 
47 };
48 
49 #endif
String class.
Definition: PvString.h:21
Result information.
Definition: PvResult.h:13
Definition: PvDfwPayload.h:15
Currently only used to generate reset and device ID DFW records from firmware update files...
Definition: PvDfwPayload.h:21

Copyright (c) 2002-2021 Pleora Technologies Inc.
www.pleora.com