nxLibVersionInfo.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "nxLib.h"
4 
5 struct VersionInfo{
6  int majorV;
7  int minorV;
8  int buildV;
9 };
10 
12  VersionInfo info;
13  NxLibItem item;
14  NxLibItem const& nxLibV = item[itmVersion][itmNxLib];
15 
16  info.majorV = nxLibV[itmMajor].asInt();
17  info.minorV = nxLibV[itmMinor].asInt();
18  info.buildV = nxLibV[itmBuild].asInt();
19 
20  return info;
21 }
VersionInfo getCurrentNxLibVersion()


ensenso_camera
Author(s): Ensenso
autogenerated on Thu May 6 2021 02:50:06