eBUS SDK v7.0.1.7536 API
7 #ifndef __PVCONFIGURATIONREADER_H__
8 #define __PVCONFIGURATIONREADER_H__
10 #include <PvPersistenceLib.h>
13 #include <PvStringList.h>
14 #include <PvPropertyList.h>
17 namespace PvPersistenceLib
19 class ConfigurationReader;
255 PvPersistenceLib::ConfigurationReader *mThis;
PvResult GetPropertyListName(uint32_t aIndex, PvString &aName)
Gets the name of a property list at the specified index.
Definition: PvConfigurationReader.cpp:534
PvResult Load(const PvString &aFilename)
Loads configuration data from a file.
Definition: PvConfigurationReader.cpp:114
Result information.
Definition: PvResult.h:29
PvResult GetGenParameterArrayName(uint32_t aIndex, PvString &aName)
Gets the name of a GenICam parameter array at the specified index.
Definition: PvConfigurationReader.cpp:448
uint32_t GetGenParameterArrayCount()
Returns the number of GenICam parameter arrays stored in the configuration.
Definition: PvConfigurationReader.cpp:431
PvResult Restore(const PvString &aName, PvDevice *aDevice)
Restores configuration to a device by name.
Definition: PvConfigurationReader.cpp:216
Receive data from a GigE Vision or USB3 Vision transmitter.
Definition: PvStream.h:50
PvResult LoadFromString(const PvString &aString)
Loads configuration data from a string.
Definition: PvConfigurationReader.cpp:139
PvConfigurationReader()
Constructor.
Definition: PvConfigurationReader.cpp:80
String class.
Definition: PvString.h:25
uint32_t GetDeviceCount()
Returns the number of devices stored in the configuration.
Definition: PvConfigurationReader.cpp:159
GenICam feature array.
Definition: PvGenParameterArray.h:72
uint32_t GetStringCount()
Returns the number of strings stored in the configuration.
Definition: PvConfigurationReader.cpp:346
Class used to hold a group of PvString objects.
Definition: PvStringList.h:19
PvResult GetStringName(uint32_t aIndex, PvString &aName)
Gets the name of a string entry at the specified index.
Definition: PvConfigurationReader.cpp:365
Reads and restores configuration data from persistence files.
Definition: PvConfigurationReader.h:28
Class used to hold a group of PvProperty objects.
Definition: PvPropertyList.h:20
~PvConfigurationReader()
Destructor.
Definition: PvConfigurationReader.cpp:93
Connect, configure and control a GigE Vision or USB3 Vision device.
Definition: PvDevice.h:41
PvResult GetStreamName(uint32_t aIndex, PvString &aName)
Gets the name of a stream at the specified index.
Definition: PvConfigurationReader.cpp:284
uint32_t GetStreamCount()
Returns the number of streams stored in the configuration.
Definition: PvConfigurationReader.cpp:265
void SetErrorList(PvStringList *aList, const PvString &aPrefix)
Sets the error list for collecting error messages during restore operations.
Definition: PvConfigurationReader.cpp:626
uint32_t GetPropertyListCount()
Returns the number of property lists stored in the configuration.
Definition: PvConfigurationReader.cpp:517
PvResult GetDeviceName(uint32_t aIndex, PvString &aName)
Gets the name of a device at the specified index.
Definition: PvConfigurationReader.cpp:184
Copyright (c) 2002-2026 Pleora Technologies Inc.
www.pleora.com