Static Public Member Functions | List of all members
Pylon::CFeaturePersistence Class Reference

Class for saving and restoring a camera features to and from a file. 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 tree. More...
 
static void Save (const String_t &FileName, GenApi::INodeMap *pNodeMap)
 Saves the node tree 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 tree. More...
 
static void SaveToString (String_t &Features, GenApi::INodeMap *pNodeMap)
 Saves the node tree to the string. More...
 

Detailed Description

Class for saving and restoring a camera features to and from a file.

Member Function Documentation

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
FileNameName of the file containing the node map values IN
pNodeMapPointer to the node map IN
validateif 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
FeaturesString containing the node map values IN
pNodeMapPointer to the node map IN
validateif validate==true all node values will be validated, in case of an error an GenICam::RuntimeException will be thrown
static void Pylon::CFeaturePersistence::Save ( const String_t FileName,
GenApi::INodeMap pNodeMap 
)
static

Saves the node tree to the file.

Sequence sets of a camera are automatically saved if the SequenceEnable is activated.

Parameters
FileNameName of the file to store the node map values IN
pNodeMapPointer to the node map IN
static void Pylon::CFeaturePersistence::SaveToString ( String_t Features,
GenApi::INodeMap pNodeMap 
)
static

Saves the node tree to the string.

Sequence sets of a camera are automatically saved if the SequenceEnable is activated.

Parameters
FeaturesString containing the node map values OUT
pNodeMapPointer to the node map IN

The documentation for this class was generated from the following file:

© 2006-2014 Basler (Tue Jul 22 2014 11:41:23)