Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
f
g
i
k
l
o
p
r
s
t
u
Functions
Variables
Typedefs
Enumerations
Enumerator
+
Classes
Class List
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
~
+
Functions
a
b
c
d
e
f
g
h
i
l
m
o
p
q
r
s
t
u
v
w
~
+
Variables
_
a
b
c
d
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Typedefs
Enumerations
Enumerator
Related Functions
+
Files
File List
+
File Members
+
All
d
g
i
l
m
s
v
+
Functions
m
v
Variables
+
Typedefs
v
Enumerations
+
Enumerator
v
Macros
include
VimbaCPP
Include
AncillaryData.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: AncillaryData.h
10
11
Description: Definition of class AVT::VmbAPI::AncillaryData.
12
13
-------------------------------------------------------------------------------
14
15
THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
16
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF TITLE,
17
NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18
DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
19
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
22
AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
23
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
24
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25
26
=============================================================================*/
27
28
#ifndef AVT_VMBAPI_ANCILLARYDATA_H
29
#define AVT_VMBAPI_ANCILLARYDATA_H
30
31
#include <
VimbaC/Include/VmbCommonTypes.h
>
32
#include <
VimbaCPP/Include/VimbaCPPCommon.h
>
33
#include <
VimbaCPP/Include/FeatureContainer.h
>
34
35
namespace
AVT
{
36
namespace
VmbAPI {
37
38
class
AncillaryData
:
public
FeatureContainer
39
{
40
public
:
41
AncillaryData
(
VmbFrame_t
*pFrame );
42
~AncillaryData
();
43
44
//
45
// Method: Open()
46
//
47
// Purpose: Opens the ancillary data to allow access to the elements of the ancillary data via feature access.
48
//
49
// Returns:
50
//
51
// - VmbErrorSuccess: If no error
52
// - VmbErrorApiNotStarted: VmbStartup() was not called before the current command
53
//
54
// Details: This function can only succeed if the given frame has been filled by the API.
55
//
56
IMEXPORT
VmbErrorType
Open
();
57
58
//
59
// Method: Close()
60
//
61
// Purpose: Closes the ancillary data inside a frame.
62
//
63
// Returns:
64
//
65
// - VmbErrorSuccess: If no error
66
// - VmbErrorApiNotStarted: VmbStartup() was not called before the current command
67
// - VmbErrorBadHandle: The given handle is not valid
68
//
69
// Details: After reading the ancillary data and before re-queuing the frame, ancillary data
70
// must be closed.
71
//
72
IMEXPORT
VmbError_t
Close
();
73
74
//
75
// Method: GetBuffer()
76
//
77
// Purpose: Returns the underlying buffer
78
//
79
// Parameters: [out] VmbUchar_t*& pBuffer A pointer to the buffer
80
//
81
// Returns:
82
//
83
// - VmbErrorSuccess: If no error
84
//
85
IMEXPORT
VmbErrorType
GetBuffer
(
VmbUchar_t
* &pBuffer );
86
87
//
88
// Method: GetBuffer()
89
//
90
// Purpose: Returns the underlying buffer
91
//
92
// Parameters: [out] const VmbUchar_t*& pBuffer A pointer to the buffer
93
//
94
// Returns:
95
//
96
// - VmbErrorSuccess: If no error
97
//
98
IMEXPORT
VmbErrorType
GetBuffer
(
const
VmbUchar_t
* &pBuffer )
const
;
99
100
//
101
// Method: GetSize()
102
//
103
// Purpose: Returns the size of the underlying buffer
104
//
105
// Parameters: [out] VmbUint32_t& size The size of the buffer
106
//
107
// Returns:
108
//
109
// - VmbErrorSuccess: If no error
110
//
111
IMEXPORT
VmbErrorType
GetSize
(
VmbUint32_t
&size )
const
;
112
113
private
:
114
struct
Impl
;
115
Impl
*
m_pImpl
;
116
117
// No default ctor
118
AncillaryData
();
119
// No copy ctor
120
AncillaryData
(
const
AncillaryData
& );
121
// No assignment operator
122
AncillaryData
&
operator=
(
const
AncillaryData
& );
123
};
124
125
}}
// namespace AVT::VmbAPI
126
127
#endif
VmbError_t
VmbInt32_t VmbError_t
Definition:
VmbCommonTypes.h:130
AVT::VmbAPI::AncillaryData::AncillaryData
AncillaryData()
Definition:
AncillaryData.cpp:41
AVT::VmbAPI::AncillaryData::Impl
Definition:
AncillaryData.cpp:36
AVT::VmbAPI::AncillaryData::GetBuffer
IMEXPORT VmbErrorType GetBuffer(VmbUchar_t *&pBuffer)
Definition:
AncillaryData.cpp:68
AVT::VmbAPI::AncillaryData::Open
IMEXPORT VmbErrorType Open()
Definition:
AncillaryData.cpp:101
AVT::VmbAPI::AncillaryData::~AncillaryData
~AncillaryData()
Definition:
AncillaryData.cpp:63
AVT::VmbAPI::AncillaryData::GetSize
IMEXPORT VmbErrorType GetSize(VmbUint32_t &size) const
Definition:
AncillaryData.cpp:94
AVT::VmbAPI::AncillaryData::m_pImpl
Impl * m_pImpl
Definition:
AncillaryData.h:114
VmbErrorType
VmbErrorType
Definition:
VmbCommonTypes.h:106
AVT::VmbAPI::AncillaryData::Close
IMEXPORT VmbError_t Close()
Definition:
AncillaryData.cpp:116
VmbUchar_t
unsigned char VmbUchar_t
Definition:
VmbCommonTypes.h:101
VmbFrame_t
Definition:
VimbaC.h:268
VimbaCPPCommon.h
AVT
Definition:
AncillaryData.h:35
FeatureContainer.h
VmbUint32_t
unsigned int VmbUint32_t
Definition:
VmbCommonTypes.h:73
AVT::VmbAPI::AncillaryData
Definition:
AncillaryData.h:38
AVT::VmbAPI::FeatureContainer
Definition:
FeatureContainer.h:40
AVT::VmbAPI::AncillaryData::operator=
AncillaryData & operator=(const AncillaryData &)
Definition:
AncillaryData.cpp:51
VmbCommonTypes.h
avt_vimba_camera
Author(s): Allied Vision Technologies, Miquel Massot
autogenerated on Fri Jun 2 2023 02:21:10