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