Utility class for saving and restoring camera features to and from a file or string. More...
#include <pylon/FeaturePersistence.h>
Static Public Member Functions | |
static void | Load (const String_t &FileName, GenApi::INodeMap *pNodeMap, bool validate=true) |
Loads the features from the file to the node map. More... | |
static void | Save (const String_t &FileName, GenApi::INodeMap *pNodeMap) |
Saves the node map to the file. More... | |
static void | LoadFromString (const String_t &Features, GenApi::INodeMap *pNodeMap, bool validate=true) |
Loads the features from the string to the node map. More... | |
static void | SaveToString (String_t &Features, GenApi::INodeMap *pNodeMap) |
Saves the node map to the string. More... | |
Utility class for saving and restoring camera features to and from a file or string.
Only if the sequencer is in configuration mode, are the sequence sets exported. Otherwise, the camera features are exported without sequence sets.
|
static |
Loads the features from the file to the node map.
[in] | FileName | Name of the file that contains the node map values. |
[in] | pNodeMap | Pointer to the node map |
[in] | validate | If validate==true, all node values will be validated. In case of an error, a GenICam::RuntimeException will be thrown |
|
static |
Loads the features from the string to the node map.
[in] | Features | String containing the node map values. |
[in] | pNodeMap | Pointer to the node map. |
[in] | validate | If validate==true, all node values will be validated. In case of an error, a GenICam::RuntimeException will be thrown. |
|
static |
Saves the node map to the file.
Sequence sets of a camera are automatically saved if SequenceEnable or SequencerConfigurationMode is enabled.
[in] | FileName | Name of the file that contains the node map values |
[in] | pNodeMap | Pointer to the node map |
|
static |
Saves the node map to the string.
Sequence sets of a camera are automatically saved, if SequenceEnable or SequencerConfigurationMode is enabled.
[out] | Features | String containing the node map values |
[in] | pNodeMap | Pointer to the node map |