Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
~
Functions
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
~
Variables
a
c
d
e
f
g
i
l
m
n
u
v
Typedefs
a
c
d
e
g
i
m
n
o
p
s
u
v
Enumerations
_
e
g
h
i
p
Enumerator
_
a
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
v
w
x
y
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
~
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
~
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
w
x
y
Typedefs
a
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
t
v
Enumerations
Enumerator
a
c
d
e
f
i
n
o
r
s
t
w
x
Related Functions
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
y
Functions
c
d
e
g
i
l
m
o
p
r
t
Variables
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
p
s
t
u
Enumerations
a
b
c
d
e
f
g
i
p
s
t
u
Enumerator
a
b
c
d
e
f
g
i
l
m
p
r
s
t
u
y
Macros
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Autovector.h
Go to the documentation of this file.
1
//-----------------------------------------------------------------------------
2
// (c) 2012 by Teledyne DALSA
3
// Section: Digital Imaging
4
// Project: GenAPI
5
// Author: Eric Bourbonnais
6
//
7
// License: This file is published under the license of the EMVA GenICam Standard Group.
8
// A text file describing the legal terms is included in your installation as 'GenICam_license.pdf'.
9
// If for some reason you are missing this file please contact the EMVA or visit the website
10
// (http://www.genicam.org) for a full copy.
11
//
12
// THIS SOFTWARE IS PROVIDED BY THE EMVA GENICAM STANDARD GROUP "AS IS"
13
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
14
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
15
// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE EMVA GENICAM STANDARD GROUP
16
// OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
17
// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
18
// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
19
// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
20
// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
21
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
22
// POSSIBILITY OF SUCH DAMAGE.
23
//-----------------------------------------------------------------------------
24
//
31
33
#ifndef GENAPI_AUTOVECTOR_H
34
#define GENAPI_AUTOVECTOR_H
35
36
#include <vector>
37
#include <
Base/GCTypes.h
>
38
#include <
GenApi/GenApiDll.h
>
39
40
#if defined (_WIN32)
41
typedef
long
ATOMIC_VARIABLE;
42
#elif (defined(__GNUC__) && (defined (__linux__)) || defined (__APPLE__)) || defined(VXWORKS)
43
typedef
uint32_t ATOMIC_VARIABLE;
44
#else
45
# error Unsupported platform
46
#endif
47
48
namespace
GENAPI_NAMESPACE
49
{
54
class
GENAPI_DECL
int64_autovector_t
55
{
56
public
:
57
explicit
int64_autovector_t
();
58
int64_autovector_t
(
const
int64_autovector_t
& obj );
59
explicit
int64_autovector_t
(
size_t
n );
60
virtual
~
int64_autovector_t
(
void
);
61
62
int64_autovector_t
&
operator=
(
const
int64_autovector_t
& obj );
63
64
int64_t
& operator[](
size_t
uiIndex );
65
const
int64_t
& operator[](
size_t
uiIndex )
const
;
66
size_t
size(
void
)
const
;
67
protected
:
68
std::vector<int64_t>*
_pv
;
69
ATOMIC_VARIABLE*
_pCount
;
70
};
71
76
class
GENAPI_DECL
double_autovector_t
77
{
78
public
:
79
explicit
double_autovector_t
();
80
double_autovector_t
(
const
double_autovector_t
& obj );
81
explicit
double_autovector_t
(
size_t
n );
82
virtual
~
double_autovector_t
(
void
);
83
84
double_autovector_t
&
operator=
(
const
double_autovector_t
& obj );
85
86
double
& operator[](
size_t
uiIndex );
87
const
double
& operator[](
size_t
uiIndex )
const
;
88
size_t
size(
void
)
const
;
89
protected
:
90
std::vector<double>*
_pv
;
91
ATOMIC_VARIABLE*
_pCount
;
92
};
93
}
94
95
#endif // GENAPI_AUTOVECTOR_H
GENAPI_NAMESPACE
Lexical analyzer for CIntSwissKnife.
Definition:
Destructible.h:30
GENAPI_NAMESPACE::double_autovector_t::_pCount
ATOMIC_VARIABLE * _pCount
Definition:
Autovector.h:91
GENAPI_NAMESPACE::double_autovector_t
Vector of doubles with reference counting.
Definition:
Autovector.h:76
GENAPI_NAMESPACE::int64_autovector_t::_pCount
ATOMIC_VARIABLE * _pCount
Definition:
Autovector.h:69
GENAPI_DECL
#define GENAPI_DECL
Definition:
GenApiDll.h:55
GENAPI_NAMESPACE::double_autovector_t::_pv
std::vector< double > * _pv
Definition:
Autovector.h:90
GCTypes.h
Platform-dependent type definitions.
int64_t
__int64 int64_t
Definition:
config-win32.h:21
GENAPI_NAMESPACE::int64_autovector_t
Vector of integers with reference counting.
Definition:
Autovector.h:54
GENAPI_NAMESPACE::operator=
virtual IBoolean & operator=(bool Value)
Set node value.
Definition:
IBoolean.h:64
GenApiDll.h
declspec's to be used for GenApi Windows dll
GENAPI_NAMESPACE::int64_autovector_t::_pv
std::vector< int64_t > * _pv
Definition:
Autovector.h:68
rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Wed Dec 4 2024 03:10:11