Pleora Technologies Inc. eBUS SDK v6.2.8.5877 API



PvConfigurationWriter.h
1 // *****************************************************************************
2 //
3 // Copyright (c) 2008, Pleora Technologies Inc., All rights reserved.
4 //
5 // *****************************************************************************
6 
7 #ifndef __PVCONFIGURATIONWRITER_H__
8 #define __PVCONFIGURATIONWRITER_H__
9 
10 #include <PvPersistenceLib.h>
11 #include <PvDevice.h>
12 #include <PvStream.h>
13 #include <PvStringList.h>
14 #include <PvPropertyList.h>
15 
16 
17 namespace PvPersistenceLib
18 {
19  class ConfigurationWriter;
20 }
21 
22 
24 {
25 public:
26 
27  PV_PERSISTENCE_API PvConfigurationWriter();
28  PV_PERSISTENCE_API ~PvConfigurationWriter();
29 
30  PV_PERSISTENCE_API PvResult Store( PvDevice *aDevice, PvString aName = PvString( "" ) );
31  PV_PERSISTENCE_API PvResult Store( PvStream *aStream, PvString aName = PvString( "" ) );
32  PV_PERSISTENCE_API PvResult Store( const PvString &aString, const PvString &aName );
33  PV_PERSISTENCE_API PvResult Store( PvGenParameterArray *aGenParameterArray, PvString aName = PvString( "" ), PvStringList *aExtendedBlackList = NULL );
34  PV_PERSISTENCE_API PvResult Store( PvPropertyList *aPropertyList, PvString aName = PvString( "" ) );
35 
36  PV_PERSISTENCE_API PvResult Save( const PvString &aFilename );
37  PV_PERSISTENCE_API PvResult SaveToString( PvString &aString );
38 
39  PV_PERSISTENCE_API void SetErrorList( PvStringList *aList, const PvString &aPrefix );
40 
41 protected:
42 
43 private:
44 
45  PvPersistenceLib::ConfigurationWriter *mThis;
46 
47  PvStringList *mErrorList;
48  PvString mErrorPrefix;
49 
50  // Not implemented
51  PvConfigurationWriter( const PvConfigurationWriter& );
52  const PvConfigurationWriter &operator=( const PvConfigurationWriter & );
53 
54 };
55 
56 #endif
Receive data from a GigE Vision or USB3 Vision transmitter.
Definition: PvStream.h:39
String class.
Definition: PvString.h:21
Result information.
Definition: PvResult.h:13
Save the state of the system.
Definition: PvConfigurationWriter.h:23
Class used to hold a group of PvString objects.
Definition: PvStringList.h:19
Class used to hold a group of PvProperty objects.
Definition: PvPropertyList.h:20
Definition: PvConfigurationReader.h:17
GenICam feature array.
Definition: PvGenParameterArray.h:38
Connect, configure and control a GigE Vision or USB3 Vision device.
Definition: PvDevice.h:30

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