Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
include
VimbaCPP
Source
BoolFeature.h
Go to the documentation of this file.
1
/*=============================================================================
2
Copyright (C) 2012 Allied Vision Technologies. All Rights Reserved.
3
4
Redistribution of this file, in original or modified form, without
5
prior written consent of Allied Vision Technologies is prohibited.
6
7
-------------------------------------------------------------------------------
8
9
File: BoolFeature.h
10
11
Description: Definition of class AVT::VmbAPI::BoolFeature.
12
(For internal use only)
13
14
-------------------------------------------------------------------------------
15
16
THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
17
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF TITLE,
18
NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19
DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
20
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
23
AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
24
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
27
=============================================================================*/
28
29
#ifndef AVT_VMBAPI_BOOLFEATURE_H
30
#define AVT_VMBAPI_BOOLFEATURE_H
31
32
#include <
VimbaC/Include/VimbaC.h
>
33
#include <
VimbaCPP/Include/VimbaCPPCommon.h
>
34
#include <
VimbaCPP/Source/BaseFeature.h
>
35
#include <
VimbaCPP/Include/FeatureContainer.h
>
36
37
namespace
AVT
{
38
namespace
VmbAPI {
39
40
class
BoolFeature
:
public
BaseFeature
41
{
42
public
:
43
BoolFeature
(
const
VmbFeatureInfo_t
*featureInfo,
FeatureContainer
*
const
pFeatureContainer );
44
45
//
46
// Method: GetValue()
47
// Purpose: Get the value of a boolean feature
48
// Parameters:
49
// [out] bool& value bool value
50
// Returns:
51
// - VmbErrorSuccess: If no error
52
// - VmbErrorWrongType: Feature is not a bool feature
53
// - VmbInternalError: Value could not get queried
54
//
55
IMEXPORT
virtual
VmbErrorType
GetValue
(
bool
&value )
const
;
56
57
//
58
// Method: SetValue()
59
// Purpose: Set the value of a boolean feature
60
//
61
IMEXPORT
virtual
VmbErrorType
SetValue
(
bool
value );
62
};
63
64
}}
// namespace AVT::VmbAPI
65
66
#endif
AVT::VmbAPI::BoolFeature::SetValue
virtual IMEXPORT VmbErrorType SetValue(bool value)
Definition:
BoolFeature.cpp:48
VmbErrorType
VmbErrorType
Definition:
VmbCommonTypes.h:106
AVT::VmbAPI::BoolFeature::BoolFeature
BoolFeature(const VmbFeatureInfo_t *featureInfo, FeatureContainer *const pFeatureContainer)
Definition:
BoolFeature.cpp:34
BaseFeature.h
VimbaCPPCommon.h
AVT
Definition:
AncillaryData.h:35
FeatureContainer.h
VimbaC.h
AVT::VmbAPI::BoolFeature
Definition:
BoolFeature.h:40
AVT::VmbAPI::BaseFeature
Definition:
BaseFeature.h:39
AVT::VmbAPI::FeatureContainer
Definition:
FeatureContainer.h:40
AVT::VmbAPI::BoolFeature::GetValue
virtual IMEXPORT VmbErrorType GetValue(bool &value) const
Definition:
BoolFeature.cpp:38
VmbFeatureInfo
Definition:
VimbaC.h:208
avt_vimba_camera
Author(s): Miquel Massot
, Allied Vision Technologies
autogenerated on Mon Jun 10 2019 12:50:38