eBUS SDK v6.2.8.5877 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;
62 PvPersistenceLib::ConfigurationReader *mThis;
PvResult GetPropertyListName(uint32_t aIndex, PvString &aName)
Get the configuration name (PvPropertyList).
Definition: PvConfigurationReader.cpp:534
PvResult Load(const PvString &aFilename)
Load a configuration file from disk.
Definition: PvConfigurationReader.cpp:114
Result information.
Definition: PvResult.h:13
PvResult GetGenParameterArrayName(uint32_t aIndex, PvString &aName)
Get the configuration name (PvGenParameterArray).
Definition: PvConfigurationReader.cpp:448
uint32_t GetGenParameterArrayCount()
Get the number of PvGenParameterArray objects saved in the configuration file.
Definition: PvConfigurationReader.cpp:431
PvResult Restore(const PvString &aName, PvDevice *aDevice)
Apply a configuration.
Definition: PvConfigurationReader.cpp:216
Receive data from a GigE Vision or USB3 Vision transmitter.
Definition: PvStream.h:39
PvResult LoadFromString(const PvString &aString)
Loads a configuration from a string.
Definition: PvConfigurationReader.cpp:139
PvConfigurationReader()
Constructor.
Definition: PvConfigurationReader.cpp:80
String class.
Definition: PvString.h:21
uint32_t GetDeviceCount()
Get the number of PvDevice configurations available.
Definition: PvConfigurationReader.cpp:159
GenICam feature array.
Definition: PvGenParameterArray.h:38
uint32_t GetStringCount()
Get the number of custom-state strings in the configuration file.
Definition: PvConfigurationReader.cpp:346
Class used to hold a group of PvString objects.
Definition: PvStringList.h:19
PvResult GetStringName(uint32_t aIndex, PvString &aName)
Get the custom-state string name (PvString)
Definition: PvConfigurationReader.cpp:365
Restore the state of the system.
Definition: PvConfigurationReader.h:23
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:30
PvResult GetStreamName(uint32_t aIndex, PvString &aName)
Get the configuration name (PvStream).
Definition: PvConfigurationReader.cpp:284
uint32_t GetStreamCount()
Get the number of stream configuration in this PvConfigurationReader.
Definition: PvConfigurationReader.cpp:265
void SetErrorList(PvStringList *aList, const PvString &aPrefix)
Sets the error list where all errors/warnings are logged.
Definition: PvConfigurationReader.cpp:626
uint32_t GetPropertyListCount()
Get the number of PvPropertyList objects saved in the configuration file.
Definition: PvConfigurationReader.cpp:517
PvResult GetDeviceName(uint32_t aIndex, PvString &aName)
Get the configuration name (PvDevice).
Definition: PvConfigurationReader.cpp:184
Copyright (c) 2002-2021 Pleora Technologies Inc.
www.pleora.com