Class for saving and restoring a camera features to and from a file.
More...
#include <pylon/FeaturePersistence.h>
Class for saving and restoring a camera features to and from a file.
static void Pylon::CFeaturePersistence::Load |
( |
const String_t & |
FileName, |
|
|
GenApi::INodeMap * |
pNodeMap, |
|
|
bool |
validate = true |
|
) |
| |
|
static |
Loads the features from the file to the node tree.
- Parameters
-
FileName | Name of the file 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 an GenICam::RuntimeException will be thrown |
static void Pylon::CFeaturePersistence::LoadFromString |
( |
const String_t & |
Features, |
|
|
GenApi::INodeMap * |
pNodeMap, |
|
|
bool |
validate = true |
|
) |
| |
|
static |
Loads the features from the string to the node tree.
- Parameters
-
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 an GenICam::RuntimeException will be thrown |
Saves the node tree to the file.
Sequence sets of a camera are automatically saved if the SequenceEnable is activated.
- Parameters
-
FileName | Name of the file to store the node map values IN |
pNodeMap | Pointer to the node map IN |
Saves the node tree to the string.
Sequence sets of a camera are automatically saved if the SequenceEnable is activated.
- Parameters
-
Features | String containing the node map values OUT |
pNodeMap | Pointer to the node map IN |
The documentation for this class was generated from the following file: