Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
c
d
g
i
l
m
n
o
p
r
s
t
+
Functions
a
c
d
g
i
l
m
n
o
s
t
Variables
Typedefs
+
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
c
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
~
+
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Typedefs
+
Files
File List
+
File Members
+
All
c
d
e
f
g
i
l
m
n
p
r
s
t
u
w
+
Functions
d
e
f
g
i
m
p
r
s
t
w
Variables
Typedefs
Enumerations
Enumerator
+
Macros
c
d
e
f
g
l
m
n
p
r
s
t
u
src
nxlib_initialize_finalize.cpp
Go to the documentation of this file.
1
#include "
ensenso_camera/nxlib_initialize_finalize.h
"
2
3
#include <iostream>
4
5
#include "nxLib.h"
6
7
NxLibInitializeFinalize
&
NxLibInitializeFinalize::instance
()
8
{
9
static
NxLibInitializeFinalize
nxLibInitializeFinalize;
10
return
nxLibInitializeFinalize;
11
}
12
13
NxLibInitializeFinalize::NxLibInitializeFinalize
()
14
{
15
nxLibInitialize(
/*waitForInitialCameraRefresh=*/
true
);
16
initialized
=
true
;
17
}
18
19
NxLibInitializeFinalize::~NxLibInitializeFinalize
()
20
{
21
if
(
initialized
)
22
{
23
try
24
{
25
nxLibFinalize();
26
}
27
catch
(NxLibException& e)
28
{
29
}
30
}
31
}
NxLibInitializeFinalize::initialized
bool initialized
Definition:
nxlib_initialize_finalize.h:20
NxLibInitializeFinalize::~NxLibInitializeFinalize
~NxLibInitializeFinalize()
Definition:
nxlib_initialize_finalize.cpp:19
NxLibInitializeFinalize::instance
static NxLibInitializeFinalize & instance()
Definition:
nxlib_initialize_finalize.cpp:7
NxLibInitializeFinalize::NxLibInitializeFinalize
NxLibInitializeFinalize()
Definition:
nxlib_initialize_finalize.cpp:13
NxLibInitializeFinalize
Definition:
nxlib_initialize_finalize.h:7
nxlib_initialize_finalize.h
ensenso_camera
Author(s): Ensenso
autogenerated on Sat Jun 3 2023 02:17:04