Pleora Technologies Inc. eBUS SDK v6.2.8.5877 API



PvGenStateStack.h
1 // *****************************************************************************
2 //
3 // Copyright (c) 2011, Pleora Technologies Inc., All rights reserved.
4 //
5 // *****************************************************************************
6 
7 #ifndef __PVGENSTATESTACK_H__
8 #define __PVGENSTATESTACK_H__
9 
10 #include <PvGenICamLib.h>
11 #include <PvGenParameterArray.h>
12 
13 
15 class PvGenParameter;
16 
17 namespace PvGenICamLib
18 {
19  class GenStateStack;
20 }
21 
22 
23 class PV_GENICAM_API PvGenStateStack
24 {
25 public:
26 
27  PvGenStateStack( PvGenParameterArray *aParameters );
28  virtual ~PvGenStateStack();
29 
30  PvResult SetIntegerValue( const PvString &aName, int64_t aValue );
31  PvResult SetFloatValue( const PvString &aName, double aValue );
32  PvResult SetEnumValue( const PvString &aName, const PvString &aValue );
33  PvResult SetEnumValue( const PvString &aName, int64_t aValue );
34  PvResult SetBooleanValue( const PvString &aName, bool aValue );
35  PvResult SetStringValue( const PvString &aName, const PvString &aValue );
36 
37 private:
38 
39  // Not implemented
41  const PvGenStateStack &operator=( const PvGenStateStack & );
42 
43  PvGenICamLib::GenStateStack *mThis;
44 
45 };
46 
47 #endif
PvResult
Result information.
Definition: PvResult.h:13
PvGenStateStack
Performs changes to a GenICam node map, tracks them and restores the previous state on destruction.
Definition: PvGenStateStack.h:23
PvString
String class.
Definition: PvString.h:21
PvGenParameterArray
GenICam feature array.
Definition: PvGenParameterArray.h:38
PvGenParameter
Base class for all GenICam feature types.
Definition: PvGenParameter.h:37

Copyright (c) 2002-2021 Pleora Technologies Inc.
www.pleora.com