include
VimbaCPP
Source
StringFeature.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: StringFeature.h
10
11
Description: Definition of class AVT::VmbAPI::StringFeature.
12
Intended for use in the implementation of Vimba CPP API.
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_STRINGFEATURE_H
30
#define AVT_VMBAPI_STRINGFEATURE_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
StringFeature
:
public
BaseFeature
41
{
42
public
:
43
StringFeature
(
const
VmbFeatureInfo_t
*featureInfo,
FeatureContainer
*
const
pFeatureContainer );
44
45
IMEXPORT
virtual
VmbErrorType
SetValue
(
const
char
*pValue );
46
47
private
:
48
// Array functions to pass data across DLL boundaries
49
IMEXPORT
virtual
VmbErrorType
GetValue
(
char
*
const
pValue,
VmbUint32_t
&length )
const
;
50
};
51
52
}}
// namespace AVT::VmbAPI
53
54
#endif
AVT::VmbAPI::StringFeature::StringFeature
StringFeature(const VmbFeatureInfo_t *featureInfo, FeatureContainer *const pFeatureContainer)
Definition:
StringFeature.cpp:34
FeatureContainer.h
AVT
Definition:
AncillaryData.h:35
VmbErrorType
VmbErrorType
Definition:
VmbCommonTypes.h:106
AVT::VmbAPI::BaseFeature
Definition:
BaseFeature.h:39
BaseFeature.h
VmbUint32_t
unsigned int VmbUint32_t
Definition:
VmbCommonTypes.h:73
VimbaC.h
VimbaCPPCommon.h
AVT::VmbAPI::StringFeature::GetValue
virtual IMEXPORT VmbErrorType GetValue(char *const pValue, VmbUint32_t &length) const
Definition:
StringFeature.cpp:39
AVT::VmbAPI::StringFeature
Definition:
StringFeature.h:40
AVT::VmbAPI::FeatureContainer
Definition:
FeatureContainer.h:40
AVT::VmbAPI::StringFeature::SetValue
virtual IMEXPORT VmbErrorType SetValue(const char *pValue)
Definition:
StringFeature.cpp:56
VmbFeatureInfo
Definition:
VimbaC.h:207
avt_vimba_camera
Author(s): Allied Vision Technologies, Miquel Massot
autogenerated on Sat Jun 3 2023 02:14:12