nxlib_initialize_finalize.cpp
Go to the documentation of this file.
2 
3 #include <iostream>
4 
5 #include "nxLib.h"
6 
8 {
9  static NxLibInitializeFinalize nxLibInitializeFinalize;
10  return nxLibInitializeFinalize;
11 }
12 
14 {
15  nxLibInitialize(/*waitForInitialCameraRefresh=*/true);
16  initialized = true;
17 }
18 
20 {
21  if (initialized)
22  {
23  try
24  {
25  nxLibFinalize();
26  }
27  catch (NxLibException& e)
28  {
29  }
30  }
31 }
static NxLibInitializeFinalize & instance()


ensenso_camera
Author(s): Ensenso
autogenerated on Sat Jun 3 2023 02:17:04