eBUS SDK v6.5.1.6797 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
14
class
PvGenParameterArray
;
15
class
PvGenParameter
;
16
17
namespace
PvGenICamLib
18
{
19
class
GenStateStack;
20
}
21
22
48
class
PV_GENICAM_API
PvGenStateStack
49
{
50
public
:
51
57
PvGenStateStack
(
PvGenParameterArray
*aParameters );
58
62
virtual
~
PvGenStateStack
();
63
76
PvResult
SetIntegerValue(
const
PvString
&aName, int64_t aValue );
77
90
PvResult
SetFloatValue(
const
PvString
&aName,
double
aValue );
91
104
PvResult
SetEnumValue(
const
PvString
&aName,
const
PvString
&aValue );
105
118
PvResult
SetEnumValue(
const
PvString
&aName, int64_t aValue );
119
132
PvResult
SetBooleanValue(
const
PvString
&aName,
bool
aValue );
133
146
PvResult
SetStringValue(
const
PvString
&aName,
const
PvString
&aValue );
147
148
private
:
149
150
// Not implemented
151
PvGenStateStack
(
const
PvGenStateStack
& );
152
const
PvGenStateStack
&operator=(
const
PvGenStateStack
& );
153
154
PvGenICamLib::GenStateStack *mThis;
155
156
};
157
158
#endif
PvResult
Result information.
Definition:
PvResult.h:29
PvGenStateStack
Performs changes to a GenICam node map, tracks them and restores the previous state on destruction.
Definition:
PvGenStateStack.h:48
PvString
String class.
Definition:
PvString.h:25
PvGenParameterArray
GenICam feature array.
Definition:
PvGenParameterArray.h:72
PvGenParameter
Base class for all GenICam feature types.
Definition:
PvGenParameter.h:43
Copyright (c) 2002-2024 Pleora Technologies Inc.
www.pleora.com