Compare commits

...

10 Commits

491 changed files with 3182 additions and 10963 deletions

408
.gitignore vendored
View File

@ -1,7 +1,403 @@
################################################################################
# 此 .gitignore 文件已由 Microsoft(R) Visual Studio 自动创建。
################################################################################
#tc add
/out
/.vs
/out/build/Linux-GCC-Debug
/out/build/x64-Debug
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore
# User-specific files
*.rsuser
*.suo
*.user
*.userosscache
*.sln.docstates
# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
# Mono auto generated files
mono_crash.*
# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
[Ww][Ii][Nn]32/
[Aa][Rr][Mm]/
[Aa][Rr][Mm]64/
bld/
[Bb]in/
[Oo]bj/
[Ll]og/
[Ll]ogs/
# Visual Studio 2015/2017 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/
# Visual Studio 2017 auto generated files
Generated\ Files/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
# NUnit
*.VisualState.xml
TestResult.xml
nunit-*.xml
# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c
# Benchmark Results
BenchmarkDotNet.Artifacts/
# .NET Core
project.lock.json
project.fragment.lock.json
artifacts/
# ASP.NET Scaffolding
ScaffoldingReadMe.txt
# StyleCop
StyleCopReport.xml
# Files built by Visual Studio
*_i.c
*_p.c
*_h.h
*.ilk
*.meta
*.obj
*.iobj
*.pch
*.pdb
*.ipdb
*.pgc
*.pgd
*.rsp
# but not Directory.Build.rsp, as it configures directory-level build defaults
!Directory.Build.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*_wpftmp.csproj
*.log
*.tlog
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc
# Chutzpah Test files
_Chutzpah*
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opendb
*.opensdf
*.sdf
*.cachefile
*.VC.db
*.VC.VC.opendb
# Visual Studio profiler
*.psess
*.vsp
*.vspx
*.sap
# Visual Studio Trace Files
*.e2e
# TFS 2012 Local Workspace
$tf/
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user
# TeamCity is a build add-in
_TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
# AxoCover is a Code Coverage Tool
.axoCover/*
!.axoCover/settings.json
# Coverlet is a free, cross platform Code Coverage Tool
coverage*.json
coverage*.xml
coverage*.info
# Visual Studio code coverage results
*.coverage
*.coveragexml
# NCrunch
_NCrunch_*
.*crunch*.local.xml
nCrunchTemp_*
# MightyMoose
*.mm.*
AutoTest.Net/
# Web workbench (sass)
.sass-cache/
# Installshield output folder
[Ee]xpress/
# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
# Click-Once directory
publish/
# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# Note: Comment the next line if you want to checkin your web deploy settings,
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj
# Microsoft Azure Web App publish settings. Comment the next line if you want to
# checkin your Azure Web App publish settings, but sensitive information contained
# in these scripts will be unencrypted
PublishScripts/
# NuGet Packages
*.nupkg
# NuGet Symbol Packages
*.snupkg
# The packages folder can be ignored because of Package Restore
**/[Pp]ackages/*
# except build/, which is used as an MSBuild target.
!**/[Pp]ackages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/[Pp]ackages/repositories.config
# NuGet v3's project.json files produces more ignorable files
*.nuget.props
*.nuget.targets
# Microsoft Azure Build Output
csx/
*.build.csdef
# Microsoft Azure Emulator
ecf/
rcf/
# Windows Store app package directories and files
AppPackages/
BundleArtifacts/
Package.StoreAssociation.xml
_pkginfo.txt
*.appx
*.appxbundle
*.appxupload
# Visual Studio cache files
# files ending in .cache can be ignored
*.[Cc]ache
# but keep track of directories ending in .cache
!?*.[Cc]ache/
# Others
ClientBin/
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.jfm
*.pfx
*.publishsettings
orleans.codegen.cs
# Including strong name files can present a security risk
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
#*.snk
# Since there are multiple workflows, uncomment next line to ignore bower_components
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
#bower_components/
# RIA/Silverlight projects
Generated_Code/
# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
ServiceFabricBackup/
*.rptproj.bak
# SQL Server files
*.mdf
*.ldf
*.ndf
# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings
*.rptproj.rsuser
*- [Bb]ackup.rdl
*- [Bb]ackup ([0-9]).rdl
*- [Bb]ackup ([0-9][0-9]).rdl
# Microsoft Fakes
FakesAssemblies/
# GhostDoc plugin setting file
*.GhostDoc.xml
# Node.js Tools for Visual Studio
.ntvs_analysis.dat
node_modules/
# Visual Studio 6 build log
*.plg
# Visual Studio 6 workspace options file
*.opt
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
*.vbw
# Visual Studio 6 auto-generated project file (contains which files were open etc.)
*.vbp
# Visual Studio 6 workspace and project file (working project files containing files to include in project)
*.dsw
*.dsp
# Visual Studio 6 technical files
*.ncb
*.aps
# Visual Studio LightSwitch build output
**/*.HTMLClient/GeneratedArtifacts
**/*.DesktopClient/GeneratedArtifacts
**/*.DesktopClient/ModelManifest.xml
**/*.Server/GeneratedArtifacts
**/*.Server/ModelManifest.xml
_Pvt_Extensions
# Paket dependency manager
.paket/paket.exe
paket-files/
# FAKE - F# Make
.fake/
# CodeRush personal settings
.cr/personal
# Python Tools for Visual Studio (PTVS)
__pycache__/
*.pyc
# Cake - Uncomment if you are using it
# tools/**
# !tools/packages.config
# Tabs Studio
*.tss
# Telerik's JustMock configuration file
*.jmconfig
# BizTalk build output
*.btp.cs
*.btm.cs
*.odx.cs
*.xsd.cs
# OpenCover UI analysis results
OpenCover/
# Azure Stream Analytics local run output
ASALocalRun/
# MSBuild Binary and Structured Log
*.binlog
# NVidia Nsight GPU debugger configuration file
*.nvuser
# MFractors (Xamarin productivity tool) working folder
.mfractor/
# Local History for Visual Studio
.localhistory/
# Visual Studio History (VSHistory) files
.vshistory/
# BeatPulse healthcheck temp database
healthchecksdb
# Backup folder for Package Reference Convert tool in Visual Studio 2017
MigrationBackup/
# Ionide (cross platform F# VS Code tools) working folder
.ionide/
# Fody - auto-generated XML schema
FodyWeavers.xsd
# VS Code files for those working on multiple tools
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
*.code-workspace
# Local History for Visual Studio Code
.history/
# Windows Installer files from build outputs
*.cab
*.msi
*.msix
*.msm
*.msp
# JetBrains Rider
*.sln.iml

Binary file not shown.

0
.vs/CMake Overview Normal file
View File

BIN
.vs/IRIS_FODIS/v17/.suo Normal file

Binary file not shown.

3
.vs/ProjectSettings.json Normal file
View File

@ -0,0 +1,3 @@
{
"CurrentProjectSetting": "Linux-GCC-Debug"
}

BIN
.vs/cmake.db Normal file

Binary file not shown.

View File

@ -1,10 +1,14 @@
# CMakeList.txt: CMake
#
#
cmake_minimum_required (VERSION 3.8)
cmake_minimum_required (VERSION 3.5)
project ("IRIS_FODIS")
#IF (WIN32)
#set(CMAKE_PREFIX_PATH "D:/Qt/Qt5.14.2/5.14.2/msvc2017_64/" ${CMAKE_PREFIX_PATH})
#ENDIF ()
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTORCC ON)
@ -23,6 +27,8 @@ include_directories("Source/ZZ_SDK")
include_directories("Source/Settings")
include_directories("Source/GPS")
include_directories("Source/Logger")
include_directories("Source/Capture")
include_directories("Source/Calibration")
link_directories("source/OSIF/DLib")
link_directories("/home/pi/SeaBrease/lib")

54
CMakeSettings.json Normal file
View File

@ -0,0 +1,54 @@
{
"configurations": [
{
"name": "Linux-GCC-Debug",
"generator": "Unix Makefiles",
"configurationType": "Debug",
"cmakeExecutable": "/SDCard/cmake-3.30.2/bin/cmake",
"remoteCopySourcesExclusionList": [ ".vs", ".git", "out" ],
"buildCommandArgs": "",
"ctestCommandArgs": "",
"inheritEnvironments": [ "linux_arm" ],
"intelliSenseMode": "linux-gcc-arm",
"remoteMachineName": "-1784524891;172.16.0.71 (username=root, port=22, authentication=Password)",
"remoteCMakeListsRoot": "/home/pi/FODIS/src/",
"remoteBuildRoot": "/home/pi/FODIS/build_d/${name}",
"remoteInstallRoot": "/home/pi/FODIS/out/install/${name}",
"remoteCopySources": true,
"rsyncCommandArgs": "-t --delete --delete-excluded",
"remoteCopyBuildOutput": false,
"remoteCopySourcesMethod": "rsync"
},
{
"name": "x64-Debug",
"generator": "Visual Studio 17 2022 Win64",
"configurationType": "Debug",
"buildRoot": "${projectDir}\\out\\build\\${name}",
"installRoot": "${projectDir}\\out\\install\\${name}",
"cmakeCommandArgs": "",
"buildCommandArgs": "",
"ctestCommandArgs": "",
"inheritEnvironments": [ "msvc_x64" ],
"intelliSenseMode": "windows-msvc-x64"
},
{
"name": "Linux-GCC-Debug-Nanopi-Air",
"generator": "Unix Makefiles",
"configurationType": "Debug",
"cmakeExecutable": "/opt/cmake/bin/cmake",
"remoteCopySourcesExclusionList": [ ".vs", ".git", "out" ],
"buildCommandArgs": "",
"ctestCommandArgs": "",
"inheritEnvironments": [ "linux_arm" ],
"intelliSenseMode": "linux-gcc-arm",
"remoteMachineName": "-237651717;172.16.0.236 (username=root, port=22, authentication=Password)",
"remoteCMakeListsRoot": "/home/pi/FODIS/src/",
"remoteBuildRoot": "/home/pi/FODIS/build_d/${name}",
"remoteInstallRoot": "/home/pi/FODIS/out/install/${name}",
"remoteCopySources": true,
"rsyncCommandArgs": "-t --delete --delete-excluded",
"remoteCopyBuildOutput": true,
"remoteCopySourcesMethod": "sftp"
}
]
}

View File

@ -1,34 +0,0 @@
{
"configurations": [
{
"name": "Linux-GCC-Debug",
"generator": "Unix Makefiles",
"configurationType": "Debug",
"cmakeExecutable": "/opt/cmake/bin/cmake",
"remoteCopySourcesExclusionList": [ ".vs", ".git", "out" ],
"buildCommandArgs": "",
"ctestCommandArgs": "",
"inheritEnvironments": [ "linux_arm" ],
"intelliSenseMode": "linux-gcc-arm",
"remoteMachineName": "243120617;172.16.0.232 (username=root, port=22, authentication=Password)",
"remoteCMakeListsRoot": "/home/pi/FODIS/src/",
"remoteBuildRoot": "/home/pi/FODIS/build_d/${name}",
"remoteInstallRoot": "/home/pi/FODIS/out/install/${name}",
"remoteCopySources": true,
"rsyncCommandArgs": "-t --delete --delete-excluded",
"remoteCopyBuildOutput": true,
"remoteCopySourcesMethod": "sftp"
},
{
"name": "x64-Debug",
"generator": "Ninja",
"configurationType": "Debug",
"buildRoot": "${projectDir}\\out\\build\\${name}",
"installRoot": "${projectDir}\\out\\install\\${name}",
"cmakeCommandArgs": "",
"buildCommandArgs": "",
"ctestCommandArgs": "",
"inheritEnvironments": [ "msvc_x64_x64" ]
}
]
}

View File

@ -1,8 +0,0 @@
[FS]
Model=FLAME
Port=-1
UID=
Depth=65535
AEMax=0.85
AEMin=0.60
MinSI=1

View File

@ -1,260 +0,0 @@
#include "DataFileProcessor.h"
DataFileProcessor::DataFileProcessor(QObject* parent /*= nullptr*/)
{
#ifdef _DEBUG
m_qstrFilePath = "E:/WorkSpace/TowerOptoSifAndSpectral/Data";
#else
m_qstrFilePath = "/home/data/Data";
#endif // DEBUG
}
DataFileProcessor::~DataFileProcessor()
{
}
void DataFileProcessor::SetEnvironmentContex(EContext struEC)
{
m_struEC = struEC;
}
void DataFileProcessor::SetManmadeEnviromentalContext(MEContext struMEC)
{
m_struMEC = struMEC;
}
void DataFileProcessor::SetDeviceInfo(FSContext struDeviceContext)
{
m_struDeviceContext = struDeviceContext;
}
void DataFileProcessor::SetData(std::vector<std::vector<DataFrame>> vecData)
{
m_vecData.clear();
m_vecData = vecData;
}
bool DataFileProcessor::WriteDataFile()
{
GenerateFilePath();
WriteEnvironmentInfo();
WriteDeviceInfo();
WriteData();
return 1;
}
void DataFileProcessor::GenerateFilePath()
{
m_qdtTime = QDateTime::currentDateTime();
QString qstrAddYMD = m_qdtTime.toString("/yyyy_MM_dd");
QString qstrAddHMS = m_qdtTime.toString("_hh_mm_ss");
m_struEC.qstrUTCDateTime = m_qdtTime.toUTC().toString("yyyy_MM_dd hh:mm:ss");
m_qstrFullFileName = m_qstrFilePath + qstrAddYMD;
QString qstrTemp= m_qstrFullFileName;
if (m_struEC.qstrLocation=="")
{
m_struEC.qstrLocation = "Unknown";
}
m_qstrFullFileName= m_qstrFullFileName+"/"+m_struEC.qstrLocation + qstrAddHMS+".csv";
QDir qdirPath(qstrTemp);
if (!qdirPath.exists())
{
bool bRes = qdirPath.mkdir(qstrTemp);
if (!bRes)
{
qDebug() << "DataFileProcessor mkdir Failed.";
}
}
}
bool DataFileProcessor::WriteEnvironmentInfo()
{
bool bRes = true;
QFile qfData(m_qstrFullFileName);
bRes = qfData.open(QFile::WriteOnly|QFile::Text|QFile::Truncate);
if (!bRes)
{
qDebug() << "WriteEnvironmentInfo open Failed.";
return bRes;
}
qDebug() << m_qstrFullFileName;
//EC
qfData.write("EnvironmentalContext,");
qfData.write("DEV_SN,");
qfData.write(m_struEC.qstrDEV_SN.toLatin1());
qfData.write(",");
qfData.write("CaseHumidity,");
qfData.write(m_struEC.qstrCaseHumidity.toLatin1());
qfData.write(",");
qfData.write("CaseTemperature,");
qfData.write(m_struEC.qstrCaseTemperature.toLatin1());
qfData.write(",");
qfData.write("GPS_Altitude,");
qfData.write(m_struEC.qstrGPS_Altitude.toLatin1());
qfData.write(",");
qfData.write("GPS_Latitude,");
qfData.write(m_struEC.qstrGPS_Latitude.toLatin1());
qfData.write(",");
qfData.write("GPS_Longtitude,");
qfData.write(m_struEC.qstrGPS_Longtitude.toLatin1());
qfData.write(",");
qfData.write("GPS_North,");
qfData.write(m_struEC.qstrGPS_North.toLatin1());
qfData.write(",");
qfData.write("Location,");
qfData.write(m_struEC.qstrLocation.toLatin1());
qfData.write(",");
qfData.write("UTCDateTime,");
qfData.write(m_struEC.qstrUTCDateTime.toLatin1());
qfData.write(",");
//qfData.write("\n");
//MEC
//qfData.write("ManmadeEnvironmentalContext\n");
qfData.write("DownlaodAddress,");
qfData.write(m_struMEC.qstrDownlaodAddress.toLatin1());
qfData.write(",");
qfData.write("DownloadUserID,");
qfData.write(m_struMEC.qstrDownloadUserID.toLatin1());
qfData.write(",");
qfData.write("HTTPServer,");
qfData.write(m_struMEC.qstrHTTPServer.toLatin1());
qfData.write(",");
qfData.write("InstallationTime,");
qfData.write(m_struMEC.qstrInstallationTime.toLatin1());
qfData.write(",");
qfData.write("NameOfMaintenanceStaff,");
qfData.write(m_struMEC.qstrNameOfMaintenanceStaff.toLatin1());
qfData.write(",");
qfData.write("PhoneNumberOfMaintenanceStaff,");
qfData.write(m_struMEC.qstrPhoneNumberOfMaintenanceStaff.toLatin1());
//qfData.write(",");
qfData.close();
return bRes;
}
void DataFileProcessor::WriteDeviceInfo()
{
QFile qfData(m_qstrFullFileName);
bool bRes = qfData.open(QFile::WriteOnly | QFile::Text | QIODevice::Append);
if (!bRes)
{
qDebug() << "WriteDeviceInfo open Failed.";
return;
}
QString qstrTemp;
qfData.write("\n");
qfData.write("TotalSpectrometer,");
qstrTemp = QString::number(m_struDeviceContext.ucDeviceNumber);
qfData.write(qstrTemp.toLatin1());
qfData.write(",");
qfData.write("TotalScanPoints,");
qstrTemp = QString::number(m_vecData[0].size());
qfData.write(qstrTemp.toLatin1());
qfData.write("\n");
for (int i=0;i< m_struDeviceContext.ucDeviceNumber;i++)
{
qstrTemp = QString("FS%1_Info").arg(i + 1);
qfData.write(qstrTemp.toLatin1());
qfData.write(",");
qfData.write("Model,");
using namespace ZZ_MISCDEF::IRIS;
qstrTemp = QString::fromStdString(GetDeviceModelName(m_struDeviceContext.ucDeviceModel[i]));
qfData.write(qstrTemp.toLatin1());
qfData.write(",");
qfData.write("SN,");
qstrTemp = QString::fromStdString(m_struDeviceContext.strSN[i]);
qfData.write(qstrTemp.toLatin1());
qfData.write(",");
qfData.write("Pixels,");
qstrTemp = QString::number(m_struDeviceContext.usPixels[i]);
qfData.write(qstrTemp.toLatin1());
qfData.write(",");
qfData.write("Depth,");
qstrTemp = QString::number(m_struDeviceContext.lDepth[i]);
qfData.write(qstrTemp.toLatin1());
qfData.write(",");
qfData.write("TEC Temperature,");
qstrTemp = QString::number(m_vecData[i][0].fTemperature);
qfData.write(qstrTemp.toLatin1());
qfData.write("\n");
qfData.write("Wavelength,");
for (unsigned short j = 0; j < m_struDeviceContext.usPixels[i]-1; j++)
{
qstrTemp = QString::number(m_struDeviceContext.fWavelength[i][j]);
qfData.write(qstrTemp.toLatin1());
qfData.write(",");
}
qstrTemp = QString::number(m_struDeviceContext.fWavelength[i][m_struDeviceContext.usPixels[i] - 1]);
qfData.write(qstrTemp.toLatin1());
qfData.write("\n");
}
qfData.close();
}
bool DataFileProcessor::WriteData()
{
QFile qfData(m_qstrFullFileName);
bool bRes = qfData.open(QFile::WriteOnly | QFile::Text | QIODevice::Append);
if (!bRes)
{
qDebug() << "WriteData open Failed.";
return 0;
}
QString qstrTemp;
qfData.write("Data Section");
qfData.write("\n");
using namespace ZZ_MISCDEF::IRIS;
for (int i=0;i<m_struDeviceContext.ucDeviceNumber;i++)
{
for (int j=0;j<m_vecData[i].size();j++)
{
qstrTemp = QString::fromStdString(GetDeviceModelName(m_struDeviceContext.ucDeviceModel[i]));
qfData.write(qstrTemp.toLatin1());
qstrTemp = QString("_P%1").arg(j + 1);
qfData.write(qstrTemp.toLatin1());
qfData.write(",");
if ((m_vecData[i][j].fTemperature < 5)/* && (m_vecData[i][j].fTemperature> -5)*/)
{
qfData.write("valid");
}
else
{
qfData.write("invalid");
}
qfData.write(",");
qstrTemp = QString::number(m_vecData[i][j].usExposureTimeInMS);
qfData.write(qstrTemp.toLatin1());
for (int k=0;k< m_struDeviceContext.usPixels[i];k++)
{
qfData.write(",");
qstrTemp = QString::number(m_vecData[i][j].lData[k]);
qfData.write(qstrTemp.toLatin1());
}
qfData.write("\n");
}
}
bool res = true;
return res;
}

View File

@ -1,39 +0,0 @@
#pragma once
#include "pch.h"
#include "ZZ_Types.h"
using namespace ZZ_MISCDEF::ZZ_DATAFILE;
using namespace ZZ_MISCDEF::ZZ_RUNPARAMS;
using namespace ZZ_MISCDEF::IRIS::FS;
class DataFileProcessor :public QObject
{
Q_OBJECT
public:
DataFileProcessor(QObject* parent = nullptr);
virtual ~DataFileProcessor();
public:
public:
void SetEnvironmentContex(EContext struEC);
void SetManmadeEnviromentalContext(MEContext struMEC);
void SetDeviceInfo(FSContext struDeviceContext);
void SetData(std::vector<std::vector<DataFrame>> vecData);
bool WriteDataFile();
private:
void GenerateFilePath();
bool WriteEnvironmentInfo();
void WriteDeviceInfo();
bool WriteData();
public:
private:
QString m_qstrFullFileName;
QString m_qstrFileName;
QString m_qstrFilePath;
QDateTime m_qdtTime;
EContext m_struEC;
MEContext m_struMEC;
FSContext m_struDeviceContext;
std::vector<std::vector<DataFrame>> m_vecData;
};

View File

@ -1,45 +0,0 @@
#include "pch.h"
#include "Logger.h"
#include "Source/Settings/SysConfigger.h"
#include "BD357Ctrl.h"
#include "ZZ_Types.h"
using namespace std;
int main(int argc, char* argv[])
{
using namespace ZZ_MISCDEF::ZZ_RUNPARAMS;
using namespace ZZ_MISCDEF::MISC_DETECTOR;
QCoreApplication a(argc, argv);
/////
bool bRes = false;
OneFSContext m_struFSParam;
GPSInfo m_struGPSInfo;
ZZ_SysConfigger m_syscfSettings;
BD357Controller m_ctrlGPS;
///configger
m_syscfSettings.Initialize();
bRes = m_syscfSettings.LoadSettings_FS(m_struFSParam);
if (!bRes)
{
qDebug() << "LoadSettings_FS Err." << endl;
return 1;
}
bRes = m_syscfSettings.LoadSettings_GPS(m_struGPSInfo);
if (!bRes)
{
qDebug() << "LoadSettings_GPS Err." << endl;
return 1;
}
//m_ctrlGPS.Signal_InitSelf();
//m_ctrlGPS.Signal_InitSelf();
m_ctrlGPS.Initialize(m_struGPSInfo);
m_ctrlGPS.SyncDateOnce();
cout << "Hello CMake." << endl;
return a.exec();
}

View File

@ -1,58 +0,0 @@
{
"backtrace" : 0,
"backtraceGraph" :
{
"commands" : [],
"files" :
[
"CMakeLists.txt"
],
"nodes" :
[
{
"file" : 0
}
]
},
"id" : "IRIS_FODIS_autogen::@6890427a1f51a3e7e1df",
"isGeneratorProvided" : true,
"name" : "IRIS_FODIS_autogen",
"paths" :
{
"build" : ".",
"source" : "."
},
"sourceGroups" :
[
{
"name" : "",
"sourceIndexes" :
[
0
]
},
{
"name" : "CMake Rules",
"sourceIndexes" :
[
1
]
}
],
"sources" :
[
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "/home/pi/FODIS/build_d/Linux-GCC-Debug/CMakeFiles/IRIS_FODIS_autogen",
"sourceGroupIndex" : 0
},
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "/home/pi/FODIS/build_d/Linux-GCC-Debug/CMakeFiles/IRIS_FODIS_autogen.rule",
"sourceGroupIndex" : 1
}
],
"type" : "UTILITY"
}

View File

@ -1 +0,0 @@
{"requests":[{"kind":"cache","version":2},{"kind":"cmakeFiles","version":1},{"kind":"codemodel","version":2},{"kind":"toolchains","version":1}]}

View File

@ -1,185 +0,0 @@
{
"inputs" :
[
{
"path" : "CMakeLists.txt"
},
{
"isGenerated" : true,
"path" : "out/build/x64-Debug/CMakeFiles/3.21.21080301-MSVC_2/CMakeSystem.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.21/Modules/CMakeSystemSpecificInitialize.cmake"
},
{
"isGenerated" : true,
"path" : "out/build/x64-Debug/CMakeFiles/3.21.21080301-MSVC_2/CMakeCCompiler.cmake"
},
{
"isGenerated" : true,
"path" : "out/build/x64-Debug/CMakeFiles/3.21.21080301-MSVC_2/CMakeCXXCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.21/Modules/CMakeSystemSpecificInformation.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.21/Modules/CMakeGenericSystem.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.21/Modules/CMakeInitializeConfigs.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.21/Modules/Platform/Windows.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.21/Modules/Platform/WindowsPaths.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.21/Modules/CMakeCInformation.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.21/Modules/CMakeLanguageInformation.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.21/Modules/Compiler/MSVC-C.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.21/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.21/Modules/Platform/Windows-MSVC-C.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.21/Modules/Platform/Windows-MSVC.cmake"
},
{
"isGenerated" : true,
"path" : "out/build/x64-Debug/CMakeFiles/3.21.21080301-MSVC_2/CMakeRCCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.21/Modules/CMakeRCInformation.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.21/Modules/CMakeCommonLanguageInclude.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.21/Modules/CMakeCXXInformation.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.21/Modules/CMakeLanguageInformation.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.21/Modules/Compiler/MSVC-CXX.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.21/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.21/Modules/Platform/Windows-MSVC-CXX.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.21/Modules/Platform/Windows-MSVC.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.21/Modules/CMakeCommonLanguageInclude.cmake"
},
{
"isExternal" : true,
"path" : "C:/Qt/Qt5.9.0/5.9/msvc2017_64/lib/cmake/Qt5/Qt5ConfigVersion.cmake"
},
{
"isExternal" : true,
"path" : "C:/Qt/Qt5.9.0/5.9/msvc2017_64/lib/cmake/Qt5/Qt5Config.cmake"
},
{
"isExternal" : true,
"path" : "C:/Qt/Qt5.9.0/5.9/msvc2017_64/lib/cmake/Qt5/Qt5ModuleLocation.cmake"
},
{
"isExternal" : true,
"path" : "C:/Qt/Qt5.9.0/5.9/msvc2017_64/lib/cmake/Qt5Core/Qt5CoreConfigVersion.cmake"
},
{
"isExternal" : true,
"path" : "C:/Qt/Qt5.9.0/5.9/msvc2017_64/lib/cmake/Qt5Core/Qt5CoreConfig.cmake"
},
{
"isExternal" : true,
"path" : "C:/Qt/Qt5.9.0/5.9/msvc2017_64/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake"
},
{
"isExternal" : true,
"path" : "C:/Qt/Qt5.9.0/5.9/msvc2017_64/lib/cmake/Qt5Core/Qt5CoreConfigExtrasMkspecDir.cmake"
},
{
"isExternal" : true,
"path" : "C:/Qt/Qt5.9.0/5.9/msvc2017_64/lib/cmake/Qt5Core/Qt5CoreMacros.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.21/Modules/CMakeParseArguments.cmake"
},
{
"isExternal" : true,
"path" : "C:/Qt/Qt5.9.0/5.9/msvc2017_64/lib/cmake/Qt5SerialPort/Qt5SerialPortConfigVersion.cmake"
},
{
"isExternal" : true,
"path" : "C:/Qt/Qt5.9.0/5.9/msvc2017_64/lib/cmake/Qt5SerialPort/Qt5SerialPortConfig.cmake"
}
],
"kind" : "cmakeFiles",
"paths" :
{
"build" : "E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/out/build/x64-Debug",
"source" : "E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS"
},
"version" :
{
"major" : 1,
"minor" : 0
}
}

View File

@ -1,69 +0,0 @@
{
"configurations" :
[
{
"directories" :
[
{
"build" : ".",
"jsonFile" : "directory-.-Debug-d0094a50bb2071803777.json",
"minimumCMakeVersion" :
{
"string" : "3.8"
},
"projectIndex" : 0,
"source" : ".",
"targetIndexes" :
[
0,
1
]
}
],
"name" : "Debug",
"projects" :
[
{
"directoryIndexes" :
[
0
],
"name" : "IRIS_FODIS",
"targetIndexes" :
[
0,
1
]
}
],
"targets" :
[
{
"directoryIndex" : 0,
"id" : "IRIS_FODIS::@6890427a1f51a3e7e1df",
"jsonFile" : "target-IRIS_FODIS-Debug-53bd5c6c614ce5cc4ef7.json",
"name" : "IRIS_FODIS",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "IRIS_FODIS_autogen::@6890427a1f51a3e7e1df",
"jsonFile" : "target-IRIS_FODIS_autogen-Debug-92303e7ef9b498c165a8.json",
"name" : "IRIS_FODIS_autogen",
"projectIndex" : 0
}
]
}
],
"kind" : "codemodel",
"paths" :
{
"build" : "E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/out/build/x64-Debug",
"source" : "E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS"
},
"version" :
{
"major" : 2,
"minor" : 3
}
}

View File

@ -1,14 +0,0 @@
{
"backtraceGraph" :
{
"commands" : [],
"files" : [],
"nodes" : []
},
"installers" : [],
"paths" :
{
"build" : ".",
"source" : "."
}
}

View File

@ -1,132 +0,0 @@
{
"cmake" :
{
"generator" :
{
"multiConfig" : false,
"name" : "Ninja"
},
"paths" :
{
"cmake" : "C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe",
"cpack" : "C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cpack.exe",
"ctest" : "C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/ctest.exe",
"root" : "C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.21"
},
"version" :
{
"isDirty" : false,
"major" : 3,
"minor" : 21,
"patch" : 21080301,
"string" : "3.21.21080301-MSVC_2",
"suffix" : ""
}
},
"objects" :
[
{
"jsonFile" : "codemodel-v2-7b5d91b070a739393d7e.json",
"kind" : "codemodel",
"version" :
{
"major" : 2,
"minor" : 3
}
},
{
"jsonFile" : "cache-v2-b019baf930a1f1eab09a.json",
"kind" : "cache",
"version" :
{
"major" : 2,
"minor" : 0
}
},
{
"jsonFile" : "cmakeFiles-v1-85638c0bbee5e0830b0c.json",
"kind" : "cmakeFiles",
"version" :
{
"major" : 1,
"minor" : 0
}
},
{
"jsonFile" : "toolchains-v1-ab49a8cc244824406b61.json",
"kind" : "toolchains",
"version" :
{
"major" : 1,
"minor" : 0
}
}
],
"reply" :
{
"client-MicrosoftVS" :
{
"query.json" :
{
"requests" :
[
{
"kind" : "cache",
"version" : 2
},
{
"kind" : "cmakeFiles",
"version" : 1
},
{
"kind" : "codemodel",
"version" : 2
},
{
"kind" : "toolchains",
"version" : 1
}
],
"responses" :
[
{
"jsonFile" : "cache-v2-b019baf930a1f1eab09a.json",
"kind" : "cache",
"version" :
{
"major" : 2,
"minor" : 0
}
},
{
"jsonFile" : "cmakeFiles-v1-85638c0bbee5e0830b0c.json",
"kind" : "cmakeFiles",
"version" :
{
"major" : 1,
"minor" : 0
}
},
{
"jsonFile" : "codemodel-v2-7b5d91b070a739393d7e.json",
"kind" : "codemodel",
"version" :
{
"major" : 2,
"minor" : 3
}
},
{
"jsonFile" : "toolchains-v1-ab49a8cc244824406b61.json",
"kind" : "toolchains",
"version" :
{
"major" : 1,
"minor" : 0
}
}
]
}
}
}
}

View File

@ -1,75 +0,0 @@
{
"kind" : "toolchains",
"toolchains" :
[
{
"compiler" :
{
"id" : "MSVC",
"implicit" :
{
"includeDirectories" : [],
"linkDirectories" : [],
"linkFrameworkDirectories" : [],
"linkLibraries" : []
},
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.30.30705/bin/Hostx64/x64/cl.exe",
"version" : "19.30.30705.0"
},
"language" : "C",
"sourceFileExtensions" :
[
"c",
"m"
]
},
{
"compiler" :
{
"id" : "MSVC",
"implicit" :
{
"includeDirectories" : [],
"linkDirectories" : [],
"linkFrameworkDirectories" : [],
"linkLibraries" : []
},
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.30.30705/bin/Hostx64/x64/cl.exe",
"version" : "19.30.30705.0"
},
"language" : "CXX",
"sourceFileExtensions" :
[
"C",
"M",
"c++",
"cc",
"cpp",
"cxx",
"mm",
"mpp",
"CPP",
"ixx",
"cppm"
]
},
{
"compiler" :
{
"implicit" : {},
"path" : "D:/Windows Kits/10/bin/10.0.19041.0/x64/rc.exe"
},
"language" : "RC",
"sourceFileExtensions" :
[
"rc",
"RC"
]
}
],
"version" :
{
"major" : 1,
"minor" : 0
}
}

View File

@ -1,16 +0,0 @@
# ninja log v5
0 31 0 CMakeFiles/clean.additional 97ebf0815b79b321
42 54 0 clean 3f9b83505c84670f
1 474 0 CMakeFiles/IRIS_FODIS_autogen ec1e1b7c64947569
1 474 0 IRIS_FODIS_autogen/mocs_compilation.cpp ec1e1b7c64947569
1 474 0 E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/out/build/x64-Debug/CMakeFiles/IRIS_FODIS_autogen ec1e1b7c64947569
1 474 0 E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/out/build/x64-Debug/IRIS_FODIS_autogen/mocs_compilation.cpp ec1e1b7c64947569
474 2467 6698169118412625 CMakeFiles/IRIS_FODIS.dir/IRIS_FODIS_autogen/mocs_compilation.cpp.obj 518de0ae23f685b5
487 2471 6698169118432572 CMakeFiles/IRIS_FODIS.dir/main.cpp.obj f07178b4469b51be
498 2473 6698169118462535 CMakeFiles/IRIS_FODIS.dir/Source/FS/OControl_USB.cpp.obj ea5cbbc81c6cdedb
491 2476 6698169118472466 CMakeFiles/IRIS_FODIS.dir/Source/FS/ATPControl_Serial_QT.cpp.obj a65d2d5434e1efbf
495 2481 6698169118582175 CMakeFiles/IRIS_FODIS.dir/Source/FS/DataFileProcessor.cpp.obj 50742e6bd79e3cc6
3 60 0 CMakeFiles/IRIS_FODIS_autogen ec1e1b7c64947569
3 60 0 IRIS_FODIS_autogen/mocs_compilation.cpp ec1e1b7c64947569
3 60 0 E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/out/build/x64-Debug/CMakeFiles/IRIS_FODIS_autogen ec1e1b7c64947569
3 60 0 E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/out/build/x64-Debug/IRIS_FODIS_autogen/mocs_compilation.cpp ec1e1b7c64947569

View File

@ -1,350 +0,0 @@
# This is the CMakeCache file.
# For build in directory: e:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/out/build/x64-Debug
# It was generated by CMake: C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.
########################
# EXTERNAL cache entries
########################
//Path to a program.
CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.30.30705/bin/Hostx64/x64/lib.exe
//No help, variable specified on the command line.
CMAKE_BUILD_TYPE:STRING=Debug
//No help, variable specified on the command line.
CMAKE_CXX_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.30.30705/bin/Hostx64/x64/cl.exe
//Flags used by the CXX compiler during all build types.
CMAKE_CXX_FLAGS:STRING=/DWIN32 /D_WINDOWS /W3 /GR /EHsc
//Flags used by the CXX compiler during DEBUG builds.
CMAKE_CXX_FLAGS_DEBUG:STRING=/MDd /Zi /Ob0 /Od /RTC1
//Flags used by the CXX compiler during MINSIZEREL builds.
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=/MD /O1 /Ob1 /DNDEBUG
//Flags used by the CXX compiler during RELEASE builds.
CMAKE_CXX_FLAGS_RELEASE:STRING=/MD /O2 /Ob2 /DNDEBUG
//Flags used by the CXX compiler during RELWITHDEBINFO builds.
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=/MD /Zi /O2 /Ob1 /DNDEBUG
//Libraries linked by default with all C++ applications.
CMAKE_CXX_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib
//No help, variable specified on the command line.
CMAKE_C_COMPILER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.30.30705/bin/Hostx64/x64/cl.exe
//Flags used by the C compiler during all build types.
CMAKE_C_FLAGS:STRING=/DWIN32 /D_WINDOWS /W3
//Flags used by the C compiler during DEBUG builds.
CMAKE_C_FLAGS_DEBUG:STRING=/MDd /Zi /Ob0 /Od /RTC1
//Flags used by the C compiler during MINSIZEREL builds.
CMAKE_C_FLAGS_MINSIZEREL:STRING=/MD /O1 /Ob1 /DNDEBUG
//Flags used by the C compiler during RELEASE builds.
CMAKE_C_FLAGS_RELEASE:STRING=/MD /O2 /Ob2 /DNDEBUG
//Flags used by the C compiler during RELWITHDEBINFO builds.
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=/MD /Zi /O2 /Ob1 /DNDEBUG
//Libraries linked by default with all C applications.
CMAKE_C_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib
//Flags used by the linker during all build types.
CMAKE_EXE_LINKER_FLAGS:STRING=/machine:x64
//Flags used by the linker during DEBUG builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=/debug /INCREMENTAL
//Flags used by the linker during MINSIZEREL builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO
//Flags used by the linker during RELEASE builds.
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=/INCREMENTAL:NO
//Flags used by the linker during RELWITHDEBINFO builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL
//Enable/Disable output of compile commands during generation.
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=
//No help, variable specified on the command line.
CMAKE_INSTALL_PREFIX:PATH=E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/out/install/x64-Debug
//Path to a program.
CMAKE_LINKER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.30.30705/bin/Hostx64/x64/link.exe
//make program
CMAKE_MAKE_PROGRAM:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe
//Flags used by the linker during the creation of modules during
// all build types.
CMAKE_MODULE_LINKER_FLAGS:STRING=/machine:x64
//Flags used by the linker during the creation of modules during
// DEBUG builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=/debug /INCREMENTAL
//Flags used by the linker during the creation of modules during
// MINSIZEREL builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO
//Flags used by the linker during the creation of modules during
// RELEASE builds.
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=/INCREMENTAL:NO
//Flags used by the linker during the creation of modules during
// RELWITHDEBINFO builds.
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL
//Path to a program.
CMAKE_MT:FILEPATH=D:/Windows Kits/10/bin/10.0.19041.0/x64/mt.exe
//Value Computed by CMake
CMAKE_PROJECT_DESCRIPTION:STATIC=
//Value Computed by CMake
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=
//Value Computed by CMake
CMAKE_PROJECT_NAME:STATIC=IRIS_FODIS
//RC compiler
CMAKE_RC_COMPILER:FILEPATH=D:/Windows Kits/10/bin/10.0.19041.0/x64/rc.exe
//Flags for Windows Resource Compiler during all build types.
CMAKE_RC_FLAGS:STRING=-DWIN32
//Flags for Windows Resource Compiler during DEBUG builds.
CMAKE_RC_FLAGS_DEBUG:STRING=-D_DEBUG
//Flags for Windows Resource Compiler during MINSIZEREL builds.
CMAKE_RC_FLAGS_MINSIZEREL:STRING=
//Flags for Windows Resource Compiler during RELEASE builds.
CMAKE_RC_FLAGS_RELEASE:STRING=
//Flags for Windows Resource Compiler during RELWITHDEBINFO builds.
CMAKE_RC_FLAGS_RELWITHDEBINFO:STRING=
//Flags used by the linker during the creation of shared libraries
// during all build types.
CMAKE_SHARED_LINKER_FLAGS:STRING=/machine:x64
//Flags used by the linker during the creation of shared libraries
// during DEBUG builds.
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=/debug /INCREMENTAL
//Flags used by the linker during the creation of shared libraries
// during MINSIZEREL builds.
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO
//Flags used by the linker during the creation of shared libraries
// during RELEASE builds.
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=/INCREMENTAL:NO
//Flags used by the linker during the creation of shared libraries
// during RELWITHDEBINFO builds.
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL
//If set, runtime paths are not added when installing shared libraries,
// but are added when building.
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
//If set, runtime paths are not added when using shared libraries.
CMAKE_SKIP_RPATH:BOOL=NO
//Flags used by the linker during the creation of static libraries
// during all build types.
CMAKE_STATIC_LINKER_FLAGS:STRING=/machine:x64
//Flags used by the linker during the creation of static libraries
// during DEBUG builds.
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during the creation of static libraries
// during MINSIZEREL builds.
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during the creation of static libraries
// during RELEASE builds.
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during the creation of static libraries
// during RELWITHDEBINFO builds.
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//If this value is on, makefiles will be generated without the
// .SILENT directive, and all commands will be echoed to the console
// during the make. This is useful for debugging only. With Visual
// Studio IDE projects all commands are done without /nologo.
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
//Value Computed by CMake
IRIS_FODIS_BINARY_DIR:STATIC=E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/out/build/x64-Debug
//Value Computed by CMake
IRIS_FODIS_IS_TOP_LEVEL:STATIC=ON
//Value Computed by CMake
IRIS_FODIS_SOURCE_DIR:STATIC=E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS
//The directory containing a CMake configuration file for Qt5Core.
Qt5Core_DIR:PATH=C:/Qt/Qt5.9.0/5.9/msvc2017_64/lib/cmake/Qt5Core
//The directory containing a CMake configuration file for Qt5SerialPort.
Qt5SerialPort_DIR:PATH=C:/Qt/Qt5.9.0/5.9/msvc2017_64/lib/cmake/Qt5SerialPort
//The directory containing a CMake configuration file for Qt5.
Qt5_DIR:PATH=C:/Qt/Qt5.9.0/5.9/msvc2017_64/lib/cmake/Qt5
########################
# INTERNAL cache entries
########################
//ADVANCED property for variable: CMAKE_AR
CMAKE_AR-ADVANCED:INTERNAL=1
//This is the directory where this CMakeCache.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=e:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/out/build/x64-Debug
//Major version of cmake used to create the current loaded cache
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
//Minor version of cmake used to create the current loaded cache
CMAKE_CACHE_MINOR_VERSION:INTERNAL=21
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=21080301
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cpack.exe
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/ctest.exe
//ADVANCED property for variable: CMAKE_CXX_COMPILER
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_STANDARD_LIBRARIES
CMAKE_CXX_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_COMPILER
CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES
CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
//Executable file format
CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
//Name of external makefile project generator.
CMAKE_EXTRA_GENERATOR:INTERNAL=
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Ninja
//Generator instance identifier.
CMAKE_GENERATOR_INSTANCE:INTERNAL=
//Name of generator platform.
CMAKE_GENERATOR_PLATFORM:INTERNAL=
//Name of generator toolset.
CMAKE_GENERATOR_TOOLSET:INTERNAL=
//Source directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS
//ADVANCED property for variable: CMAKE_LINKER
CMAKE_LINKER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MT
CMAKE_MT-ADVANCED:INTERNAL=1
//number of local generators
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
//Platform information initialized
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
//noop for ranlib
CMAKE_RANLIB:INTERNAL=:
//ADVANCED property for variable: CMAKE_RC_COMPILER
CMAKE_RC_COMPILER-ADVANCED:INTERNAL=1
CMAKE_RC_COMPILER_WORKS:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS
CMAKE_RC_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS_DEBUG
CMAKE_RC_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS_MINSIZEREL
CMAKE_RC_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS_RELEASE
CMAKE_RC_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS_RELWITHDEBINFO
CMAKE_RC_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.21
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_RPATH
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1

View File

@ -1,80 +0,0 @@
set(CMAKE_C_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.30.30705/bin/Hostx64/x64/cl.exe")
set(CMAKE_C_COMPILER_ARG1 "")
set(CMAKE_C_COMPILER_ID "MSVC")
set(CMAKE_C_COMPILER_VERSION "19.30.30705.0")
set(CMAKE_C_COMPILER_VERSION_INTERNAL "")
set(CMAKE_C_COMPILER_WRAPPER "")
set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "90")
set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_std_99;c_std_11;c_function_prototypes;c_variadic_macros;c_restrict;c_static_assert")
set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes")
set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_variadic_macros;c_restrict")
set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert")
set(CMAKE_C17_COMPILE_FEATURES "")
set(CMAKE_C23_COMPILE_FEATURES "")
set(CMAKE_C_PLATFORM_ID "Windows")
set(CMAKE_C_SIMULATE_ID "")
set(CMAKE_C_COMPILER_FRONTEND_VARIANT "")
set(CMAKE_C_SIMULATE_VERSION "")
set(CMAKE_C_COMPILER_ARCHITECTURE_ID x64)
set(MSVC_C_ARCHITECTURE_ID x64)
set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.30.30705/bin/Hostx64/x64/lib.exe")
set(CMAKE_C_COMPILER_AR "")
set(CMAKE_RANLIB ":")
set(CMAKE_C_COMPILER_RANLIB "")
set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.30.30705/bin/Hostx64/x64/link.exe")
set(CMAKE_MT "D:/Windows Kits/10/bin/10.0.19041.0/x64/mt.exe")
set(CMAKE_COMPILER_IS_GNUCC )
set(CMAKE_C_COMPILER_LOADED 1)
set(CMAKE_C_COMPILER_WORKS TRUE)
set(CMAKE_C_ABI_COMPILED TRUE)
set(CMAKE_COMPILER_IS_MINGW )
set(CMAKE_COMPILER_IS_CYGWIN )
if(CMAKE_COMPILER_IS_CYGWIN)
set(CYGWIN 1)
set(UNIX 1)
endif()
set(CMAKE_C_COMPILER_ENV_VAR "CC")
if(CMAKE_COMPILER_IS_MINGW)
set(MINGW 1)
endif()
set(CMAKE_C_COMPILER_ID_RUN 1)
set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m)
set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
set(CMAKE_C_LINKER_PREFERENCE 10)
# Save compiler ABI information.
set(CMAKE_C_SIZEOF_DATA_PTR "8")
set(CMAKE_C_COMPILER_ABI "")
set(CMAKE_C_BYTE_ORDER "LITTLE_ENDIAN")
set(CMAKE_C_LIBRARY_ARCHITECTURE "")
if(CMAKE_C_SIZEOF_DATA_PTR)
set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
endif()
if(CMAKE_C_COMPILER_ABI)
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
endif()
if(CMAKE_C_LIBRARY_ARCHITECTURE)
set(CMAKE_LIBRARY_ARCHITECTURE "")
endif()
set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "注意: 包含文件: ")
if(CMAKE_C_CL_SHOWINCLUDES_PREFIX)
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}")
endif()
set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "")
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "")
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "")
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")

View File

@ -1,91 +0,0 @@
set(CMAKE_CXX_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.30.30705/bin/Hostx64/x64/cl.exe")
set(CMAKE_CXX_COMPILER_ARG1 "")
set(CMAKE_CXX_COMPILER_ID "MSVC")
set(CMAKE_CXX_COMPILER_VERSION "19.30.30705.0")
set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "")
set(CMAKE_CXX_COMPILER_WRAPPER "")
set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14")
set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17;cxx_std_20;cxx_std_23")
set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters")
set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates")
set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates")
set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17")
set(CMAKE_CXX20_COMPILE_FEATURES "cxx_std_20")
set(CMAKE_CXX23_COMPILE_FEATURES "cxx_std_23")
set(CMAKE_CXX_PLATFORM_ID "Windows")
set(CMAKE_CXX_SIMULATE_ID "")
set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "")
set(CMAKE_CXX_SIMULATE_VERSION "")
set(CMAKE_CXX_COMPILER_ARCHITECTURE_ID x64)
set(MSVC_CXX_ARCHITECTURE_ID x64)
set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.30.30705/bin/Hostx64/x64/lib.exe")
set(CMAKE_CXX_COMPILER_AR "")
set(CMAKE_RANLIB ":")
set(CMAKE_CXX_COMPILER_RANLIB "")
set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.30.30705/bin/Hostx64/x64/link.exe")
set(CMAKE_MT "D:/Windows Kits/10/bin/10.0.19041.0/x64/mt.exe")
set(CMAKE_COMPILER_IS_GNUCXX )
set(CMAKE_CXX_COMPILER_LOADED 1)
set(CMAKE_CXX_COMPILER_WORKS TRUE)
set(CMAKE_CXX_ABI_COMPILED TRUE)
set(CMAKE_COMPILER_IS_MINGW )
set(CMAKE_COMPILER_IS_CYGWIN )
if(CMAKE_COMPILER_IS_CYGWIN)
set(CYGWIN 1)
set(UNIX 1)
endif()
set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
if(CMAKE_COMPILER_IS_MINGW)
set(MINGW 1)
endif()
set(CMAKE_CXX_COMPILER_ID_RUN 1)
set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm)
set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
foreach (lang C OBJC OBJCXX)
if (CMAKE_${lang}_COMPILER_ID_RUN)
foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS)
list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension})
endforeach()
endif()
endforeach()
set(CMAKE_CXX_LINKER_PREFERENCE 30)
set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
# Save compiler ABI information.
set(CMAKE_CXX_SIZEOF_DATA_PTR "8")
set(CMAKE_CXX_COMPILER_ABI "")
set(CMAKE_CXX_BYTE_ORDER "LITTLE_ENDIAN")
set(CMAKE_CXX_LIBRARY_ARCHITECTURE "")
if(CMAKE_CXX_SIZEOF_DATA_PTR)
set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
endif()
if(CMAKE_CXX_COMPILER_ABI)
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
endif()
if(CMAKE_CXX_LIBRARY_ARCHITECTURE)
set(CMAKE_LIBRARY_ARCHITECTURE "")
endif()
set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "注意: 包含文件: ")
if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX)
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}")
endif()
set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "")
set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "")
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "")
set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")

View File

@ -1,6 +0,0 @@
set(CMAKE_RC_COMPILER "D:/Windows Kits/10/bin/10.0.19041.0/x64/rc.exe")
set(CMAKE_RC_COMPILER_ARG1 "")
set(CMAKE_RC_COMPILER_LOADED 1)
set(CMAKE_RC_SOURCE_FILE_EXTENSIONS rc;RC)
set(CMAKE_RC_OUTPUT_EXTENSION .res)
set(CMAKE_RC_COMPILER_ENV_VAR "RC")

View File

@ -1,15 +0,0 @@
set(CMAKE_HOST_SYSTEM "Windows-10.0.19044")
set(CMAKE_HOST_SYSTEM_NAME "Windows")
set(CMAKE_HOST_SYSTEM_VERSION "10.0.19044")
set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64")
set(CMAKE_SYSTEM "Windows-10.0.19044")
set(CMAKE_SYSTEM_NAME "Windows")
set(CMAKE_SYSTEM_VERSION "10.0.19044")
set(CMAKE_SYSTEM_PROCESSOR "AMD64")
set(CMAKE_CROSSCOMPILING "FALSE")
set(CMAKE_SYSTEM_LOADED 1)

View File

@ -1,807 +0,0 @@
#ifdef __cplusplus
# error "A C++ compiler has been selected for C."
#endif
#if defined(__18CXX)
# define ID_VOID_MAIN
#endif
#if defined(__CLASSIC_C__)
/* cv-qualifiers did not exist in K&R C */
# define const
# define volatile
#endif
#if !defined(__has_include)
/* If the compiler does not have __has_include, pretend the answer is
always no. */
# define __has_include(x) 0
#endif
/* Version number components: V=Version, R=Revision, P=Patch
Version date components: YYYY=Year, MM=Month, DD=Day */
#if defined(__INTEL_COMPILER) || defined(__ICC)
# define COMPILER_ID "Intel"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# if defined(__GNUC__)
# define SIMULATE_ID "GNU"
# endif
/* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later,
except that a few beta releases use the old format with V=2021. */
# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
# if defined(__INTEL_COMPILER_UPDATE)
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
# else
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
# endif
# else
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER)
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE)
/* The third version component from --version is an update index,
but no macro is provided for it. */
# define COMPILER_VERSION_PATCH DEC(0)
# endif
# if defined(__INTEL_COMPILER_BUILD_DATE)
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
# endif
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
# if defined(__GNUC__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
# elif defined(__GNUG__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
# endif
# if defined(__GNUC_MINOR__)
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
# endif
# if defined(__GNUC_PATCHLEVEL__)
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
# endif
#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER)
# define COMPILER_ID "IntelLLVM"
#if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
#endif
#if defined(__GNUC__)
# define SIMULATE_ID "GNU"
#endif
/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and
* later. Look for 6 digit vs. 8 digit version number to decide encoding.
* VVVV is no smaller than the current year when a version is released.
*/
#if __INTEL_LLVM_COMPILER < 1000000L
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100)
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10)
#else
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000)
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100)
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100)
#endif
#if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
#endif
#if defined(__GNUC__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
#elif defined(__GNUG__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
#endif
#if defined(__GNUC_MINOR__)
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
#endif
#if defined(__GNUC_PATCHLEVEL__)
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
#endif
#elif defined(__PATHCC__)
# define COMPILER_ID "PathScale"
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
# if defined(__PATHCC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
# endif
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
# define COMPILER_ID "Embarcadero"
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
#elif defined(__BORLANDC__)
# define COMPILER_ID "Borland"
/* __BORLANDC__ = 0xVRR */
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
# define COMPILER_ID "Watcom"
/* __WATCOMC__ = VVRR */
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
# if (__WATCOMC__ % 10) > 0
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
# endif
#elif defined(__WATCOMC__)
# define COMPILER_ID "OpenWatcom"
/* __WATCOMC__ = VVRP + 1100 */
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
# if (__WATCOMC__ % 10) > 0
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
# endif
#elif defined(__SUNPRO_C)
# define COMPILER_ID "SunPro"
# if __SUNPRO_C >= 0x5100
/* __SUNPRO_C = 0xVRRP */
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12)
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF)
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
# else
/* __SUNPRO_CC = 0xVRP */
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8)
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF)
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
# endif
#elif defined(__HP_cc)
# define COMPILER_ID "HP"
/* __HP_cc = VVRRPP */
# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000)
# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100)
# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100)
#elif defined(__DECC)
# define COMPILER_ID "Compaq"
/* __DECC_VER = VVRRTPPPP */
# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000)
# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100)
# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000)
#elif defined(__IBMC__) && defined(__COMPILER_VER__)
# define COMPILER_ID "zOS"
/* __IBMC__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
#elif defined(__ibmxl__) && defined(__clang__)
# define COMPILER_ID "XLClang"
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800
# define COMPILER_ID "XL"
/* __IBMC__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800
# define COMPILER_ID "VisualAge"
/* __IBMC__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
#elif defined(__NVCOMPILER)
# define COMPILER_ID "NVHPC"
# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__)
# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__)
# if defined(__NVCOMPILER_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__)
# endif
#elif defined(__PGI)
# define COMPILER_ID "PGI"
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
# if defined(__PGIC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
# endif
#elif defined(_CRAYC)
# define COMPILER_ID "Cray"
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
#elif defined(__TI_COMPILER_VERSION__)
# define COMPILER_ID "TI"
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
#elif defined(__CLANG_FUJITSU)
# define COMPILER_ID "FujitsuClang"
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
#elif defined(__FUJITSU)
# define COMPILER_ID "Fujitsu"
# if defined(__FCC_version__)
# define COMPILER_VERSION __FCC_version__
# elif defined(__FCC_major__)
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
# endif
# if defined(__fcc_version)
# define COMPILER_VERSION_INTERNAL DEC(__fcc_version)
# elif defined(__FCC_VERSION)
# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION)
# endif
#elif defined(__ghs__)
# define COMPILER_ID "GHS"
/* __GHS_VERSION_NUMBER = VVVVRP */
# ifdef __GHS_VERSION_NUMBER
# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
# endif
#elif defined(__TINYC__)
# define COMPILER_ID "TinyCC"
#elif defined(__BCC__)
# define COMPILER_ID "Bruce"
#elif defined(__SCO_VERSION__)
# define COMPILER_ID "SCO"
#elif defined(__ARMCC_VERSION) && !defined(__clang__)
# define COMPILER_ID "ARMCC"
#if __ARMCC_VERSION >= 1000000
/* __ARMCC_VERSION = VRRPPPP */
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
#else
/* __ARMCC_VERSION = VRPPPP */
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
#endif
#elif defined(__clang__) && defined(__apple_build_version__)
# define COMPILER_ID "AppleClang"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
# define COMPILER_ID "ARMClang"
# define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
# define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
# define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION % 10000)
# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
#elif defined(__clang__) && __has_include(<hip/hip_version.h>)
# define COMPILER_ID "ROCMClang"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# elif defined(__clang__)
# define SIMULATE_ID "Clang"
# elif defined(__GNUC__)
# define SIMULATE_ID "GNU"
# endif
# if defined(__clang__) && __has_include(<hip/hip_version.h>)
# include <hip/hip_version.h>
# define COMPILER_VERSION_MAJOR DEC(HIP_VERSION_MAJOR)
# define COMPILER_VERSION_MINOR DEC(HIP_VERSION_MINOR)
# define COMPILER_VERSION_PATCH DEC(HIP_VERSION_PATCH)
# endif
#elif defined(__clang__)
# define COMPILER_ID "Clang"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
#elif defined(__GNUC__)
# define COMPILER_ID "GNU"
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
# if defined(__GNUC_MINOR__)
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
# endif
# if defined(__GNUC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
# endif
#elif defined(_MSC_VER)
# define COMPILER_ID "MSVC"
/* _MSC_VER = VVRR */
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
# if defined(_MSC_FULL_VER)
# if _MSC_VER >= 1400
/* _MSC_FULL_VER = VVRRPPPPP */
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
# else
/* _MSC_FULL_VER = VVRRPPPP */
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
# endif
# endif
# if defined(_MSC_BUILD)
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
# endif
#elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
# define COMPILER_ID "ADSP"
#if defined(__VISUALDSPVERSION__)
/* __VISUALDSPVERSION__ = 0xVVRRPP00 */
# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF)
#endif
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
# define COMPILER_ID "IAR"
# if defined(__VER__) && defined(__ICCARM__)
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__))
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
# endif
#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC)
# define COMPILER_ID "SDCC"
# if defined(__SDCC_VERSION_MAJOR)
# define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR)
# define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR)
# define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH)
# else
/* SDCC = VRP */
# define COMPILER_VERSION_MAJOR DEC(SDCC/100)
# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10)
# define COMPILER_VERSION_PATCH DEC(SDCC % 10)
# endif
/* These compilers are either not known or too old to define an
identification macro. Try to identify the platform and guess that
it is the native compiler. */
#elif defined(__hpux) || defined(__hpua)
# define COMPILER_ID "HP"
#else /* unknown compiler */
# define COMPILER_ID ""
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
#ifdef SIMULATE_ID
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
#endif
#ifdef __QNXNTO__
char const* qnxnto = "INFO" ":" "qnxnto[]";
#endif
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
#endif
#define STRINGIFY_HELPER(X) #X
#define STRINGIFY(X) STRINGIFY_HELPER(X)
/* Identify known platforms by name. */
#if defined(__linux) || defined(__linux__) || defined(linux)
# define PLATFORM_ID "Linux"
#elif defined(__MSYS__)
# define PLATFORM_ID "MSYS"
#elif defined(__CYGWIN__)
# define PLATFORM_ID "Cygwin"
#elif defined(__MINGW32__)
# define PLATFORM_ID "MinGW"
#elif defined(__APPLE__)
# define PLATFORM_ID "Darwin"
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
# define PLATFORM_ID "Windows"
#elif defined(__FreeBSD__) || defined(__FreeBSD)
# define PLATFORM_ID "FreeBSD"
#elif defined(__NetBSD__) || defined(__NetBSD)
# define PLATFORM_ID "NetBSD"
#elif defined(__OpenBSD__) || defined(__OPENBSD)
# define PLATFORM_ID "OpenBSD"
#elif defined(__sun) || defined(sun)
# define PLATFORM_ID "SunOS"
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
# define PLATFORM_ID "AIX"
#elif defined(__hpux) || defined(__hpux__)
# define PLATFORM_ID "HP-UX"
#elif defined(__HAIKU__)
# define PLATFORM_ID "Haiku"
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
# define PLATFORM_ID "BeOS"
#elif defined(__QNX__) || defined(__QNXNTO__)
# define PLATFORM_ID "QNX"
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
# define PLATFORM_ID "Tru64"
#elif defined(__riscos) || defined(__riscos__)
# define PLATFORM_ID "RISCos"
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
# define PLATFORM_ID "SINIX"
#elif defined(__UNIX_SV__)
# define PLATFORM_ID "UNIX_SV"
#elif defined(__bsdos__)
# define PLATFORM_ID "BSDOS"
#elif defined(_MPRAS) || defined(MPRAS)
# define PLATFORM_ID "MP-RAS"
#elif defined(__osf) || defined(__osf__)
# define PLATFORM_ID "OSF1"
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
# define PLATFORM_ID "SCO_SV"
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
# define PLATFORM_ID "ULTRIX"
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
# define PLATFORM_ID "Xenix"
#elif defined(__WATCOMC__)
# if defined(__LINUX__)
# define PLATFORM_ID "Linux"
# elif defined(__DOS__)
# define PLATFORM_ID "DOS"
# elif defined(__OS2__)
# define PLATFORM_ID "OS2"
# elif defined(__WINDOWS__)
# define PLATFORM_ID "Windows3x"
# elif defined(__VXWORKS__)
# define PLATFORM_ID "VxWorks"
# else /* unknown platform */
# define PLATFORM_ID
# endif
#elif defined(__INTEGRITY)
# if defined(INT_178B)
# define PLATFORM_ID "Integrity178"
# else /* regular Integrity */
# define PLATFORM_ID "Integrity"
# endif
#else /* unknown platform */
# define PLATFORM_ID
#endif
/* For windows compilers MSVC and Intel we can determine
the architecture of the compiler being used. This is because
the compilers do not have flags that can change the architecture,
but rather depend on which compiler is being used
*/
#if defined(_WIN32) && defined(_MSC_VER)
# if defined(_M_IA64)
# define ARCHITECTURE_ID "IA64"
# elif defined(_M_ARM64EC)
# define ARCHITECTURE_ID "ARM64EC"
# elif defined(_M_X64) || defined(_M_AMD64)
# define ARCHITECTURE_ID "x64"
# elif defined(_M_IX86)
# define ARCHITECTURE_ID "X86"
# elif defined(_M_ARM64)
# define ARCHITECTURE_ID "ARM64"
# elif defined(_M_ARM)
# if _M_ARM == 4
# define ARCHITECTURE_ID "ARMV4I"
# elif _M_ARM == 5
# define ARCHITECTURE_ID "ARMV5I"
# else
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
# endif
# elif defined(_M_MIPS)
# define ARCHITECTURE_ID "MIPS"
# elif defined(_M_SH)
# define ARCHITECTURE_ID "SHx"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__WATCOMC__)
# if defined(_M_I86)
# define ARCHITECTURE_ID "I86"
# elif defined(_M_IX86)
# define ARCHITECTURE_ID "X86"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
# if defined(__ICCARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__ICCRX__)
# define ARCHITECTURE_ID "RX"
# elif defined(__ICCRH850__)
# define ARCHITECTURE_ID "RH850"
# elif defined(__ICCRL78__)
# define ARCHITECTURE_ID "RL78"
# elif defined(__ICCRISCV__)
# define ARCHITECTURE_ID "RISCV"
# elif defined(__ICCAVR__)
# define ARCHITECTURE_ID "AVR"
# elif defined(__ICC430__)
# define ARCHITECTURE_ID "MSP430"
# elif defined(__ICCV850__)
# define ARCHITECTURE_ID "V850"
# elif defined(__ICC8051__)
# define ARCHITECTURE_ID "8051"
# elif defined(__ICCSTM8__)
# define ARCHITECTURE_ID "STM8"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__ghs__)
# if defined(__PPC64__)
# define ARCHITECTURE_ID "PPC64"
# elif defined(__ppc__)
# define ARCHITECTURE_ID "PPC"
# elif defined(__ARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__x86_64__)
# define ARCHITECTURE_ID "x64"
# elif defined(__i386__)
# define ARCHITECTURE_ID "X86"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__TI_COMPILER_VERSION__)
# if defined(__TI_ARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__MSP430__)
# define ARCHITECTURE_ID "MSP430"
# elif defined(__TMS320C28XX__)
# define ARCHITECTURE_ID "TMS320C28x"
# elif defined(__TMS320C6X__) || defined(_TMS320C6X)
# define ARCHITECTURE_ID "TMS320C6x"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#else
# define ARCHITECTURE_ID
#endif
/* Convert integer to decimal digit literals. */
#define DEC(n) \
('0' + (((n) / 10000000)%10)), \
('0' + (((n) / 1000000)%10)), \
('0' + (((n) / 100000)%10)), \
('0' + (((n) / 10000)%10)), \
('0' + (((n) / 1000)%10)), \
('0' + (((n) / 100)%10)), \
('0' + (((n) / 10)%10)), \
('0' + ((n) % 10))
/* Convert integer to hex digit literals. */
#define HEX(n) \
('0' + ((n)>>28 & 0xF)), \
('0' + ((n)>>24 & 0xF)), \
('0' + ((n)>>20 & 0xF)), \
('0' + ((n)>>16 & 0xF)), \
('0' + ((n)>>12 & 0xF)), \
('0' + ((n)>>8 & 0xF)), \
('0' + ((n)>>4 & 0xF)), \
('0' + ((n) & 0xF))
/* Construct a string literal encoding the version number. */
#ifdef COMPILER_VERSION
char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]";
/* Construct a string literal encoding the version number components. */
#elif defined(COMPILER_VERSION_MAJOR)
char const info_version[] = {
'I', 'N', 'F', 'O', ':',
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
COMPILER_VERSION_MAJOR,
# ifdef COMPILER_VERSION_MINOR
'.', COMPILER_VERSION_MINOR,
# ifdef COMPILER_VERSION_PATCH
'.', COMPILER_VERSION_PATCH,
# ifdef COMPILER_VERSION_TWEAK
'.', COMPILER_VERSION_TWEAK,
# endif
# endif
# endif
']','\0'};
#endif
/* Construct a string literal encoding the internal version number. */
#ifdef COMPILER_VERSION_INTERNAL
char const info_version_internal[] = {
'I', 'N', 'F', 'O', ':',
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
'i','n','t','e','r','n','a','l','[',
COMPILER_VERSION_INTERNAL,']','\0'};
#elif defined(COMPILER_VERSION_INTERNAL_STR)
char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]";
#endif
/* Construct a string literal encoding the version number components. */
#ifdef SIMULATE_VERSION_MAJOR
char const info_simulate_version[] = {
'I', 'N', 'F', 'O', ':',
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
SIMULATE_VERSION_MAJOR,
# ifdef SIMULATE_VERSION_MINOR
'.', SIMULATE_VERSION_MINOR,
# ifdef SIMULATE_VERSION_PATCH
'.', SIMULATE_VERSION_PATCH,
# ifdef SIMULATE_VERSION_TWEAK
'.', SIMULATE_VERSION_TWEAK,
# endif
# endif
# endif
']','\0'};
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
#if !defined(__STDC__) && !defined(__clang__)
# if defined(_MSC_VER) || defined(__ibmxl__) || defined(__IBMC__)
# define C_DIALECT "90"
# else
# define C_DIALECT
# endif
#elif __STDC_VERSION__ > 201710L
# define C_DIALECT "23"
#elif __STDC_VERSION__ >= 201710L
# define C_DIALECT "17"
#elif __STDC_VERSION__ >= 201000L
# define C_DIALECT "11"
#elif __STDC_VERSION__ >= 199901L
# define C_DIALECT "99"
#else
# define C_DIALECT "90"
#endif
const char* info_language_dialect_default =
"INFO" ":" "dialect_default[" C_DIALECT "]";
/*--------------------------------------------------------------------------*/
#ifdef ID_VOID_MAIN
void main() {}
#else
# if defined(__CLASSIC_C__)
int main(argc, argv) int argc; char *argv[];
# else
int main(int argc, char* argv[])
# endif
{
int require = 0;
require += info_compiler[argc];
require += info_platform[argc];
require += info_arch[argc];
#ifdef COMPILER_VERSION_MAJOR
require += info_version[argc];
#endif
#ifdef COMPILER_VERSION_INTERNAL
require += info_version_internal[argc];
#endif
#ifdef SIMULATE_ID
require += info_simulate[argc];
#endif
#ifdef SIMULATE_VERSION_MAJOR
require += info_simulate_version[argc];
#endif
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
require += info_cray[argc];
#endif
require += info_language_dialect_default[argc];
(void)argv;
return require;
}
#endif

View File

@ -1,795 +0,0 @@
/* This source file must have a .cpp extension so that all C++ compilers
recognize the extension without flags. Borland does not know .cxx for
example. */
#ifndef __cplusplus
# error "A C compiler has been selected for C++."
#endif
#if !defined(__has_include)
/* If the compiler does not have __has_include, pretend the answer is
always no. */
# define __has_include(x) 0
#endif
/* Version number components: V=Version, R=Revision, P=Patch
Version date components: YYYY=Year, MM=Month, DD=Day */
#if defined(__COMO__)
# define COMPILER_ID "Comeau"
/* __COMO_VERSION__ = VRR */
# define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100)
# define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100)
#elif defined(__INTEL_COMPILER) || defined(__ICC)
# define COMPILER_ID "Intel"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# if defined(__GNUC__)
# define SIMULATE_ID "GNU"
# endif
/* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later,
except that a few beta releases use the old format with V=2021. */
# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
# if defined(__INTEL_COMPILER_UPDATE)
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
# else
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
# endif
# else
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER)
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE)
/* The third version component from --version is an update index,
but no macro is provided for it. */
# define COMPILER_VERSION_PATCH DEC(0)
# endif
# if defined(__INTEL_COMPILER_BUILD_DATE)
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
# endif
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
# if defined(__GNUC__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
# elif defined(__GNUG__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
# endif
# if defined(__GNUC_MINOR__)
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
# endif
# if defined(__GNUC_PATCHLEVEL__)
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
# endif
#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER)
# define COMPILER_ID "IntelLLVM"
#if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
#endif
#if defined(__GNUC__)
# define SIMULATE_ID "GNU"
#endif
/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and
* later. Look for 6 digit vs. 8 digit version number to decide encoding.
* VVVV is no smaller than the current year when a version is released.
*/
#if __INTEL_LLVM_COMPILER < 1000000L
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100)
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10)
#else
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000)
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100)
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100)
#endif
#if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
#endif
#if defined(__GNUC__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
#elif defined(__GNUG__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
#endif
#if defined(__GNUC_MINOR__)
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
#endif
#if defined(__GNUC_PATCHLEVEL__)
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
#endif
#elif defined(__PATHCC__)
# define COMPILER_ID "PathScale"
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
# if defined(__PATHCC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
# endif
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
# define COMPILER_ID "Embarcadero"
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
#elif defined(__BORLANDC__)
# define COMPILER_ID "Borland"
/* __BORLANDC__ = 0xVRR */
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
# define COMPILER_ID "Watcom"
/* __WATCOMC__ = VVRR */
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
# if (__WATCOMC__ % 10) > 0
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
# endif
#elif defined(__WATCOMC__)
# define COMPILER_ID "OpenWatcom"
/* __WATCOMC__ = VVRP + 1100 */
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
# if (__WATCOMC__ % 10) > 0
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
# endif
#elif defined(__SUNPRO_CC)
# define COMPILER_ID "SunPro"
# if __SUNPRO_CC >= 0x5100
/* __SUNPRO_CC = 0xVRRP */
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12)
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF)
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
# else
/* __SUNPRO_CC = 0xVRP */
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8)
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF)
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
# endif
#elif defined(__HP_aCC)
# define COMPILER_ID "HP"
/* __HP_aCC = VVRRPP */
# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000)
# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100)
# define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100)
#elif defined(__DECCXX)
# define COMPILER_ID "Compaq"
/* __DECCXX_VER = VVRRTPPPP */
# define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000)
# define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100)
# define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000)
#elif defined(__IBMCPP__) && defined(__COMPILER_VER__)
# define COMPILER_ID "zOS"
/* __IBMCPP__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
#elif defined(__ibmxl__) && defined(__clang__)
# define COMPILER_ID "XLClang"
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800
# define COMPILER_ID "XL"
/* __IBMCPP__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800
# define COMPILER_ID "VisualAge"
/* __IBMCPP__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
#elif defined(__NVCOMPILER)
# define COMPILER_ID "NVHPC"
# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__)
# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__)
# if defined(__NVCOMPILER_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__)
# endif
#elif defined(__PGI)
# define COMPILER_ID "PGI"
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
# if defined(__PGIC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
# endif
#elif defined(_CRAYC)
# define COMPILER_ID "Cray"
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
#elif defined(__TI_COMPILER_VERSION__)
# define COMPILER_ID "TI"
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
#elif defined(__CLANG_FUJITSU)
# define COMPILER_ID "FujitsuClang"
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
#elif defined(__FUJITSU)
# define COMPILER_ID "Fujitsu"
# if defined(__FCC_version__)
# define COMPILER_VERSION __FCC_version__
# elif defined(__FCC_major__)
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
# endif
# if defined(__fcc_version)
# define COMPILER_VERSION_INTERNAL DEC(__fcc_version)
# elif defined(__FCC_VERSION)
# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION)
# endif
#elif defined(__ghs__)
# define COMPILER_ID "GHS"
/* __GHS_VERSION_NUMBER = VVVVRP */
# ifdef __GHS_VERSION_NUMBER
# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
# endif
#elif defined(__SCO_VERSION__)
# define COMPILER_ID "SCO"
#elif defined(__ARMCC_VERSION) && !defined(__clang__)
# define COMPILER_ID "ARMCC"
#if __ARMCC_VERSION >= 1000000
/* __ARMCC_VERSION = VRRPPPP */
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
#else
/* __ARMCC_VERSION = VRPPPP */
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
#endif
#elif defined(__clang__) && defined(__apple_build_version__)
# define COMPILER_ID "AppleClang"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
# define COMPILER_ID "ARMClang"
# define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
# define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
# define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION % 10000)
# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
#elif defined(__clang__) && __has_include(<hip/hip_version.h>)
# define COMPILER_ID "ROCMClang"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# elif defined(__clang__)
# define SIMULATE_ID "Clang"
# elif defined(__GNUC__)
# define SIMULATE_ID "GNU"
# endif
# if defined(__clang__) && __has_include(<hip/hip_version.h>)
# include <hip/hip_version.h>
# define COMPILER_VERSION_MAJOR DEC(HIP_VERSION_MAJOR)
# define COMPILER_VERSION_MINOR DEC(HIP_VERSION_MINOR)
# define COMPILER_VERSION_PATCH DEC(HIP_VERSION_PATCH)
# endif
#elif defined(__clang__)
# define COMPILER_ID "Clang"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
#elif defined(__GNUC__) || defined(__GNUG__)
# define COMPILER_ID "GNU"
# if defined(__GNUC__)
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
# else
# define COMPILER_VERSION_MAJOR DEC(__GNUG__)
# endif
# if defined(__GNUC_MINOR__)
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
# endif
# if defined(__GNUC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
# endif
#elif defined(_MSC_VER)
# define COMPILER_ID "MSVC"
/* _MSC_VER = VVRR */
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
# if defined(_MSC_FULL_VER)
# if _MSC_VER >= 1400
/* _MSC_FULL_VER = VVRRPPPPP */
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
# else
/* _MSC_FULL_VER = VVRRPPPP */
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
# endif
# endif
# if defined(_MSC_BUILD)
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
# endif
#elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
# define COMPILER_ID "ADSP"
#if defined(__VISUALDSPVERSION__)
/* __VISUALDSPVERSION__ = 0xVVRRPP00 */
# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF)
#endif
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
# define COMPILER_ID "IAR"
# if defined(__VER__) && defined(__ICCARM__)
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__))
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
# endif
/* These compilers are either not known or too old to define an
identification macro. Try to identify the platform and guess that
it is the native compiler. */
#elif defined(__hpux) || defined(__hpua)
# define COMPILER_ID "HP"
#else /* unknown compiler */
# define COMPILER_ID ""
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
#ifdef SIMULATE_ID
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
#endif
#ifdef __QNXNTO__
char const* qnxnto = "INFO" ":" "qnxnto[]";
#endif
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
#endif
#define STRINGIFY_HELPER(X) #X
#define STRINGIFY(X) STRINGIFY_HELPER(X)
/* Identify known platforms by name. */
#if defined(__linux) || defined(__linux__) || defined(linux)
# define PLATFORM_ID "Linux"
#elif defined(__MSYS__)
# define PLATFORM_ID "MSYS"
#elif defined(__CYGWIN__)
# define PLATFORM_ID "Cygwin"
#elif defined(__MINGW32__)
# define PLATFORM_ID "MinGW"
#elif defined(__APPLE__)
# define PLATFORM_ID "Darwin"
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
# define PLATFORM_ID "Windows"
#elif defined(__FreeBSD__) || defined(__FreeBSD)
# define PLATFORM_ID "FreeBSD"
#elif defined(__NetBSD__) || defined(__NetBSD)
# define PLATFORM_ID "NetBSD"
#elif defined(__OpenBSD__) || defined(__OPENBSD)
# define PLATFORM_ID "OpenBSD"
#elif defined(__sun) || defined(sun)
# define PLATFORM_ID "SunOS"
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
# define PLATFORM_ID "AIX"
#elif defined(__hpux) || defined(__hpux__)
# define PLATFORM_ID "HP-UX"
#elif defined(__HAIKU__)
# define PLATFORM_ID "Haiku"
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
# define PLATFORM_ID "BeOS"
#elif defined(__QNX__) || defined(__QNXNTO__)
# define PLATFORM_ID "QNX"
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
# define PLATFORM_ID "Tru64"
#elif defined(__riscos) || defined(__riscos__)
# define PLATFORM_ID "RISCos"
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
# define PLATFORM_ID "SINIX"
#elif defined(__UNIX_SV__)
# define PLATFORM_ID "UNIX_SV"
#elif defined(__bsdos__)
# define PLATFORM_ID "BSDOS"
#elif defined(_MPRAS) || defined(MPRAS)
# define PLATFORM_ID "MP-RAS"
#elif defined(__osf) || defined(__osf__)
# define PLATFORM_ID "OSF1"
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
# define PLATFORM_ID "SCO_SV"
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
# define PLATFORM_ID "ULTRIX"
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
# define PLATFORM_ID "Xenix"
#elif defined(__WATCOMC__)
# if defined(__LINUX__)
# define PLATFORM_ID "Linux"
# elif defined(__DOS__)
# define PLATFORM_ID "DOS"
# elif defined(__OS2__)
# define PLATFORM_ID "OS2"
# elif defined(__WINDOWS__)
# define PLATFORM_ID "Windows3x"
# elif defined(__VXWORKS__)
# define PLATFORM_ID "VxWorks"
# else /* unknown platform */
# define PLATFORM_ID
# endif
#elif defined(__INTEGRITY)
# if defined(INT_178B)
# define PLATFORM_ID "Integrity178"
# else /* regular Integrity */
# define PLATFORM_ID "Integrity"
# endif
#else /* unknown platform */
# define PLATFORM_ID
#endif
/* For windows compilers MSVC and Intel we can determine
the architecture of the compiler being used. This is because
the compilers do not have flags that can change the architecture,
but rather depend on which compiler is being used
*/
#if defined(_WIN32) && defined(_MSC_VER)
# if defined(_M_IA64)
# define ARCHITECTURE_ID "IA64"
# elif defined(_M_ARM64EC)
# define ARCHITECTURE_ID "ARM64EC"
# elif defined(_M_X64) || defined(_M_AMD64)
# define ARCHITECTURE_ID "x64"
# elif defined(_M_IX86)
# define ARCHITECTURE_ID "X86"
# elif defined(_M_ARM64)
# define ARCHITECTURE_ID "ARM64"
# elif defined(_M_ARM)
# if _M_ARM == 4
# define ARCHITECTURE_ID "ARMV4I"
# elif _M_ARM == 5
# define ARCHITECTURE_ID "ARMV5I"
# else
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
# endif
# elif defined(_M_MIPS)
# define ARCHITECTURE_ID "MIPS"
# elif defined(_M_SH)
# define ARCHITECTURE_ID "SHx"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__WATCOMC__)
# if defined(_M_I86)
# define ARCHITECTURE_ID "I86"
# elif defined(_M_IX86)
# define ARCHITECTURE_ID "X86"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
# if defined(__ICCARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__ICCRX__)
# define ARCHITECTURE_ID "RX"
# elif defined(__ICCRH850__)
# define ARCHITECTURE_ID "RH850"
# elif defined(__ICCRL78__)
# define ARCHITECTURE_ID "RL78"
# elif defined(__ICCRISCV__)
# define ARCHITECTURE_ID "RISCV"
# elif defined(__ICCAVR__)
# define ARCHITECTURE_ID "AVR"
# elif defined(__ICC430__)
# define ARCHITECTURE_ID "MSP430"
# elif defined(__ICCV850__)
# define ARCHITECTURE_ID "V850"
# elif defined(__ICC8051__)
# define ARCHITECTURE_ID "8051"
# elif defined(__ICCSTM8__)
# define ARCHITECTURE_ID "STM8"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__ghs__)
# if defined(__PPC64__)
# define ARCHITECTURE_ID "PPC64"
# elif defined(__ppc__)
# define ARCHITECTURE_ID "PPC"
# elif defined(__ARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__x86_64__)
# define ARCHITECTURE_ID "x64"
# elif defined(__i386__)
# define ARCHITECTURE_ID "X86"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__TI_COMPILER_VERSION__)
# if defined(__TI_ARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__MSP430__)
# define ARCHITECTURE_ID "MSP430"
# elif defined(__TMS320C28XX__)
# define ARCHITECTURE_ID "TMS320C28x"
# elif defined(__TMS320C6X__) || defined(_TMS320C6X)
# define ARCHITECTURE_ID "TMS320C6x"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#else
# define ARCHITECTURE_ID
#endif
/* Convert integer to decimal digit literals. */
#define DEC(n) \
('0' + (((n) / 10000000)%10)), \
('0' + (((n) / 1000000)%10)), \
('0' + (((n) / 100000)%10)), \
('0' + (((n) / 10000)%10)), \
('0' + (((n) / 1000)%10)), \
('0' + (((n) / 100)%10)), \
('0' + (((n) / 10)%10)), \
('0' + ((n) % 10))
/* Convert integer to hex digit literals. */
#define HEX(n) \
('0' + ((n)>>28 & 0xF)), \
('0' + ((n)>>24 & 0xF)), \
('0' + ((n)>>20 & 0xF)), \
('0' + ((n)>>16 & 0xF)), \
('0' + ((n)>>12 & 0xF)), \
('0' + ((n)>>8 & 0xF)), \
('0' + ((n)>>4 & 0xF)), \
('0' + ((n) & 0xF))
/* Construct a string literal encoding the version number. */
#ifdef COMPILER_VERSION
char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]";
/* Construct a string literal encoding the version number components. */
#elif defined(COMPILER_VERSION_MAJOR)
char const info_version[] = {
'I', 'N', 'F', 'O', ':',
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
COMPILER_VERSION_MAJOR,
# ifdef COMPILER_VERSION_MINOR
'.', COMPILER_VERSION_MINOR,
# ifdef COMPILER_VERSION_PATCH
'.', COMPILER_VERSION_PATCH,
# ifdef COMPILER_VERSION_TWEAK
'.', COMPILER_VERSION_TWEAK,
# endif
# endif
# endif
']','\0'};
#endif
/* Construct a string literal encoding the internal version number. */
#ifdef COMPILER_VERSION_INTERNAL
char const info_version_internal[] = {
'I', 'N', 'F', 'O', ':',
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
'i','n','t','e','r','n','a','l','[',
COMPILER_VERSION_INTERNAL,']','\0'};
#elif defined(COMPILER_VERSION_INTERNAL_STR)
char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]";
#endif
/* Construct a string literal encoding the version number components. */
#ifdef SIMULATE_VERSION_MAJOR
char const info_simulate_version[] = {
'I', 'N', 'F', 'O', ':',
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
SIMULATE_VERSION_MAJOR,
# ifdef SIMULATE_VERSION_MINOR
'.', SIMULATE_VERSION_MINOR,
# ifdef SIMULATE_VERSION_PATCH
'.', SIMULATE_VERSION_PATCH,
# ifdef SIMULATE_VERSION_TWEAK
'.', SIMULATE_VERSION_TWEAK,
# endif
# endif
# endif
']','\0'};
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
#if defined(__INTEL_COMPILER) && defined(_MSVC_LANG) && _MSVC_LANG < 201403L
# if defined(__INTEL_CXX11_MODE__)
# if defined(__cpp_aggregate_nsdmi)
# define CXX_STD 201402L
# else
# define CXX_STD 201103L
# endif
# else
# define CXX_STD 199711L
# endif
#elif defined(_MSC_VER) && defined(_MSVC_LANG)
# define CXX_STD _MSVC_LANG
#else
# define CXX_STD __cplusplus
#endif
const char* info_language_dialect_default = "INFO" ":" "dialect_default["
#if CXX_STD > 202002L
"23"
#elif CXX_STD > 201703L
"20"
#elif CXX_STD >= 201703L
"17"
#elif CXX_STD >= 201402L
"14"
#elif CXX_STD >= 201103L
"11"
#else
"98"
#endif
"]";
/*--------------------------------------------------------------------------*/
int main(int argc, char* argv[])
{
int require = 0;
require += info_compiler[argc];
require += info_platform[argc];
#ifdef COMPILER_VERSION_MAJOR
require += info_version[argc];
#endif
#ifdef COMPILER_VERSION_INTERNAL
require += info_version_internal[argc];
#endif
#ifdef SIMULATE_ID
require += info_simulate[argc];
#endif
#ifdef SIMULATE_VERSION_MAJOR
require += info_simulate_version[argc];
#endif
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
require += info_cray[argc];
#endif
require += info_language_dialect_default[argc];
(void)argv;
return require;
}

View File

@ -1,65 +0,0 @@
The system is: Windows - 10.0.19044 - AMD64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.30.30705/bin/Hostx64/x64/cl.exe
Build flags:
Id flags:
The output was:
0
用于 x64 的 Microsoft (R) C/C++ 优化编译器 19.30.30705 版
版权所有(C) Microsoft Corporation。保留所有权利。
CMakeCCompilerId.c
Microsoft (R) Incremental Linker Version 14.30.30705.0
Copyright (C) Microsoft Corporation. All rights reserved.
/out:CMakeCCompilerId.exe
CMakeCCompilerId.obj
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.exe"
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.obj"
The C compiler identification is MSVC, found in "E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/out/build/x64-Debug/CMakeFiles/3.21.21080301-MSVC_2/CompilerIdC/CMakeCCompilerId.exe"
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.30.30705/bin/Hostx64/x64/cl.exe
Build flags:
Id flags:
The output was:
0
用于 x64 的 Microsoft (R) C/C++ 优化编译器 19.30.30705 版
版权所有(C) Microsoft Corporation。保留所有权利。
CMakeCXXCompilerId.cpp
Microsoft (R) Incremental Linker Version 14.30.30705.0
Copyright (C) Microsoft Corporation. All rights reserved.
/out:CMakeCXXCompilerId.exe
CMakeCXXCompilerId.obj
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.exe"
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.obj"
The CXX compiler identification is MSVC, found in "E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/out/build/x64-Debug/CMakeFiles/3.21.21080301-MSVC_2/CompilerIdCXX/CMakeCXXCompilerId.exe"
Detecting C compiler ABI info compiled with the following output:
Change Dir: E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/out/build/x64-Debug/CMakeFiles/CMakeTmp
Run Build Command(s):C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_2b601 && [1/2] Building C object CMakeFiles\cmTC_2b601.dir\CMakeCCompilerABI.c.obj
[2/2] Linking C executable cmTC_2b601.exe
Detecting CXX compiler ABI info compiled with the following output:
Change Dir: E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/out/build/x64-Debug/CMakeFiles/CMakeTmp
Run Build Command(s):C:/Program Files/Microsoft Visual Studio/2022/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_5699f && [1/2] Building CXX object CMakeFiles\cmTC_5699f.dir\CMakeCXXCompilerABI.cpp.obj
[2/2] Linking CXX executable cmTC_5699f.exe

View File

@ -1 +0,0 @@
moc:96de1c186fbf45fe5eb21e2c05549d4788c2f1f364de771acaadd6d5d9a922b5

View File

@ -1,411 +0,0 @@
# Generated by CMake. Changes will be overwritten.
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/impls/OceanBinaryProtocol.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/buses/network/TCPIPv4SocketTransferHelper.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/FS/ATPControl_Serial_QT.h
mmc:Q_OBJECT
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/buses/usb/USB4000USB.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/FS/ZZ_Types.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/GPS/lwgps_opt.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/buses/usb/USBInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPGetHardwareRevisionExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/buses/Bus.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/thermoelectric/ThermoElectricFeatureBase.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/FS/DataFileProcessor.h
mmc:Q_OBJECT
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/ooi/impls/FPGARegisterProtocol.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/data_buffer/DataBufferFeatureInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/features/Feature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/buses/rs232/RS232DeviceLocator.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/spectrometer/USB2000SpectrometerFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/features/FeatureFamily.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/FS/IrisFiberSpectrometerBase.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/FS/OControl_USB.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/GPS/BD357Ctrl.h
mmc:Q_OBJECT
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPLightSourceIntensityQuery.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/GPS/lwgps.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/spectrometer/NIRQuest256SpectrometerFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/UShortVector.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/buses/DeviceLocatorInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/GPS/lwgps_opts.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/api/seabreezeapi/RawUSBBusAccessFeatureAdapter.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/api/seabreezeapi/ThermoElectricCoolerFeatureAdapter.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/devices/USB4000.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/GPS/lwrb.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/Logger/Logger.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/api/DeviceFactory.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/ooi/exchanges/NIRQuestSpectrumExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/api/DllDecl.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/buses/usb/NIRQuest512USB.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/api/SeaBreezeWrapper.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/api/seabreezeapi/AcquisitionDelayFeatureAdapter.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/ooi/exchanges/JazSpectrumExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/buses/usb/USB2000PlusUSB.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/api/seabreezeapi/SeaBreezeAPIConstants.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/eeprom_slots/SaturationEEPROMSlotFeatureBase.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/api/seabreezeapi/ContinuousStrobeFeatureAdapter.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/impls/OBPProgrammableSaturationProtocol.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/api/seabreezeapi/DataBufferFeatureAdapter.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/api/seabreezeapi/DeviceAdapter.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/buses/network/TCPIPv4SocketBus.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/api/seabreezeapi/EEPROMFeatureAdapter.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/impls/OBPAcquisitionDelayProtocol.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/acquisition_delay/AcquisitionDelayFeature_FPGA.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/api/seabreezeapi/SpectrometerFeatureAdapter.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/ooi/exchanges/WriteEEPROMSlotExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/data_buffer/QEProDataBufferFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/exceptions/FeatureException.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/api/seabreezeapi/FeatureAdapterInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/temperature/TemperatureFeatureInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/U32Vector.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/spectrum_processing/SpectrumProcessingFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/api/seabreezeapi/FeatureAdapterTemplate.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/features/FeatureImpl.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/api/seabreezeapi/FeatureFamilies.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/wavecal/WaveCalFeatureInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/FloatVector.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/api/seabreezeapi/IrradCalFeatureAdapter.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/api/seabreezeapi/LightSourceFeatureAdapter.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/ooi/exchanges/OOIWriteIrradCalExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/buses/network/IPv4NetworkProtocol.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/api/seabreezeapi/NonlinearityCoeffsFeatureAdapter.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/buses/BusFamilies.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/api/seabreezeapi/OpticalBenchFeatureAdapter.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/SeaBreeze.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/stray_light/StrayLightCoeffsFeatureInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/acquisition_delay/AcquisitionDelayFeatureInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/api/seabreezeapi/PixelBinningFeatureAdapter.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/api/seabreezeapi/ProtocolFamilies.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPReadSpectrumWithGainExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/spectrometer/HR4000SpectrometerFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/light_source/VentanaLightSourceFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/buses/TransferHelper.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/buses/usb/JazUSB.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/native/system/NativeSystem.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/api/seabreezeapi/RevisionFeatureAdapter.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/api/seabreezeapi/StrayLightCoeffsFeatureAdapter.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/interfaces/StrayLightCoeffsProtocolInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/api/seabreezeapi/SerialNumberFeatureAdapter.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/continuous_strobe/ContinuousStrobeFeatureInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/api/seabreezeapi/SeaBreezeAPI.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPRequestSpectrumExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/buses/usb/VentanaUSB.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/api/seabreezeapi/ShutterFeatureAdapter.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/api/seabreezeapi/StrobeLampFeatureAdapter.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/buses/BusFamily.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/api/seabreezeapi/SpectrumProcessingFeatureAdapter.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/api/seabreezeapi/TemperatureFeatureAdapter.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/eeprom_slots/WavelengthEEPROMSlotFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/devices/Blaze.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/ByteVector.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/Data.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/ooi/impls/OOITECProtocol.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/buses/network/JazTCPIPv4.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/buses/usb/USBDeviceLocator.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/spectrometer/HR2000PlusSpectrometerFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/DoubleVector.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/continuous_strobe/ContinuousStrobeFeature_FPGA.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/Log.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/UnitDescriptor.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/ZZ_SDK/ZZ_Math_HDRONLY.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/interfaces/NonlinearityCoeffsProtocolInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/native/network/Inet4Address.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/buses/DeviceLocationProberInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/native/network/UnknownHostException.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/buses/network/IPv4SocketDeviceLocator.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/buses/rs232/RS232Interface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/protocols/Exchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/buses/rs232/RS232TransferHelper.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/continuous_strobe/ContinuousStrobeFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/buses/usb/USBTransferHelper.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/ooi/impls/OOIIrradCalProtocol.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/devices/Device.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/exceptions/BusConnectException.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/exceptions/BusException.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/exceptions/BusTransferException.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/impls/OBPRevisionProtocol.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/exceptions/FeatureControlException.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/exceptions/FeatureProtocolNotFoundException.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/exceptions/IllegalArgumentException.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/exceptions/NumberFormatException.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/nonlinearity/NonlinearityCoeffsFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/exceptions/ProtocolBusMismatchException.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/exceptions/ProtocolException.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/impls/OBPSerialNumberProtocol.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/buses/usb/OOIUSBInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/exceptions/ProtocolFormatException.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/exceptions/ProtocolTransactionException.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPSetDefaultPixelBinningExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/globals.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/protocols/Protocol.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/protocols/ProtocolFamily.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/protocols/ProtocolHelper.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/buses/usb/ApexUSB.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/protocols/ProtocolHint.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/protocols/Transaction.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/common/protocols/Transfer.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/native/network/Socket.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/native/network/SocketException.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/native/network/SocketTimeoutException.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/native/network/posix/NativeSocketPOSIX.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/native/network/windows/NativeSocketWindows.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/ooi/exchanges/TriggerModeExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/ooi/exchanges/IntegrationTimeExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/ooi/exchanges/FPGASpectrumExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/native/rs232/NativeRS232.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPGetNonlinearityCoeffsCountExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/native/rs232/RS232.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/native/rs232/windows/NativeRS232Windows.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/native/system/System.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/native/usb/NativeUSB.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/spectrometer/ProgrammableSaturationFeatureInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/native/usb/USB.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/native/usb/USBDiscovery.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/buses/usb/OOIUSBEndpointMaps.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/native/usb/winusb/WindowsGUID.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/buses/network/BlazeTCPIPv4.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/buses/usb/Maya2000USB.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/buses/rs232/OOIRS232Interface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPSetThermoElectricEnableExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/buses/usb/BlazeUSB.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/buses/usb/BlazeUSBTransferHelper.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/buses/usb/FlameNIRUSB.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPLightSourceEnabledQuery.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPGetIrradCollectionAreaExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/buses/usb/STSUSB.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/buses/usb/HR2000PlusUSB.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/buses/usb/HR2000USB.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPGetDataBufferElementCountExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/buses/usb/HR4000USB.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/buses/usb/Maya2000ProUSB.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/buses/usb/MayaLSLUSB.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/spectrometer/JazSpectrometerFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/buses/usb/NIRQuest256USB.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/buses/usb/OOIUSB4KSpectrumTransferHelper.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/buses/usb/OOIUSBControlTransferHelper.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/impls/OBPThermoElectricProtocol.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/spectrometer/ProgrammableSaturationFeatureImpl.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/buses/usb/OOIUSBProductID.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/buses/usb/OOIUSBSpectrumTransferHelper.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/buses/usb/OOIUSBTrivialTransferHelper.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/raw_bus_access/RawUSBBusAccessFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/buses/usb/QE65000USB.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/buses/usb/QEProUSB.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/spectrum_processing/SpectrumProcessingFeatureInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/eeprom_slots/NonlinearityEEPROMSlotFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/buses/usb/SparkUSB.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/buses/usb/TorusUSB.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPDataBufferClearExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/buses/usb/USB2000USB.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/main.cpp
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/devices/Apex.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/devices/FlameNIR.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/devices/STS.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/devices/HR2000.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/devices/HR2000Plus.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/devices/HR4000.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/devices/Jaz.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/devices/Maya2000.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/devices/Maya2000Pro.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/devices/MayaLSL.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPContinuousStrobePeriodExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/devices/NIRQuest256.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/devices/NIRQuest512.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/devices/QE65000.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/ooi/impls/OOIProtocol.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPReadRawSpectrum32AndMetadataExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/irradcal/IrradCalFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/devices/QEPro.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/ooi/constants/OpCodes.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/devices/Spark.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/spectrometer/USB4000SpectrometerFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/devices/Torus.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPGetTemperatureCountExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/devices/USB2000.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/spectrometer/QEProSpectrometerFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/devices/USB2000Plus.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/devices/Ventana.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/stray_light/StrayLightCoeffsFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/spectrometer/SparkSpectrometerFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/acquisition_delay/AcquisitionDelayFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/impls/OBPWaveCalProtocol.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/acquisition_delay/STSAcquisitionDelayFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/data_buffer/DataBufferFeatureBase.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/eeprom_slots/EEPROMSlotFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/eeprom_slots/EEPROMSlotFeatureBase.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/eeprom_slots/EEPROMSlotFeatureInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/eeprom_slots/SaturationEEPROMSlotFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/spectrometer/ApexSpectrometerFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/eeprom_slots/SaturationEEPROMSlotFeature_MayaPro.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/eeprom_slots/SaturationEEPROMSlotFeature_NIRQuest.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/eeprom_slots/SerialNumberEEPROMSlotFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPIntegrationTimeExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/eeprom_slots/StrayLightEEPROMSlotFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/serial_number/SerialNumberFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/eeprom_slots/WavelengthEEPROMSlotFeature_QE65000.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/light_source/LightSourceFeatureImpl.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/fpga_register/FPGARegisterFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/ooi/hints/ControlHint.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/fpga_register/FPGARegisterFeatureInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/irradcal/IrradCalFeatureInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/light_source/LightSourceFeatureBase.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/light_source/LightSourceFeatureInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/FS/ATPControl_Serial_QT.cpp
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/light_source/StrobeLampFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/light_source/StrobeLampFeatureInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/nonlinearity/NonlinearityCoeffsFeatureInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/optical_bench/OpticalBenchFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPGetStrayLightCoeffExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/optical_bench/OpticalBenchFeatureInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/pixel_binning/PixelBinningFeatureInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/pixel_binning/STSPixelBinningFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPShutterExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/raw_bus_access/RawUSBBusAccessFeatureInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPSetAcquisitionDelayExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/revision/RevisionFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/impls/OBPShutterProtocol.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/revision/RevisionFeatureInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPGetSaturationExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/serial_number/SerialNumberFeatureInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/shutter/ShutterFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/shutter/ShutterFeatureInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/spectrometer/OOISpectrometerFeatureInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/spectrometer/BlazeSpectrometerFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/constants/OBPMessageTypes.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/spectrometer/FlameNIRSpectrometerFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/spectrometer/GainAdjustedSpectrometerFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/spectrometer/STSSpectrometerFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/spectrometer/HR2000SpectrometerFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPTransaction.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/spectrometer/QE65000SpectrometerFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/spectrometer/Maya2000ProSpectrometerFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/spectrometer/Maya2000SpectrometerFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/spectrometer/MayaLSLSpectrometerFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPGetWaveCalExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/spectrometer/NIRQuest512SpectrometerFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/spectrometer/NIRQuestSpectrometerFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/spectrometer/OOISpectrometerFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/spectrometer/ProgrammableSaturationFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/spectrometer/ProgrammableSaturationFeatureBase.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/spectrometer/SpectrometerTriggerMode.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/impls/OBPOpticalBenchProtocol.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/spectrometer/USB2000PlusSpectrometerFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/spectrometer/VentanaSpectrometerFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/temperature/TemperatureFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPQuery.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/thermoelectric/QEProThermoElectricFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/thermoelectric/ThermoElectricFeatureInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/impls/OBPDataBufferProtocol.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/thermoelectric/ThermoElectricQEFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/thermoelectric/VentanaThermoElectricFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/features/wavecal/WaveCalFeature.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/interfaces/AcquisitionDelayProtocolInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/interfaces/ContinuousStrobeProtocolInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/hints/OBPControlHint.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/interfaces/DataBufferProtocolInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/interfaces/EEPROMProtocolInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/interfaces/FPGARegisterProtocolInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/interfaces/IrradCalProtocolInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/interfaces/LightSourceProtocolInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/interfaces/OpticalBenchProtocolInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPReadSpectrum32AndMetadataExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/interfaces/PixelBinningProtocolInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/interfaces/ProgrammableSaturationProtocolInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/interfaces/RevisionProtocolInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/interfaces/SerialNumberProtocolInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/Settings/SysConfigger.h
mmc:Q_OBJECT
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/interfaces/ShutterProtocolInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/GPS/lwrb.cpp
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/interfaces/SpectrometerProtocolInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/ooi/impls/OOISpectrometerProtocol.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/interfaces/SpectrumProcessingProtocolInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/interfaces/StrobeLampProtocolInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/interfaces/TemperatureProtocolInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPGetOpticalBenchSlitWidthMicronsExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/interfaces/ThermoElectricProtocolInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/interfaces/WaveCalProtocolInterface.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPCommand.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPContinuousStrobeEnableExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/ooi/impls/OOIEEPROMProtocol.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPGetAllTemperaturesExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPGetBoxcarWidthExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPGetScansToAverageExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPGetDataBufferCapacityExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPGetDataBufferMaximumCapacityExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/ooi/exchanges/WriteTECQESetPointExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPGetDefaultPixelBinningExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPGetFirmwareRevisionExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPGetIrradCalExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPGetMaxPixelBinningExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPSetPixelBinningExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPGetNonlinearityCoeffExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPGetOpticalBenchIDExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPGetOpticalBenchCoatingExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPGetOpticalBenchFiberDiameterMicronsExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/pch.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPGetOpticalBenchFilterExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPGetOpticalBenchGratingExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPGetOpticalBenchSerialNumberExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/impls/OBPPixelBinningProtocol.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPGetPixelBinningExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPGetSerialNumberExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPGetSerialNumberMaximumLengthExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/ooi/exchanges/TECQEEnableExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPGetStrayLightCoeffsCountExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPGetTemperatureExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPGetThermoElectricTemperatureExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPLampEnableCommand.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPLightSourceEnableCommand.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPLightSourceIntensityCommand.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPMessage.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPReadRawSpectrumExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPReadSpectrumExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/ooi/exchanges/OOI2KSpectrumExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPRequestBufferedSpectrum32AndMetadataExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/ooi/exchanges/TECEnableExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPRequestRawSpectrumExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPSetBoxcarWidthExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPSetDataBufferCapacityExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPSetIrradCalExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/hints/OBPSpectrumHint.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPSetIrradCollectionAreaExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPSetScansToAverageExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPSetThermoElectricSetpointExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/exchanges/OBPTriggerModeExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/impls/OBPContinuousStrobeProtocol.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/impls/OBPIrradCalProtocol.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/impls/OBPLightSourceProtocol.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/impls/OBPLightSourceProtocol_Ventana.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/impls/OBPNonlinearityCoeffsProtocol.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/impls/OBPSpectrometerProtocol.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/impls/OBPSpectrumProcessingProtocol.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/impls/OBPStrayLightCoeffsProtocol.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/impls/OBPStrobeLampProtocol.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/obp/impls/OBPTemperatureProtocol.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/ooi/constants/FPGARegisterCodes.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/ooi/constants/QETECConstants.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/ooi/exchanges/FPGARegisterReadExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/ooi/exchanges/FPGARegisterWriteExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/ooi/exchanges/FlameNIRSpectrumExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/ooi/exchanges/HRFPGASpectrumExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/ooi/exchanges/MayaProSpectrumExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/GPS/lwgps.cpp
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/ooi/exchanges/OOIIrradCalExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/ooi/exchanges/OOIReadIrradCalExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/ooi/exchanges/QESpectrumExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/ooi/exchanges/ReadEEPROMSlotExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/ooi/exchanges/ReadSpectrumExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/ooi/exchanges/ReadTECQETemperatureExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/ooi/exchanges/ReadTECTemperatureExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/ooi/exchanges/RequestSpectrumExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/ooi/exchanges/StrobeEnableExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/ooi/exchanges/USBFPGASpectrumExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/ooi/exchanges/WriteTECSetPointExchange.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/ooi/hints/SpectrumHint.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/protocols/ooi/impls/OOIStrobeLampProtocol.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/OSIF/include/vendors/OceanOptics/utils/Polynomial.h
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/FS/DataFileProcessor.cpp
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/FS/OControl_USB.cpp
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/GPS/BD357Ctrl.cpp
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/Source/Settings/SysConfigger.cpp

View File

@ -1,2 +0,0 @@
#include "foo.h"
int main(){}

View File

@ -1,4 +0,0 @@
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/out/build/x64-Debug/CMakeFiles/IRIS_FODIS.dir
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/out/build/x64-Debug/CMakeFiles/edit_cache.dir
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/out/build/x64-Debug/CMakeFiles/rebuild_cache.dir
E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/out/build/x64-Debug/CMakeFiles/IRIS_FODIS_autogen.dir

View File

@ -1,10 +0,0 @@
# Additional clean files
cmake_minimum_required(VERSION 3.16)
if("${CONFIG}" STREQUAL "" OR "${CONFIG}" STREQUAL "Debug")
file(REMOVE_RECURSE
"CMakeFiles\\IRIS_FODIS_autogen.dir\\AutogenUsed.txt"
"CMakeFiles\\IRIS_FODIS_autogen.dir\\ParseCache.txt"
"IRIS_FODIS_autogen"
)
endif()

View File

@ -1 +0,0 @@
# This file is generated by cmake for dependency checking of the CMakeCache.txt file

View File

@ -1,77 +0,0 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Ninja" Generator, CMake Version 3.21
# This file contains all the rules used to get the outputs files
# built from the input files.
# It is included in the main 'build.ninja'.
# =============================================================================
# Project: IRIS_FODIS
# Configurations: Debug
# =============================================================================
# =============================================================================
#############################################
# localized /showIncludes string
msvc_deps_prefix = 注意: 包含文件:
#############################################
# Rule for compiling CXX files.
rule CXX_COMPILER__IRIS_FODIS_Debug
deps = msvc
command = C:\PROGRA~1\MIB055~1\2022\PROFES~1\VC\Tools\MSVC\1430~1.307\bin\Hostx64\x64\cl.exe /nologo /TP $DEFINES $INCLUDES $FLAGS /showIncludes /Fo$out /Fd$TARGET_COMPILE_PDB /FS -c $in
description = Building CXX object $out
#############################################
# Rule for linking CXX executable.
rule CXX_EXECUTABLE_LINKER__IRIS_FODIS_Debug
command = cmd.exe /C "$PRE_LINK && "C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E vs_link_exe --intdir=$OBJECT_DIR --rc="D:\Windows Kits\10\bin\10.0.19041.0\x64\rc.exe" --mt="D:\Windows Kits\10\bin\10.0.19041.0\x64\mt.exe" --manifests $MANIFESTS -- C:\PROGRA~1\MIB055~1\2022\PROFES~1\VC\Tools\MSVC\1430~1.307\bin\Hostx64\x64\link.exe /nologo $in /out:$TARGET_FILE /implib:$TARGET_IMPLIB /pdb:$TARGET_PDB /version:0.0 $LINK_FLAGS $LINK_PATH $LINK_LIBRARIES && $POST_BUILD"
description = Linking CXX executable $TARGET_FILE
restat = $RESTAT
#############################################
# Rule for running custom commands.
rule CUSTOM_COMMAND
command = $COMMAND
description = $DESC
#############################################
# Rule for re-running cmake.
rule RERUN_CMAKE
command = "C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" --regenerate-during-build -SE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS -BE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\out\build\x64-Debug
description = Re-running CMake...
generator = 1
#############################################
# Rule for cleaning additional files.
rule CLEAN_ADDITIONAL
command = "C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -DCONFIG=$CONFIG -P CMakeFiles\clean_additional.cmake
description = Cleaning additional files...
#############################################
# Rule for cleaning all built files.
rule CLEAN
command = "C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja\ninja.exe" $FILE_ARG -t clean $TARGETS
description = Cleaning all built files...
#############################################
# Rule for printing all primary targets available.
rule HELP
command = "C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja\ninja.exe" -t targets
description = All primary targets available:

View File

@ -1,90 +0,0 @@
/****************************************************************************
** Meta object code from reading C++ file 'SysConfigger.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.0)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include "../../../../../Source/Settings/SysConfigger.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'SysConfigger.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.0. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_ZZ_SysConfigger_t {
QByteArrayData data[1];
char stringdata0[16];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_ZZ_SysConfigger_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_ZZ_SysConfigger_t qt_meta_stringdata_ZZ_SysConfigger = {
{
QT_MOC_LITERAL(0, 0, 15) // "ZZ_SysConfigger"
},
"ZZ_SysConfigger"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_ZZ_SysConfigger[] = {
// content:
7, // revision
0, // classname
0, 0, // classinfo
0, 0, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
0, // signalCount
0 // eod
};
void ZZ_SysConfigger::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
Q_UNUSED(_o);
Q_UNUSED(_id);
Q_UNUSED(_c);
Q_UNUSED(_a);
}
const QMetaObject ZZ_SysConfigger::staticMetaObject = {
{ &QObject::staticMetaObject, qt_meta_stringdata_ZZ_SysConfigger.data,
qt_meta_data_ZZ_SysConfigger, qt_static_metacall, nullptr, nullptr}
};
const QMetaObject *ZZ_SysConfigger::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *ZZ_SysConfigger::qt_metacast(const char *_clname)
{
if (!_clname) return nullptr;
if (!strcmp(_clname, qt_meta_stringdata_ZZ_SysConfigger.stringdata0))
return static_cast<void*>(const_cast< ZZ_SysConfigger*>(this));
return QObject::qt_metacast(_clname);
}
int ZZ_SysConfigger::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QObject::qt_metacall(_c, _id, _a);
return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE

View File

@ -1,142 +0,0 @@
/****************************************************************************
** Meta object code from reading C++ file 'BD357Ctrl.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.0)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include "../../../../../Source/GPS/BD357Ctrl.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'BD357Ctrl.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.0. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_BD357Controller_t {
QByteArrayData data[7];
char stringdata0[71];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_BD357Controller_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_BD357Controller_t qt_meta_stringdata_BD357Controller = {
{
QT_MOC_LITERAL(0, 0, 15), // "BD357Controller"
QT_MOC_LITERAL(1, 16, 15), // "Signal_InitSelf"
QT_MOC_LITERAL(2, 32, 0), // ""
QT_MOC_LITERAL(3, 33, 8), // "InitSelf"
QT_MOC_LITERAL(4, 42, 11), // "std::string"
QT_MOC_LITERAL(5, 54, 10), // "ucPortName"
QT_MOC_LITERAL(6, 65, 5) // "iBaud"
},
"BD357Controller\0Signal_InitSelf\0\0"
"InitSelf\0std::string\0ucPortName\0iBaud"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_BD357Controller[] = {
// content:
7, // revision
0, // classname
0, 0, // classinfo
2, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
1, // signalCount
// signals: name, argc, parameters, tag, flags
1, 0, 24, 2, 0x06 /* Public */,
// slots: name, argc, parameters, tag, flags
3, 2, 25, 2, 0x08 /* Private */,
// signals: parameters
QMetaType::Void,
// slots: parameters
QMetaType::Int, 0x80000000 | 4, QMetaType::Int, 5, 6,
0 // eod
};
void BD357Controller::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
BD357Controller *_t = static_cast<BD357Controller *>(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->Signal_InitSelf(); break;
case 1: { int _r = _t->InitSelf((*reinterpret_cast< std::string(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));
if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); } break;
default: ;
}
} else if (_c == QMetaObject::IndexOfMethod) {
int *result = reinterpret_cast<int *>(_a[0]);
void **func = reinterpret_cast<void **>(_a[1]);
{
typedef void (BD357Controller::*_t)();
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&BD357Controller::Signal_InitSelf)) {
*result = 0;
return;
}
}
}
}
const QMetaObject BD357Controller::staticMetaObject = {
{ &QObject::staticMetaObject, qt_meta_stringdata_BD357Controller.data,
qt_meta_data_BD357Controller, qt_static_metacall, nullptr, nullptr}
};
const QMetaObject *BD357Controller::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *BD357Controller::qt_metacast(const char *_clname)
{
if (!_clname) return nullptr;
if (!strcmp(_clname, qt_meta_stringdata_BD357Controller.stringdata0))
return static_cast<void*>(const_cast< BD357Controller*>(this));
return QObject::qt_metacast(_clname);
}
int BD357Controller::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QObject::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 2)
qt_static_metacall(this, _c, _id, _a);
_id -= 2;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 2)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 2;
}
return _id;
}
// SIGNAL 0
void BD357Controller::Signal_InitSelf()
{
QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE

View File

@ -1,139 +0,0 @@
/****************************************************************************
** Meta object code from reading C++ file 'ATPControl_Serial_QT.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.0)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include "../../../../../Source/FS/ATPControl_Serial_QT.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'ATPControl_Serial_QT.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.0. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_ZZ_ATPControl_Serial_Qt_t {
QByteArrayData data[4];
char stringdata0[51];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_ZZ_ATPControl_Serial_Qt_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_ZZ_ATPControl_Serial_Qt_t qt_meta_stringdata_ZZ_ATPControl_Serial_Qt = {
{
QT_MOC_LITERAL(0, 0, 23), // "ZZ_ATPControl_Serial_Qt"
QT_MOC_LITERAL(1, 24, 15), // "SignalInit_Self"
QT_MOC_LITERAL(2, 40, 0), // ""
QT_MOC_LITERAL(3, 41, 9) // "Init_Self"
},
"ZZ_ATPControl_Serial_Qt\0SignalInit_Self\0"
"\0Init_Self"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_ZZ_ATPControl_Serial_Qt[] = {
// content:
7, // revision
0, // classname
0, 0, // classinfo
2, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
1, // signalCount
// signals: name, argc, parameters, tag, flags
1, 0, 24, 2, 0x06 /* Public */,
// slots: name, argc, parameters, tag, flags
3, 0, 25, 2, 0x0a /* Public */,
// signals: parameters
QMetaType::Void,
// slots: parameters
QMetaType::Int,
0 // eod
};
void ZZ_ATPControl_Serial_Qt::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
ZZ_ATPControl_Serial_Qt *_t = static_cast<ZZ_ATPControl_Serial_Qt *>(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->SignalInit_Self(); break;
case 1: { int _r = _t->Init_Self();
if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); } break;
default: ;
}
} else if (_c == QMetaObject::IndexOfMethod) {
int *result = reinterpret_cast<int *>(_a[0]);
void **func = reinterpret_cast<void **>(_a[1]);
{
typedef void (ZZ_ATPControl_Serial_Qt::*_t)();
if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ZZ_ATPControl_Serial_Qt::SignalInit_Self)) {
*result = 0;
return;
}
}
}
}
const QMetaObject ZZ_ATPControl_Serial_Qt::staticMetaObject = {
{ &CIrisFSBase::staticMetaObject, qt_meta_stringdata_ZZ_ATPControl_Serial_Qt.data,
qt_meta_data_ZZ_ATPControl_Serial_Qt, qt_static_metacall, nullptr, nullptr}
};
const QMetaObject *ZZ_ATPControl_Serial_Qt::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *ZZ_ATPControl_Serial_Qt::qt_metacast(const char *_clname)
{
if (!_clname) return nullptr;
if (!strcmp(_clname, qt_meta_stringdata_ZZ_ATPControl_Serial_Qt.stringdata0))
return static_cast<void*>(const_cast< ZZ_ATPControl_Serial_Qt*>(this));
return CIrisFSBase::qt_metacast(_clname);
}
int ZZ_ATPControl_Serial_Qt::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = CIrisFSBase::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 2)
qt_static_metacall(this, _c, _id, _a);
_id -= 2;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 2)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 2;
}
return _id;
}
// SIGNAL 0
void ZZ_ATPControl_Serial_Qt::SignalInit_Self()
{
QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE

View File

@ -1,90 +0,0 @@
/****************************************************************************
** Meta object code from reading C++ file 'DataFileProcessor.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.0)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include "../../../../../Source/FS/DataFileProcessor.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'DataFileProcessor.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.0. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_DataFileProcessor_t {
QByteArrayData data[1];
char stringdata0[18];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_DataFileProcessor_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_DataFileProcessor_t qt_meta_stringdata_DataFileProcessor = {
{
QT_MOC_LITERAL(0, 0, 17) // "DataFileProcessor"
},
"DataFileProcessor"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_DataFileProcessor[] = {
// content:
7, // revision
0, // classname
0, 0, // classinfo
0, 0, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
0, // signalCount
0 // eod
};
void DataFileProcessor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
Q_UNUSED(_o);
Q_UNUSED(_id);
Q_UNUSED(_c);
Q_UNUSED(_a);
}
const QMetaObject DataFileProcessor::staticMetaObject = {
{ &QObject::staticMetaObject, qt_meta_stringdata_DataFileProcessor.data,
qt_meta_data_DataFileProcessor, qt_static_metacall, nullptr, nullptr}
};
const QMetaObject *DataFileProcessor::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *DataFileProcessor::qt_metacast(const char *_clname)
{
if (!_clname) return nullptr;
if (!strcmp(_clname, qt_meta_stringdata_DataFileProcessor.stringdata0))
return static_cast<void*>(const_cast< DataFileProcessor*>(this));
return QObject::qt_metacast(_clname);
}
int DataFileProcessor::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QObject::qt_metacall(_c, _id, _a);
return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE

View File

@ -1,5 +0,0 @@
// This file is autogenerated. Changes will be overwritten.
#include "Y4OZAYNSFZ/moc_ATPControl_Serial_QT.cpp"
#include "Y4OZAYNSFZ/moc_DataFileProcessor.cpp"
#include "SSW2DKPNIO/moc_BD357Ctrl.cpp"
#include "LFZ2LNYI2D/moc_SysConfigger.cpp"

View File

@ -1,3 +0,0 @@
Start testing: Mar 24 17:21 <20>й<EFBFBD><D0B9><EFBFBD>׼ʱ<D7BC><CAB1>
----------------------------------------------------------
End testing: Mar 24 17:21 <20>й<EFBFBD><D0B9><EFBFBD>׼ʱ<D7BC><CAB1>

View File

@ -1 +0,0 @@
msvc_x64_x64

View File

@ -1,246 +0,0 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Ninja" Generator, CMake Version 3.21
# This file contains all the build statements describing the
# compilation DAG.
# =============================================================================
# Write statements declared in CMakeLists.txt:
#
# Which is the root file.
# =============================================================================
# =============================================================================
# Project: IRIS_FODIS
# Configurations: Debug
# =============================================================================
#############################################
# Minimal version of Ninja required by this file
ninja_required_version = 1.5
#############################################
# Set configuration variable for custom commands.
CONFIGURATION = Debug
# =============================================================================
# Include auxiliary files.
#############################################
# Include rules file.
include CMakeFiles\rules.ninja
# =============================================================================
#############################################
# Logical path to working directory; prefix for absolute paths.
cmake_ninja_workdir = E$:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\out\build\x64-Debug\
# =============================================================================
# Object build statements for EXECUTABLE target IRIS_FODIS
#############################################
# Order-only phony target for IRIS_FODIS
build cmake_object_order_depends_target_IRIS_FODIS: phony || IRIS_FODIS_autogen
build CMakeFiles\IRIS_FODIS.dir\IRIS_FODIS_autogen\mocs_compilation.cpp.obj: CXX_COMPILER__IRIS_FODIS_Debug E$:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\out\build\x64-Debug\IRIS_FODIS_autogen\mocs_compilation.cpp || cmake_object_order_depends_target_IRIS_FODIS
DEFINES = -DQT_CORE_LIB -DQT_SERIALPORT_LIB
FLAGS = /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MDd /Zi /Ob0 /Od /RTC1 -std:c++14
INCLUDES = -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\out\build\x64-Debug\IRIS_FODIS_autogen\include -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\FS -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\OSIF\include -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\ZZ_SDK -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\Settings -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\GPS -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\Logger -IC:\Qt\Qt5.9.0\5.9\msvc2017_64\include -IC:\Qt\Qt5.9.0\5.9\msvc2017_64\include\QtCore -IC:\Qt\Qt5.9.0\5.9\msvc2017_64\.\mkspecs\win32-msvc -IC:\Qt\Qt5.9.0\5.9\msvc2017_64\include\QtSerialPort
OBJECT_DIR = CMakeFiles\IRIS_FODIS.dir
OBJECT_FILE_DIR = CMakeFiles\IRIS_FODIS.dir\IRIS_FODIS_autogen
TARGET_COMPILE_PDB = CMakeFiles\IRIS_FODIS.dir\
TARGET_PDB = IRIS_FODIS.pdb
build CMakeFiles\IRIS_FODIS.dir\main.cpp.obj: CXX_COMPILER__IRIS_FODIS_Debug E$:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\main.cpp || cmake_object_order_depends_target_IRIS_FODIS
DEFINES = -DQT_CORE_LIB -DQT_SERIALPORT_LIB
FLAGS = /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MDd /Zi /Ob0 /Od /RTC1 -std:c++14
INCLUDES = -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\out\build\x64-Debug\IRIS_FODIS_autogen\include -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\FS -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\OSIF\include -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\ZZ_SDK -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\Settings -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\GPS -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\Logger -IC:\Qt\Qt5.9.0\5.9\msvc2017_64\include -IC:\Qt\Qt5.9.0\5.9\msvc2017_64\include\QtCore -IC:\Qt\Qt5.9.0\5.9\msvc2017_64\.\mkspecs\win32-msvc -IC:\Qt\Qt5.9.0\5.9\msvc2017_64\include\QtSerialPort
OBJECT_DIR = CMakeFiles\IRIS_FODIS.dir
OBJECT_FILE_DIR = CMakeFiles\IRIS_FODIS.dir
TARGET_COMPILE_PDB = CMakeFiles\IRIS_FODIS.dir\
TARGET_PDB = IRIS_FODIS.pdb
build CMakeFiles\IRIS_FODIS.dir\Source\FS\ATPControl_Serial_QT.cpp.obj: CXX_COMPILER__IRIS_FODIS_Debug E$:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\FS\ATPControl_Serial_QT.cpp || cmake_object_order_depends_target_IRIS_FODIS
DEFINES = -DQT_CORE_LIB -DQT_SERIALPORT_LIB
FLAGS = /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MDd /Zi /Ob0 /Od /RTC1 -std:c++14
INCLUDES = -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\out\build\x64-Debug\IRIS_FODIS_autogen\include -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\FS -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\OSIF\include -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\ZZ_SDK -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\Settings -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\GPS -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\Logger -IC:\Qt\Qt5.9.0\5.9\msvc2017_64\include -IC:\Qt\Qt5.9.0\5.9\msvc2017_64\include\QtCore -IC:\Qt\Qt5.9.0\5.9\msvc2017_64\.\mkspecs\win32-msvc -IC:\Qt\Qt5.9.0\5.9\msvc2017_64\include\QtSerialPort
OBJECT_DIR = CMakeFiles\IRIS_FODIS.dir
OBJECT_FILE_DIR = CMakeFiles\IRIS_FODIS.dir\Source\FS
TARGET_COMPILE_PDB = CMakeFiles\IRIS_FODIS.dir\
TARGET_PDB = IRIS_FODIS.pdb
build CMakeFiles\IRIS_FODIS.dir\Source\FS\DataFileProcessor.cpp.obj: CXX_COMPILER__IRIS_FODIS_Debug E$:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\FS\DataFileProcessor.cpp || cmake_object_order_depends_target_IRIS_FODIS
DEFINES = -DQT_CORE_LIB -DQT_SERIALPORT_LIB
FLAGS = /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MDd /Zi /Ob0 /Od /RTC1 -std:c++14
INCLUDES = -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\out\build\x64-Debug\IRIS_FODIS_autogen\include -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\FS -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\OSIF\include -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\ZZ_SDK -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\Settings -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\GPS -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\Logger -IC:\Qt\Qt5.9.0\5.9\msvc2017_64\include -IC:\Qt\Qt5.9.0\5.9\msvc2017_64\include\QtCore -IC:\Qt\Qt5.9.0\5.9\msvc2017_64\.\mkspecs\win32-msvc -IC:\Qt\Qt5.9.0\5.9\msvc2017_64\include\QtSerialPort
OBJECT_DIR = CMakeFiles\IRIS_FODIS.dir
OBJECT_FILE_DIR = CMakeFiles\IRIS_FODIS.dir\Source\FS
TARGET_COMPILE_PDB = CMakeFiles\IRIS_FODIS.dir\
TARGET_PDB = IRIS_FODIS.pdb
build CMakeFiles\IRIS_FODIS.dir\Source\FS\OControl_USB.cpp.obj: CXX_COMPILER__IRIS_FODIS_Debug E$:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\FS\OControl_USB.cpp || cmake_object_order_depends_target_IRIS_FODIS
DEFINES = -DQT_CORE_LIB -DQT_SERIALPORT_LIB
FLAGS = /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MDd /Zi /Ob0 /Od /RTC1 -std:c++14
INCLUDES = -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\out\build\x64-Debug\IRIS_FODIS_autogen\include -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\FS -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\OSIF\include -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\ZZ_SDK -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\Settings -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\GPS -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\Logger -IC:\Qt\Qt5.9.0\5.9\msvc2017_64\include -IC:\Qt\Qt5.9.0\5.9\msvc2017_64\include\QtCore -IC:\Qt\Qt5.9.0\5.9\msvc2017_64\.\mkspecs\win32-msvc -IC:\Qt\Qt5.9.0\5.9\msvc2017_64\include\QtSerialPort
OBJECT_DIR = CMakeFiles\IRIS_FODIS.dir
OBJECT_FILE_DIR = CMakeFiles\IRIS_FODIS.dir\Source\FS
TARGET_COMPILE_PDB = CMakeFiles\IRIS_FODIS.dir\
TARGET_PDB = IRIS_FODIS.pdb
build CMakeFiles\IRIS_FODIS.dir\Source\GPS\BD357Ctrl.cpp.obj: CXX_COMPILER__IRIS_FODIS_Debug E$:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\GPS\BD357Ctrl.cpp || cmake_object_order_depends_target_IRIS_FODIS
DEFINES = -DQT_CORE_LIB -DQT_SERIALPORT_LIB
FLAGS = /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MDd /Zi /Ob0 /Od /RTC1 -std:c++14
INCLUDES = -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\out\build\x64-Debug\IRIS_FODIS_autogen\include -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\FS -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\OSIF\include -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\ZZ_SDK -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\Settings -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\GPS -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\Logger -IC:\Qt\Qt5.9.0\5.9\msvc2017_64\include -IC:\Qt\Qt5.9.0\5.9\msvc2017_64\include\QtCore -IC:\Qt\Qt5.9.0\5.9\msvc2017_64\.\mkspecs\win32-msvc -IC:\Qt\Qt5.9.0\5.9\msvc2017_64\include\QtSerialPort
OBJECT_DIR = CMakeFiles\IRIS_FODIS.dir
OBJECT_FILE_DIR = CMakeFiles\IRIS_FODIS.dir\Source\GPS
TARGET_COMPILE_PDB = CMakeFiles\IRIS_FODIS.dir\
TARGET_PDB = IRIS_FODIS.pdb
build CMakeFiles\IRIS_FODIS.dir\Source\GPS\lwgps.cpp.obj: CXX_COMPILER__IRIS_FODIS_Debug E$:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\GPS\lwgps.cpp || cmake_object_order_depends_target_IRIS_FODIS
DEFINES = -DQT_CORE_LIB -DQT_SERIALPORT_LIB
FLAGS = /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MDd /Zi /Ob0 /Od /RTC1 -std:c++14
INCLUDES = -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\out\build\x64-Debug\IRIS_FODIS_autogen\include -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\FS -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\OSIF\include -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\ZZ_SDK -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\Settings -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\GPS -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\Logger -IC:\Qt\Qt5.9.0\5.9\msvc2017_64\include -IC:\Qt\Qt5.9.0\5.9\msvc2017_64\include\QtCore -IC:\Qt\Qt5.9.0\5.9\msvc2017_64\.\mkspecs\win32-msvc -IC:\Qt\Qt5.9.0\5.9\msvc2017_64\include\QtSerialPort
OBJECT_DIR = CMakeFiles\IRIS_FODIS.dir
OBJECT_FILE_DIR = CMakeFiles\IRIS_FODIS.dir\Source\GPS
TARGET_COMPILE_PDB = CMakeFiles\IRIS_FODIS.dir\
TARGET_PDB = IRIS_FODIS.pdb
build CMakeFiles\IRIS_FODIS.dir\Source\GPS\lwrb.cpp.obj: CXX_COMPILER__IRIS_FODIS_Debug E$:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\GPS\lwrb.cpp || cmake_object_order_depends_target_IRIS_FODIS
DEFINES = -DQT_CORE_LIB -DQT_SERIALPORT_LIB
FLAGS = /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MDd /Zi /Ob0 /Od /RTC1 -std:c++14
INCLUDES = -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\out\build\x64-Debug\IRIS_FODIS_autogen\include -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\FS -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\OSIF\include -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\ZZ_SDK -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\Settings -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\GPS -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\Logger -IC:\Qt\Qt5.9.0\5.9\msvc2017_64\include -IC:\Qt\Qt5.9.0\5.9\msvc2017_64\include\QtCore -IC:\Qt\Qt5.9.0\5.9\msvc2017_64\.\mkspecs\win32-msvc -IC:\Qt\Qt5.9.0\5.9\msvc2017_64\include\QtSerialPort
OBJECT_DIR = CMakeFiles\IRIS_FODIS.dir
OBJECT_FILE_DIR = CMakeFiles\IRIS_FODIS.dir\Source\GPS
TARGET_COMPILE_PDB = CMakeFiles\IRIS_FODIS.dir\
TARGET_PDB = IRIS_FODIS.pdb
build CMakeFiles\IRIS_FODIS.dir\Source\Settings\SysConfigger.cpp.obj: CXX_COMPILER__IRIS_FODIS_Debug E$:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\Settings\SysConfigger.cpp || cmake_object_order_depends_target_IRIS_FODIS
DEFINES = -DQT_CORE_LIB -DQT_SERIALPORT_LIB
FLAGS = /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MDd /Zi /Ob0 /Od /RTC1 -std:c++14
INCLUDES = -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\out\build\x64-Debug\IRIS_FODIS_autogen\include -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\FS -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\OSIF\include -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\ZZ_SDK -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\Settings -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\GPS -IE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\Source\Logger -IC:\Qt\Qt5.9.0\5.9\msvc2017_64\include -IC:\Qt\Qt5.9.0\5.9\msvc2017_64\include\QtCore -IC:\Qt\Qt5.9.0\5.9\msvc2017_64\.\mkspecs\win32-msvc -IC:\Qt\Qt5.9.0\5.9\msvc2017_64\include\QtSerialPort
OBJECT_DIR = CMakeFiles\IRIS_FODIS.dir
OBJECT_FILE_DIR = CMakeFiles\IRIS_FODIS.dir\Source\Settings
TARGET_COMPILE_PDB = CMakeFiles\IRIS_FODIS.dir\
TARGET_PDB = IRIS_FODIS.pdb
# =============================================================================
# Link build statements for EXECUTABLE target IRIS_FODIS
#############################################
# Link the executable IRIS_FODIS.exe
build IRIS_FODIS.exe: CXX_EXECUTABLE_LINKER__IRIS_FODIS_Debug CMakeFiles\IRIS_FODIS.dir\IRIS_FODIS_autogen\mocs_compilation.cpp.obj CMakeFiles\IRIS_FODIS.dir\main.cpp.obj CMakeFiles\IRIS_FODIS.dir\Source\FS\ATPControl_Serial_QT.cpp.obj CMakeFiles\IRIS_FODIS.dir\Source\FS\DataFileProcessor.cpp.obj CMakeFiles\IRIS_FODIS.dir\Source\FS\OControl_USB.cpp.obj CMakeFiles\IRIS_FODIS.dir\Source\GPS\BD357Ctrl.cpp.obj CMakeFiles\IRIS_FODIS.dir\Source\GPS\lwgps.cpp.obj CMakeFiles\IRIS_FODIS.dir\Source\GPS\lwrb.cpp.obj CMakeFiles\IRIS_FODIS.dir\Source\Settings\SysConfigger.cpp.obj | C$:\Qt\Qt5.9.0\5.9\msvc2017_64\lib\Qt5SerialPortd.lib C$:\Qt\Qt5.9.0\5.9\msvc2017_64\lib\Qt5Cored.lib || IRIS_FODIS_autogen
FLAGS = /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MDd /Zi /Ob0 /Od /RTC1
LINK_FLAGS = /machine:x64 /debug /INCREMENTAL /subsystem:console
LINK_LIBRARIES = SeaBreeze.lib C:\Qt\Qt5.9.0\5.9\msvc2017_64\lib\Qt5SerialPortd.lib C:\Qt\Qt5.9.0\5.9\msvc2017_64\lib\Qt5Cored.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib
LINK_PATH = -LIBPATH:E:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\source\OSIF\DLib -LIBPATH:\home\pi\SeaBrease\lib
OBJECT_DIR = CMakeFiles\IRIS_FODIS.dir
POST_BUILD = cd .
PRE_LINK = cd .
TARGET_COMPILE_PDB = CMakeFiles\IRIS_FODIS.dir\
TARGET_FILE = IRIS_FODIS.exe
TARGET_IMPLIB = IRIS_FODIS.lib
TARGET_PDB = IRIS_FODIS.pdb
#############################################
# Utility command for edit_cache
build CMakeFiles\edit_cache.util: CUSTOM_COMMAND
COMMAND = cmd.exe /C "cd /D E:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\out\build\x64-Debug && "C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E echo "No interactive CMake dialog available.""
DESC = No interactive CMake dialog available...
restat = 1
build edit_cache: phony CMakeFiles\edit_cache.util
#############################################
# Utility command for rebuild_cache
build CMakeFiles\rebuild_cache.util: CUSTOM_COMMAND
COMMAND = cmd.exe /C "cd /D E:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\out\build\x64-Debug && "C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" --regenerate-during-build -SE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS -BE:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\out\build\x64-Debug"
DESC = Running CMake to regenerate build system...
pool = console
restat = 1
build rebuild_cache: phony CMakeFiles\rebuild_cache.util
#############################################
# Utility command for IRIS_FODIS_autogen
build IRIS_FODIS_autogen: phony CMakeFiles\IRIS_FODIS_autogen IRIS_FODIS_autogen\mocs_compilation.cpp
#############################################
# Custom command for CMakeFiles\IRIS_FODIS_autogen
build CMakeFiles\IRIS_FODIS_autogen IRIS_FODIS_autogen\mocs_compilation.cpp | ${cmake_ninja_workdir}CMakeFiles\IRIS_FODIS_autogen ${cmake_ninja_workdir}IRIS_FODIS_autogen\mocs_compilation.cpp: CUSTOM_COMMAND
COMMAND = cmd.exe /C "cd /D E:\WorkSpace\git\IRIS_FODIS\IRIS_FODIS\out\build\x64-Debug && "C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E cmake_autogen E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/out/build/x64-Debug/CMakeFiles/IRIS_FODIS_autogen.dir/AutogenInfo.json Debug"
DESC = Automatic MOC and UIC for target IRIS_FODIS
restat = 1
# =============================================================================
# Target aliases.
build IRIS_FODIS: phony IRIS_FODIS.exe
# =============================================================================
# Folder targets.
# =============================================================================
#############################################
# Folder: E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/out/build/x64-Debug
build all: phony IRIS_FODIS.exe
# =============================================================================
# Built-in targets
#############################################
# Re-run CMake if any of its inputs changed.
build build.ninja: RERUN_CMAKE | ..\..\..\CMakeLists.txt C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.21\Modules\CMakeCInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.21\Modules\CMakeCXXInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.21\Modules\CMakeCommonLanguageInclude.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.21\Modules\CMakeGenericSystem.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.21\Modules\CMakeInitializeConfigs.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.21\Modules\CMakeLanguageInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.21\Modules\CMakeParseArguments.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.21\Modules\CMakeRCInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.21\Modules\CMakeSystemSpecificInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.21\Modules\CMakeSystemSpecificInitialize.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.21\Modules\Compiler\CMakeCommonCompilerMacros.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.21\Modules\Compiler\MSVC-C.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.21\Modules\Compiler\MSVC-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.21\Modules\Platform\Windows-MSVC-C.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.21\Modules\Platform\Windows-MSVC-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.21\Modules\Platform\Windows-MSVC.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.21\Modules\Platform\Windows.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.21\Modules\Platform\WindowsPaths.cmake C$:\Qt\Qt5.9.0\5.9\msvc2017_64\lib\cmake\Qt5Core\Qt5CoreConfig.cmake C$:\Qt\Qt5.9.0\5.9\msvc2017_64\lib\cmake\Qt5Core\Qt5CoreConfigExtras.cmake C$:\Qt\Qt5.9.0\5.9\msvc2017_64\lib\cmake\Qt5Core\Qt5CoreConfigExtrasMkspecDir.cmake C$:\Qt\Qt5.9.0\5.9\msvc2017_64\lib\cmake\Qt5Core\Qt5CoreConfigVersion.cmake C$:\Qt\Qt5.9.0\5.9\msvc2017_64\lib\cmake\Qt5Core\Qt5CoreMacros.cmake C$:\Qt\Qt5.9.0\5.9\msvc2017_64\lib\cmake\Qt5SerialPort\Qt5SerialPortConfig.cmake C$:\Qt\Qt5.9.0\5.9\msvc2017_64\lib\cmake\Qt5SerialPort\Qt5SerialPortConfigVersion.cmake C$:\Qt\Qt5.9.0\5.9\msvc2017_64\lib\cmake\Qt5\Qt5Config.cmake C$:\Qt\Qt5.9.0\5.9\msvc2017_64\lib\cmake\Qt5\Qt5ConfigVersion.cmake C$:\Qt\Qt5.9.0\5.9\msvc2017_64\lib\cmake\Qt5\Qt5ModuleLocation.cmake CMakeCache.txt CMakeFiles\3.21.21080301-MSVC_2\CMakeCCompiler.cmake CMakeFiles\3.21.21080301-MSVC_2\CMakeCXXCompiler.cmake CMakeFiles\3.21.21080301-MSVC_2\CMakeRCCompiler.cmake CMakeFiles\3.21.21080301-MSVC_2\CMakeSystem.cmake
pool = console
#############################################
# A missing CMake input file is not an error.
build ..\..\..\CMakeLists.txt C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.21\Modules\CMakeCInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.21\Modules\CMakeCXXInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.21\Modules\CMakeCommonLanguageInclude.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.21\Modules\CMakeGenericSystem.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.21\Modules\CMakeInitializeConfigs.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.21\Modules\CMakeLanguageInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.21\Modules\CMakeParseArguments.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.21\Modules\CMakeRCInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.21\Modules\CMakeSystemSpecificInformation.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.21\Modules\CMakeSystemSpecificInitialize.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.21\Modules\Compiler\CMakeCommonCompilerMacros.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.21\Modules\Compiler\MSVC-C.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.21\Modules\Compiler\MSVC-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.21\Modules\Platform\Windows-MSVC-C.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.21\Modules\Platform\Windows-MSVC-CXX.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.21\Modules\Platform\Windows-MSVC.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.21\Modules\Platform\Windows.cmake C$:\Program$ Files\Microsoft$ Visual$ Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\share\cmake-3.21\Modules\Platform\WindowsPaths.cmake C$:\Qt\Qt5.9.0\5.9\msvc2017_64\lib\cmake\Qt5Core\Qt5CoreConfig.cmake C$:\Qt\Qt5.9.0\5.9\msvc2017_64\lib\cmake\Qt5Core\Qt5CoreConfigExtras.cmake C$:\Qt\Qt5.9.0\5.9\msvc2017_64\lib\cmake\Qt5Core\Qt5CoreConfigExtrasMkspecDir.cmake C$:\Qt\Qt5.9.0\5.9\msvc2017_64\lib\cmake\Qt5Core\Qt5CoreConfigVersion.cmake C$:\Qt\Qt5.9.0\5.9\msvc2017_64\lib\cmake\Qt5Core\Qt5CoreMacros.cmake C$:\Qt\Qt5.9.0\5.9\msvc2017_64\lib\cmake\Qt5SerialPort\Qt5SerialPortConfig.cmake C$:\Qt\Qt5.9.0\5.9\msvc2017_64\lib\cmake\Qt5SerialPort\Qt5SerialPortConfigVersion.cmake C$:\Qt\Qt5.9.0\5.9\msvc2017_64\lib\cmake\Qt5\Qt5Config.cmake C$:\Qt\Qt5.9.0\5.9\msvc2017_64\lib\cmake\Qt5\Qt5ConfigVersion.cmake C$:\Qt\Qt5.9.0\5.9\msvc2017_64\lib\cmake\Qt5\Qt5ModuleLocation.cmake CMakeCache.txt CMakeFiles\3.21.21080301-MSVC_2\CMakeCCompiler.cmake CMakeFiles\3.21.21080301-MSVC_2\CMakeCXXCompiler.cmake CMakeFiles\3.21.21080301-MSVC_2\CMakeRCCompiler.cmake CMakeFiles\3.21.21080301-MSVC_2\CMakeSystem.cmake: phony
#############################################
# Clean additional files.
build CMakeFiles\clean.additional: CLEAN_ADDITIONAL
CONFIG = Debug
#############################################
# Clean all the built files.
build clean: CLEAN CMakeFiles\clean.additional
#############################################
# Print all primary targets available.
build help: HELP
#############################################
# Make the all target the default.
default all

View File

@ -1,44 +0,0 @@
# Install script for directory: E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS
# Set the install prefix
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
set(CMAKE_INSTALL_PREFIX "E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/out/install/x64-Debug")
endif()
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
# Set the install configuration name.
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
if(BUILD_TYPE)
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
else()
set(CMAKE_INSTALL_CONFIG_NAME "Debug")
endif()
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
endif()
# Set the component getting installed.
if(NOT CMAKE_INSTALL_COMPONENT)
if(COMPONENT)
message(STATUS "Install component: \"${COMPONENT}\"")
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
else()
set(CMAKE_INSTALL_COMPONENT)
endif()
endif()
# Is this installation the result of a crosscompile?
if(NOT DEFINED CMAKE_CROSSCOMPILING)
set(CMAKE_CROSSCOMPILING "FALSE")
endif()
if(CMAKE_INSTALL_COMPONENT)
set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
else()
set(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
endif()
string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
"${CMAKE_INSTALL_MANIFEST_FILES}")
file(WRITE "E:/WorkSpace/git/IRIS_FODIS/IRIS_FODIS/out/build/x64-Debug/${CMAKE_INSTALL_MANIFEST}"
"${CMAKE_INSTALL_MANIFEST_CONTENT}")

View File

@ -0,0 +1,11 @@
[FS]
Model=IS1
Port=/dev/ttyUSB0
UID=FLMS15814
Depth=65535
AEMax=0.85
AEMin=0.60
MinSI=1000
[GPS]
Port=/dev/ttyS1
Baud=9600

View File

@ -0,0 +1,11 @@
[FS]
Model=IS1
Port=/dev/ttyUSB0
UID=21091035
Depth=65535
AEMax=0.85
AEMin=0.60
MinSI=1000
[GPS]
Port=/dev/ttyS1
Baud=9600

View File

@ -0,0 +1,11 @@
[FS]
Model=IS11
Port=/dev/ttyUSB0
UID=
Depth=65535
AEMax=0.85
AEMin=0.60
MinSI=1000
[GPS]
Port=/dev/ttyS1
Baud=9600

View File

@ -0,0 +1,225 @@
#include "MakeDarkCurrentTable.h"
MakeDCT::MakeDCT(QObject* parent /*= nullptr*/)
{
m_qstrDarkCurrentTable = "/home/data/Data/DCTable.txt";
}
MakeDCT::~MakeDCT()
{
}
void MakeDCT::SetRunParams(OneFSContext struFSRunParams)
{
m_struFSRunParams = struFSRunParams;
}
int MakeDCT::Initialize()
{
m_pctrlFS = new CAbsFSController;
m_pctrlFS->SetContext(m_struFSRunParams);
m_pctrlFS->Initialize();
while (!m_pctrlFS->m_iFlagInit)
{
Delay_MSec(1000);
}
m_pctrlFS->GetDeviceAttr(m_struDeviceAttr);
m_struFSRunParams.usPixels = m_struDeviceAttr.iPixels;
return 0;
}
int MakeDCT::Initialize_Part()
{
if (m_struFSRunParams.ucDeviceModel== DeviceModel::IS1)
{
m_struFSRunParams.usPixels = 512;
}
if (m_struFSRunParams.ucDeviceModel == DeviceModel::FLAME)
{
m_struFSRunParams.usPixels = 2048;
}
return 0;
}
int MakeDCT::MakeTable()
{
DataFrame struSingleFrame;
long long llAverage[4096] = {0};
m_vecDataFrame.clear();
for (int i = 0; i < 10; i++)
{
memset(llAverage,0,4096*sizeof(long long));
int iExposureTime = i + 1;
m_pctrlFS->SetExposureTime(iExposureTime);//1-10
qDebug() << "Smapling Time:" << iExposureTime;
for (int i = 0; i < 10; i++)
{
m_pctrlFS->SingleShot(struSingleFrame);
for (int j = 0; j < m_struFSRunParams.usPixels; j++)
{
llAverage[j] += struSingleFrame.lData[j];
}
}
for (int j = 0; j < m_struFSRunParams.usPixels; j++)
{
struSingleFrame.lData[j] = (long)((double)llAverage[j] / (double)10);
}
m_vecDataFrame.push_back(struSingleFrame);
}
for (int i = 0; i < 9; i++)
{
memset(llAverage, 0, 4096 * sizeof(long long));
int iExposureTime = (i+2) *10;//20 - 100
m_pctrlFS->SetExposureTime(iExposureTime);
qDebug() << "Smapling Time:" << iExposureTime;
for (int i = 0; i < 10; i++)
{
m_pctrlFS->SingleShot(struSingleFrame);
for (int j = 0; j < m_struFSRunParams.usPixels; j++)
{
llAverage[j] += struSingleFrame.lData[j];
}
}
for (int j = 0; j < m_struFSRunParams.usPixels; j++)
{
struSingleFrame.lData[j] = (long)((double)llAverage[j] / (double)10);
}
m_vecDataFrame.push_back(struSingleFrame);
}
for (int i = 0; i < 9; i++)
{
memset(llAverage, 0, 4096 * sizeof(long long));
int iExposureTime = (i + 2) * 100;//200-1000
m_pctrlFS->SetExposureTime(iExposureTime);
qDebug() << "Smapling Time:" << iExposureTime;
for (int i = 0; i < 10; i++)
{
m_pctrlFS->SingleShot(struSingleFrame);
for (int j = 0; j < m_struFSRunParams.usPixels; j++)
{
llAverage[j] += struSingleFrame.lData[j];
}
}
for (int j = 0; j < m_struFSRunParams.usPixels; j++)
{
struSingleFrame.lData[j] = (long)((double)llAverage[j] / (double)10);
}
m_vecDataFrame.push_back(struSingleFrame);
}
QFile qfData(m_qstrDarkCurrentTable);
bool bRes = qfData.open(QFile::WriteOnly | QFile::Text | QIODevice::Truncate);
if (!bRes)
{
//qDebug() << "WriteData open Failed.";
printf("WriteData open Failed.");
return 0;
}
QString qstrTemp;
for (int i=0;i<m_vecDataFrame.size();i++)
{
if (i<=9)
{
qstrTemp = QString::number(i+1);
qfData.write(qstrTemp.toLatin1());
}
else if (i>=10&&i<=18)
{
qstrTemp = QString::number((i-8)*10);
qfData.write(qstrTemp.toLatin1());
}
else
{
qstrTemp = QString::number((i-17) * 100);
qfData.write(qstrTemp.toLatin1());
}
for (int j=0;j<m_struFSRunParams.usPixels;j++)
{
qfData.write(",");
qstrTemp = QString::number(m_vecDataFrame[i].lData[j]);
qfData.write(qstrTemp.toLatin1());
}
qfData.write("\n");
}
qfData.flush();
qfData.close();
return 0;
//m_pctrlFS->SingleShot();
}
int MakeDCT::LoadTable()
{
m_vecDataFrame.clear();
DataFrame dfTemp;
QFile qfData(m_qstrDarkCurrentTable);
bool bRes = qfData.open(QFile::ReadOnly);
if (!bRes)
{
qDebug() << "LoadTable open Failed.";
//printf("LoadTable open Failed.");
return 1;
}
QString qstrTemp;
QStringList qsList;
while (!qfData.atEnd())
{
QString data;
data = qfData.readLine();
qsList = data.split(',');
dfTemp.usExposureTimeInMS = qsList[0].toInt();
for (int i=0;i< qsList.size()-1;i++)
{
dfTemp.lData[i] = qsList[i + 1].toInt();
//qDebug() << qsList[i] << ";";
}
m_vecDataFrame.push_back(dfTemp);
qDebug() << qsList.size() << endl;
}
return 0;
}
void MakeDCT::GetDCTable(std::vector<DataFrame>& vecDataFrame)
{
vecDataFrame = m_vecDataFrame;
}
void MakeDCT::Delay_MSec(ZZ_U16 usMS)
{
QEventLoop qeLoop;
QTimer::singleShot(usMS, &qeLoop, SLOT(quit()));
qeLoop.exec();
}

View File

@ -0,0 +1,27 @@
#pragma once
#include "pch.h"
#include "AbsFSController.h"
class MakeDCT :public QObject
{
Q_OBJECT;
public:
MakeDCT(QObject* parent = nullptr);
virtual ~MakeDCT();
public:
void SetRunParams(OneFSContext struFSRunParams);
int Initialize();
int Initialize_Part();
int MakeTable();
int LoadTable();
void GetDCTable(std::vector<DataFrame> &vecDataFrame);
private:
void Delay_MSec(ZZ_U16 usMS);
private:
QString m_qstrDarkCurrentTable = "/home/data/Data/DCTable.txt";
OneFSContext m_struFSRunParams;
CAbsFSController* m_pctrlFS;
DeviceAttribute m_struDeviceAttr;
std::vector<DataFrame> m_vecDataFrame;
};

View File

@ -0,0 +1,446 @@
#include "AbsFSController.h"
#include "ZZ_Math_HDRONLY.h"
CAbsFSController::CAbsFSController(QObject* parent /*= nullptr*/)
{
m_iFlagInit = 0;
#ifdef _DEBUG
m_qstrWaveLengthPath = "E:/WorkSpace/TowerOptoSifAndSpectral/Data/WaveLengthInfo.txt";
#else
m_qstrWaveLengthPath = "/home/data/Data/WaveLengthInfo.txt";
#endif // DEBUG
}
CAbsFSController::~CAbsFSController()
{
}
void CAbsFSController::SetContext(OneFSContext struFSParam)
{
m_struFSParam = struFSParam;
}
int CAbsFSController::Initialize()
{
using namespace ZZ_MISCDEF::IRIS;
m_iFlagInit = 0;
switch (m_struFSParam.ucDeviceModel)
{
case DeviceModel::FLAME:
m_pFSCtrl = new OceanOptics_lib;
if (m_pFSCtrl->Initialize(false, m_struFSParam.strInterface, m_struFSParam.strSN) != 0)
{
//qDebug() << "Flame Not Opened";
printf("Flame Not Opened");
return 1;
}
GetDarkPixelIndices();
break;
case DeviceModel::OSIFAlpha:
m_pFSCtrl = new OceanOptics_lib;
if (m_pFSCtrl->Initialize(false, m_struFSParam.strInterface, m_struFSParam.strSN) != 0)
{
qDebug() << "OSIFAlpha Not Opened";
return 2;
}
break;
case DeviceModel::OSIFBeta:
m_pFSCtrl = new OceanOptics_lib;
if (m_pFSCtrl->Initialize(false, m_struFSParam.strInterface, m_struFSParam.strSN) != 0)
{
qDebug() << "OSIFBeta Not Opened";
return 2;
}
break;
case DeviceModel::ISIF:
m_pFSCtrl = new ZZ_ATPControl_Serial_Qt;
//m_pFSCtrl->Initialize(false, m_struFSParam.strInterface, NULL);
if (m_pFSCtrl->Initialize(false, m_struFSParam.strInterface, m_struFSParam.strSN) != 0)
{
qDebug() << "ISIF Not Opened";
return 3;
}
break;
case DeviceModel::IS1:
m_pFSCtrl = new ZZ_ATPControl_Serial_Qt;
//m_pFSCtrl->Initialize(false, m_struFSParam.strInterface, NULL);
if (m_pFSCtrl->Initialize(false, m_struFSParam.strInterface, m_struFSParam.strSN) != 0)
{
//qDebug() << "IS1 Not Opened";
printf("IS1 Not Opened");
return 3;
}
break;
case DeviceModel::IS2:
m_pFSCtrl = new ZZ_ATPControl_Serial_Qt;
//m_pFSCtrl->Initialize(false, m_struFSParam.strInterface, NULL);
if (m_pFSCtrl->Initialize(false, m_struFSParam.strInterface, m_struFSParam.strSN) != 0)
{
qDebug() << "IS2 Not Opened";
return 3;
}
break;
case DeviceModel::IS11:
m_pFSCtrl = new IS11_Ctrl_Qt;
//m_pFSCtrl->Initialize(false, m_struFSParam.strInterface, NULL);
if (m_pFSCtrl->Initialize(false, m_struFSParam.strInterface, m_struFSParam.strSN) != 0)
{
qDebug() << "IS11 Not Opened";
return 3;
}
break;
default:
break;
}
int iRes = m_pFSCtrl->GetDeviceAttribute(m_struDeviceAttr);
if (iRes != 0)
{
qDebug() << "GetDeviceAttribute Failed" << iRes;
printf("GetDeviceAttribute Failed");
return 4;
}
else//mark by zz
{
if (m_struFSParam.ucDeviceModel== DeviceModel::IS2)
{
m_struDeviceAttr.iMinIntegrationTimeInMS = 10;
}
}
iRes = m_pFSCtrl->SetDeviceTemperature(0);
if (iRes != 0)
{
qDebug() << "SetDeviceTemperature Failed" << iRes;
//return 5;
}
m_iFlagInit = 1;
return 0;
}
int CAbsFSController::Initialize_Self()
{
return 0;
}
int CAbsFSController::SetExposureTime(int iMilliSec)
{
return m_pFSCtrl->SetExposureTime(iMilliSec);
}
int CAbsFSController::GetExposureTime(int& iMilliSec)
{
return m_pFSCtrl->GetExposureTime(iMilliSec);
}
int CAbsFSController::SingleShot(DataFrame& struSingleFrame)
{
using namespace ZZ_MISCDEF::IRIS;
int iRes = m_pFSCtrl->SingleShot(m_struSingleFrame);
if (iRes != 0)
{
//qDebug() << "Err. SingleShot";
printf("Err. SingleShot");
return 1;
}
if (m_struFSParam.ucDeviceModel == DeviceModel::FLAME)
{
int iRes = m_pFSCtrl->SingleShot(m_struSingleFrame);
if (iRes != 0)
{
//qDebug() << "Err. SingleShot";
printf("Err. SingleShot");
return 1;
}
}
if (m_struFSParam.ucDeviceModel == DeviceModel::ISIF)
{
float fTemp;
m_pFSCtrl->GetDeviceTemperature(fTemp);
m_struSingleFrame.fTemperature = fTemp;
}
else if (m_struFSParam.ucDeviceModel == DeviceModel::IS2)
{
float fTemp;
m_pFSCtrl->GetDeviceTemperature(fTemp);
m_struSingleFrame.fTemperature = fTemp;
}
else if (m_struFSParam.ucDeviceModel == DeviceModel::IS1)
{
m_struSingleFrame.fTemperature = 1000;
}
else if (m_struFSParam.ucDeviceModel == DeviceModel::FLAME)
{
m_struSingleFrame.fTemperature = 1000;
}
QDateTime qdtTime = QDateTime::currentDateTime();
m_struSingleFrame.dTimes = qdtTime.toMSecsSinceEpoch();
struSingleFrame = m_struSingleFrame;
return 0;
}
int CAbsFSController::PerformAutoExposure()
{
qDebug() << "--------------------------Starting PerformAutoExposure";
using namespace ZZ_MATH;
float fPredictedExposureTime;
int iDeviceDepth = (int)m_struFSParam.lDepth;
qDebug() << "MAX---Min" << m_struFSParam.fMaxFactor << "---" << m_struFSParam.fMinFactor ;
bool bFlagIsOverTrying = false;
bool bFlagIsLowerMinExposureTime = false;
bool bFlagIsOverMaxExposureTime = false;
bool bFlagIsAutoExposureOK = false;
bool bFlagIsAutoExposureFailed = false;
bool bIsValueOverflow = false;
bool bIsLastValueOverflow = false;
int iExposureTime = 0;
float fTempExposureTime = 0;
double fLastExposureTime = 0.1;
int iRepeatCount = 0;
while (!bFlagIsAutoExposureOK && !bFlagIsAutoExposureFailed)
{
DataFrame dfTemp;
if (iRepeatCount++ > 30)
{
bFlagIsAutoExposureFailed = true;
bFlagIsOverTrying = true;
break;
}
m_pFSCtrl->GetExposureTime(iExposureTime);
qDebug() << "Current ExpTime:" << iExposureTime;
fTempExposureTime = iExposureTime;
int iRes = m_pFSCtrl->SingleShot(dfTemp);
if (iRes != 0)
{
//qDebug() << "Err:PerformAutoExposure Failed.Exit Code:2";
printf("Err:PerformAutoExposure Failed,SingleShot Failed.Exit Code:2");
return 2;
}
HeapSort(dfTemp.lData, m_struDeviceAttr.iPixels);
double dSum = 0;
int iCount = m_struDeviceAttr.iPixels / 200;
for (int i = 0; i < iCount; i++)
{
dSum += dfTemp.lData[i];
}
double dTemp = dSum / iCount;
qDebug() << "Avg " << dTemp ;
if (dTemp >= iDeviceDepth * 0.99)
{
bIsValueOverflow = true;
if (!bIsLastValueOverflow)
{
iExposureTime = (float)(fLastExposureTime + iExposureTime) / 2;
}
else
{
iExposureTime = iExposureTime / 2;
}
}
else if (iDeviceDepth * m_struFSParam.fMaxFactor >= dTemp && dTemp >= iDeviceDepth * m_struFSParam.fMinFactor)
{
qDebug() << "trace bFlagIsAutoExposureOK =1 " << iExposureTime;
bFlagIsAutoExposureOK = 1;
}
else if (dTemp > iDeviceDepth * m_struFSParam.fMaxFactor)
{
bIsValueOverflow = true;
if (!bIsLastValueOverflow)
{
iExposureTime = (float)(fLastExposureTime + iExposureTime) / 2;
}
else
{
iExposureTime = iExposureTime * 3 / 4;
}
}
else if (dTemp < iDeviceDepth * m_struFSParam.fMinFactor)
{
bIsValueOverflow = false;
if (bIsLastValueOverflow)
{
iExposureTime = (float)(fLastExposureTime + iExposureTime) / 2;
}
else
{
double dFactor;
dFactor = dTemp / (iDeviceDepth * m_struFSParam.fMaxFactor);
iExposureTime = (float)(iExposureTime / dFactor);
}
}
bIsLastValueOverflow = bIsValueOverflow;
fLastExposureTime = fTempExposureTime;
if (iExposureTime <= m_struDeviceAttr.iMinIntegrationTimeInMS)
{
bFlagIsAutoExposureOK = false;
bFlagIsAutoExposureFailed = true;
bFlagIsLowerMinExposureTime = true;
iRes = m_pFSCtrl->SetExposureTime(m_struDeviceAttr.iMinIntegrationTimeInMS);
if (iRes != 0)
{
//qDebug() << "Err:PerformAutoExposure Failed.Exit Code:3" ;
printf("Err:PerformAutoExposure Failed,SetExposureTime Failed.Exit Code:2");
return 3;
}
else
{
qDebug() << "Warning:PerformAutoExposure lower than min integration time.Will be limited to " << m_struDeviceAttr.iMinIntegrationTimeInMS << "MS";
}
break;
}
if (iExposureTime > m_struDeviceAttr.iMaxIntegrationTimeInMS - 1)
{
bFlagIsAutoExposureOK = false;
bFlagIsAutoExposureFailed = true;
bFlagIsOverMaxExposureTime = true;
iRes = m_pFSCtrl->SetExposureTime(m_struDeviceAttr.iMaxIntegrationTimeInMS - 1);
if (iRes != 0)
{
//qDebug() << "Err:PerformAutoExposure Failed.Exit Code:3";
printf("Err:PerformAutoExposure Failed,SetExposureTime Failed.Exit Code:3");
return 3;
}
else
{
qDebug() << "Warning:PerformAutoExposure exceed max integration time.Will be limited to " << m_struDeviceAttr.iMaxIntegrationTimeInMS - 1 << "MS";
}
break;
}
iRes = m_pFSCtrl->SetExposureTime((int)iExposureTime);
if (iRes != 0)
{
//qDebug() << "Err:PerformAutoExposure Failed.Exit Code:4" ;
printf("Err:PerformAutoExposure Failed,SetExposureTime Failed.Exit Code:4");
return 3;
}
else
{
qDebug() << "Success:PerformAutoExposure. Value" << iExposureTime ;
}
}
fPredictedExposureTime = iExposureTime;
qDebug() << "--------------------------Stop PerformAutoExposure";
return 0;
}
int CAbsFSController::CheckAndAdjust_Fast()
{
using namespace ZZ_MATH;
int iExposureTime = 0;
int iRes = m_pFSCtrl->GetExposureTime(iExposureTime);
if (iRes != 0)
{
//qDebug() << "Err. SingleShot";
printf("CheckAndAdjust_Fast,Err. SingleShot");
return 1;
}
HeapSort(m_struSingleFrame.lData, m_struDeviceAttr.iPixels);
double dSum = 0;
int iCount = m_struDeviceAttr.iPixels / 200;
for (int i = 0; i < iCount; i++)
{
dSum += m_struSingleFrame.lData[i];
}
double dTemp = dSum / iCount;
if (dTemp >= m_struFSParam.lDepth * 0.99)
{
iExposureTime = iExposureTime / 2;
}
else
{
double dFactor;
dFactor = dTemp / (float)(m_struFSParam.lDepth * m_struFSParam.fMaxFactor);
iExposureTime = (float)(iExposureTime / dFactor);
}
return 0;
}
int CAbsFSController::GetDarkPixelIndices()
{
m_vecDarkPixleIndices.clear();
if (m_struFSParam.ucDeviceModel == DeviceModel::FLAME)
{
m_vecDarkPixleIndices = ((OceanOptics_lib*)m_pFSCtrl)->m_vecDarkPixels;
}
//////////////////////////////////////////////////////////////////////////debug only
/*qDebug() << m_vecDarkPixleIndices.size();
qDebug() << ((OceanOptics_lib*)m_pFSCtrl)->m_vecDarkPixels.size();
for (int i=0;i< m_vecDarkPixleIndices.size();i++)
{
qDebug() << m_vecDarkPixleIndices[i];
}*/
//////////////////////////////////////////////////////////////////////////debug only
return 0;
}
void CAbsFSController::GetDeviceAttr(DeviceAttribute& struDeviceAttr)
{
struDeviceAttr = m_struDeviceAttr;
}
// int CAbsFSController::CreateWavelengthFile()
// {
// QDir qdirPath(qstrTemp);
// if (!qdirPath.exists())
// {
// bool bRes = qdirPath.mkdir(qstrTemp);
// if (!bRes)
// {
// qDebug() << "DataFileProcessor mkdir Failed.";
// }
// }
// m_qstrWaveLengthPath
// temp1 = "wavelength = ";
// file.Write(temp1, temp1.GetLength());
// file.Write("{", 1);
// return 0;
// }

View File

@ -0,0 +1,50 @@
#pragma once
#include "pch.h"
#include "ATPControl_Serial_QT.h"
#include "OControl_USB.h"
#include <atomic>
#include <vector>
#include "IS11_Ctrl_Qt.h"
using namespace ZZ_MISCDEF::ZZ_RUNPARAMS;
using namespace ZZ_MISCDEF::MISC_DETECTOR;
using namespace ZZ_MISCDEF::IRIS;
class CAbsFSController :public QObject
{
Q_OBJECT
public:
CAbsFSController(QObject* parent = nullptr);
virtual ~CAbsFSController();
public:
//call first
virtual void SetContext(OneFSContext struFSParam);
virtual int Initialize();
virtual int Initialize_Self();
int SetExposureTime(int iMilliSec);
int GetExposureTime(int& iMilliSec);
int SingleShot(DataFrame &struSingleFrame);
int PerformAutoExposure();
int CheckAndAdjust_Fast();
int GetDarkPixelIndices();
void GetDeviceAttr(DeviceAttribute &struDeviceAttr);
public:
std::atomic_int m_iFlagInit;
std::vector<int> m_vecDarkPixleIndices;
DeviceAttribute m_struDeviceAttr;
private:
CIrisFSBase* m_pFSCtrl;
OneFSContext m_struFSParam;
DataFrame m_struSingleFrame;
QString m_qstrWaveLengthPath;
private:
//int CreateWavelengthFile();
public slots:
signals:
};

View File

@ -0,0 +1,279 @@
#include "MainGrabber.h"
#include "ZZ_Math_HDRONLY.h"
CMainGrabber::CMainGrabber(QObject* parent /*= nullptr*/)
{
m_pctrlFS = NULL;
m_pctrlGPS = NULL;
m_dfpDataSaver = NULL;
m_iFlagIsCapture = 0;
connect(this, &CMainGrabber::Signal_InitSelf, this, &CMainGrabber::Initialize_Self);
}
CMainGrabber::~CMainGrabber()
{
}
void CMainGrabber::SetRunParams(OneFSContext struFSRunParams)
{
m_struFSRunParams = struFSRunParams;
}
int CMainGrabber::SetContext(BD357Controller &pctrlGPS, DataFileProcessor &dfpDataSaver)
{
if (&pctrlGPS == NULL)
{
//qDebug() << "GPS Not Initialized";
printf("GPS Not Initialized");
return 1;
}
m_pctrlGPS = &pctrlGPS;
m_dfpDataSaver = &dfpDataSaver;
return 0;
}
int CMainGrabber::Initialize()
{
emit Signal_InitSelf();
return 0;
}
int CMainGrabber::StartGrab()
{
system("gpio write 5 1");
m_dfpDataSaver->GenerateFilePath();
m_pctrlFS->PerformAutoExposure();
DataFrame dfTemp;
m_iFlagIsCapture = 1;
while (m_iFlagIsCapture)
{
QTime qtTime;
qtTime.start();
////////////
system("gpio write 5 0");
qDebug() << "system IO";
m_pctrlFS->SingleShot(dfTemp);
qDebug() << "SingleShot";
RemoveBackground(dfTemp);
CheckExposureTime(dfTemp);
m_dfpDataSaver->WriteData(dfTemp);
system("gpio write 5 1");
////////////
//int iMillisec = qtTime.elapsed();
int iSleep =m_struFSRunParams.dMinSamplingInterval - qtTime.elapsed();
if (iSleep>0)
{
Delay_MSec(iSleep);
}
qDebug() << "Delay_MSec"<< iSleep;
}
return 0;
}
int CMainGrabber::Initialize_Self()
{
InitializeWorkers();
SetupMsgPipelines();
if (m_struFSRunParams.ucDeviceModel== DeviceModel::FLAME)
{
//do nothing
}
else
{
LoadDCT();
}
emit Signal_InitFinished();
return 0;
}
void CMainGrabber::Delay_MSec(ZZ_U16 usMS)
{
QEventLoop qeLoop;
QTimer::singleShot(usMS, &qeLoop, SLOT(quit()));
qeLoop.exec();
}
int CMainGrabber::InitializeWorkers()
{
if (m_pctrlFS == NULL)
{
m_pctrlFS = new CAbsFSController;
}
else
{
//???
}
m_pctrlFS->SetContext(m_struFSRunParams);
m_pctrlFS->Initialize();
while (!m_pctrlFS->m_iFlagInit)
{
Delay_MSec(1000);
}
m_pctrlFS->GetDeviceAttr(m_struDeviceAttr);
m_dfpDataSaver->WriteWavelengthInfo(m_struDeviceAttr.fWaveLengthInNM, m_struDeviceAttr.iPixels);
//////////////////////////////////////////////////////////////////////////20230713
if (m_struFSRunParams.dMinSamplingInterval < m_pctrlFS->m_struDeviceAttr.iMaxIntegrationTimeInMS)
{
m_pctrlFS->m_struDeviceAttr.iMaxIntegrationTimeInMS = m_struFSRunParams.dMinSamplingInterval * 2;
}
return 0;
}
int CMainGrabber::SetupMsgPipelines()
{
bool bRes = connect(m_pctrlGPS,&BD357Controller::Signal_StartCapture, this, &CMainGrabber::StartGrab);
return 0;
}
int CMainGrabber::LoadDCT()
{
m_vecDataFrame.clear();
m_DCTable.SetRunParams(m_struFSRunParams);
m_DCTable.Initialize_Part();
m_DCTable.LoadTable();
m_DCTable.GetDCTable(m_vecDataFrame);
return 0;
}
int CMainGrabber::CheckExposureTime(DataFrame dfTemp)
{
using namespace ZZ_MATH;
double dExpTimeMS;
int idExpTimeMS;
m_pctrlFS->GetExposureTime(idExpTimeMS);
qDebug() << "GetExposureTime" << idExpTimeMS;
dExpTimeMS = idExpTimeMS;
HeapSort(dfTemp.lData, m_struDeviceAttr.iPixels);
double dSum = 0;
int iCount = m_struDeviceAttr.iPixels / 200;
for (int i = 0; i < iCount; i++)
{
dSum += dfTemp.lData[i];
}
double dTemp = dSum / iCount;
if (dTemp >= m_struFSRunParams.lDepth * 0.99)
{
dExpTimeMS = dExpTimeMS /2;
}
else if (m_struFSRunParams.lDepth*m_struFSRunParams.fMaxFactor >= dTemp && dTemp >= m_struFSRunParams.lDepth * m_struFSRunParams.fMinFactor)
{
qDebug() << "SetExposureTime" << dExpTimeMS;
return 0;
}
else
{
double dFactor;
dFactor = dTemp / (m_struFSRunParams.lDepth * m_struFSRunParams.fMaxFactor);
dExpTimeMS = (float)(dExpTimeMS / dFactor);
}
if ((dExpTimeMS <= m_struDeviceAttr.iMinIntegrationTimeInMS)|| (dExpTimeMS > m_struDeviceAttr.iMaxIntegrationTimeInMS - 1))
{
if ((dExpTimeMS <= m_struDeviceAttr.iMinIntegrationTimeInMS))
{
dExpTimeMS = m_struDeviceAttr.iMinIntegrationTimeInMS;
qDebug() << "SetExposureTime out of range-Min";
return 1;
}
if ((dExpTimeMS > m_struDeviceAttr.iMaxIntegrationTimeInMS - 1))
{
dExpTimeMS = m_struDeviceAttr.iMaxIntegrationTimeInMS - 1;
qDebug() << "SetExposureTime out of range-Max";
return 2;
}
}
m_pctrlFS->SetExposureTime((int)dExpTimeMS);
qDebug() << "SetExposureTime" << dExpTimeMS;
return 0;
}
int CMainGrabber::RemoveBackground(DataFrame& dfTemp)
{
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѧ<EFBFBD>۰<EFBFBD><DBB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
if (m_struFSRunParams.ucDeviceModel==DeviceModel::FLAME)
{
double dBackground = 0;
for (int i=0;i< m_pctrlFS->m_vecDarkPixleIndices.size();i++)
{
dBackground += dfTemp.lData[m_pctrlFS->m_vecDarkPixleIndices[i]];
}
dBackground = dBackground / m_pctrlFS->m_vecDarkPixleIndices.size();
for (int i = 0; i < m_struDeviceAttr.iPixels; i++)
{
dfTemp.lData[i] = dfTemp.lData[i] - dBackground;
}
qDebug() << "FLAME Real Time Background" << dBackground;
}
else
{
int iA = dfTemp.usExposureTimeInMS / 10;
int iB = dfTemp.usExposureTimeInMS % 10;
qDebug() << "iA" << iA;
qDebug() << "iB" << iB;
if (iA == 0)
{
m_dfBackground = m_vecDataFrame[iB-1];
}
else
{
if (iA > 100)
{
m_dfBackground = m_vecDataFrame[m_vecDataFrame.size() - 1];
}
else if (iA <= 9 && iA >= 1)
{
m_dfBackground = m_vecDataFrame[8 + iA];
}
else
{
int iAA = dfTemp.usExposureTimeInMS / 100;
int iBB = dfTemp.usExposureTimeInMS % 100;
DataFrame dfTempX1, dfTempX2;
dfTempX1 = m_vecDataFrame[17 + iAA];
dfTempX2 = m_vecDataFrame[18 + iAA];
for (int i = 0; i < m_struDeviceAttr.iPixels; i++)
{
m_dfBackground.lData[i] = dfTempX1.lData[i] + (dfTempX2.lData[i] - dfTempX1.lData[i]) * (double)iBB / (double)100;
}
}
}
for (int i = 0; i < m_struDeviceAttr.iPixels; i++)
{
dfTemp.lData[i] = dfTemp.lData[i] - m_dfBackground.lData[i];
}
return 0;
}
}

View File

@ -0,0 +1,48 @@
#pragma once
#include "pch.h"
#include "AbsFSController.h"
#include "DataFileProcessor.h"
#include "BD357Ctrl.h"
#include "MakeDarkCurrentTable.h"
#include <atomic>
#include <vector>
class CMainGrabber :public QObject
{
Q_OBJECT
public:
CMainGrabber(QObject* parent = nullptr);
~CMainGrabber();
public:
void SetRunParams(OneFSContext struFSRunParams);
int SetContext(BD357Controller &pctrlGPS, DataFileProcessor &dfpDataSaver);
int Initialize();
public:
atomic_int m_iFlagIsCapture;
private:
MakeDCT m_DCTable;
OneFSContext m_struFSRunParams;
DataFileProcessor *m_dfpDataSaver;
CAbsFSController *m_pctrlFS;
BD357Controller *m_pctrlGPS;
std::vector<DataFrame> m_vecDataFrame;
DataFrame m_dfBackground;
DeviceAttribute m_struDeviceAttr;
private:
void Delay_MSec(ZZ_U16 usMS);
int InitializeWorkers();
int SetupMsgPipelines();
int LoadDCT();
int CheckExposureTime(DataFrame dfTemp);
int RemoveBackground (DataFrame &dfTemp);
public slots:
int StartGrab();
int Initialize_Self();
signals:
void Signal_InitSelf();
void Signal_InitFinished();
};

View File

@ -44,22 +44,23 @@ int ZZ_ATPControl_Serial_Qt::Initialize(bool bIsUSBMode, std::string ucPortNumbe
//emit SignalInit_Self();
QString qstrPortName = QString::fromStdString(ucPortNumber);
m_pSerialPort->setPortName(qstrPortName);
m_pSerialPort->setReadBufferSize(512);
bool bRes = m_pSerialPort->setBaudRate(m_iBaudRate);
if (!bRes)
{
qDebug() << "Err:setBaudRate Failed.Exit Code:1";
//qDebug() << "Err:setBaudRate Failed.Exit Code:1";
//std::cout << "Err.setBaudRate Failed" << std::endl;
printf("Err:setBaudRate Failed.Exit Code:1");
return 1;
}
bRes = m_pSerialPort->open(QIODevice::ReadWrite);
if (!bRes)
{
qDebug() << "Err:open Failed.Exit Code:2";
//qDebug() << "Err:open Failed.Exit Code:2";
//std::cout << "Err.open Failed" << std::endl;
printf("Err:open Failed.Exit Code:2");
return 2;
}
@ -76,8 +77,9 @@ int ZZ_ATPControl_Serial_Qt::Initialize(bool bIsUSBMode, std::string ucPortNumbe
std::string::size_type szPostion = m_diDeviceInfo.strSN.find(strDeviceName);
if (szPostion == std::string::npos)
{
qDebug() << "Err:FS serial number not match.Exit Code:3";
return 3;
printf("Err:FS serial number not match.Exit Code:3");
//qDebug() << "Err:FS serial number not match.Exit Code:3";
//return 3;
}
else
{
@ -100,19 +102,22 @@ int ZZ_ATPControl_Serial_Qt::GetDeviceInfo(DeviceInfo& Info)
int iRes = SendCommand(qbSend);
if (iRes != 0)
{
qDebug() << "Err:GetDeviceInfo Failed,Communication error.Exit Code:1";
//qDebug() << "Err:GetDeviceInfo Failed,Communication error.Exit Code:1";
printf("Err:GetDeviceInfo Failed,Communication error.Exit Code:1");
return 1;
}
iRes = RecvData(qbRecv);
if (iRes != 0)
{
qDebug() << "Err:GetDeviceInfo Failed,Communication error.Exit Code:1";
//qDebug() << "Err:GetDeviceInfo Failed,Communication error.Exit Code:1";
printf("Err:GetDeviceInfo Failed,Communication error.Exit Code:1");
return 1;
}
iRes = ParseData(qbRecv);
if (iRes != 0)
{
qDebug() << "Err:GetDeviceInfo Failed,Communication error.Exit Code:1";
//qDebug() << "Err:GetDeviceInfo Failed,Communication error.Exit Code:1";
printf("Err:GetDeviceInfo Failed,Communication error.Exit Code:1");
return 1;
}
m_diDeviceInfo.strPN = qbRecv.data();
@ -123,19 +128,22 @@ int ZZ_ATPControl_Serial_Qt::GetDeviceInfo(DeviceInfo& Info)
iRes = SendCommand(qbSend);
if (iRes != 0)
{
qDebug() << "Err:GetDeviceInfo Failed,Communication error.Exit Code:1";
//qDebug() << "Err:GetDeviceInfo Failed,Communication error.Exit Code:1";
printf("Err:GetDeviceInfo Failed,Communication error.Exit Code:1");
return 1;
}
iRes = RecvData(qbRecv);
if (iRes != 0)
{
qDebug() << "Err:GetDeviceInfo Failed,Communication error.Exit Code:1";
//qDebug() << "Err:GetDeviceInfo Failed,Communication error.Exit Code:1";
printf("Err:GetDeviceInfo Failed,Communication error.Exit Code:1");
return 1;
}
iRes = ParseData(qbRecv);
if (iRes != 0)
{
qDebug() << "Err:GetDeviceInfo Failed,Communication error.Exit Code:1";
//qDebug() << "Err:GetDeviceInfo Failed,Communication error.Exit Code:1";
printf("Err:GetDeviceInfo Failed,Communication error.Exit Code:1");
return 1;
}
m_diDeviceInfo.strSN = qbRecv.data();
@ -155,19 +163,22 @@ int ZZ_ATPControl_Serial_Qt::GetDeviceAttribute(DeviceAttribute& Attr)
int iRes = SendCommand(qbSend);
if (iRes != 0)
{
qDebug() << "Err:GetDeviceAttribute Failed,Communication error.Exit Code:1";
//qDebug() << "Err:GetDeviceAttribute Failed,Communication error.Exit Code:1";
printf("Err:GetDeviceAttribute Failed,Communication error.Exit Code:1");
return 1;
}
iRes = RecvData(qbRecv);
if (iRes != 0)
{
qDebug() << "Err:GetDeviceAttribute Failed,Communication error.Exit Code:1";
//qDebug() << "Err:GetDeviceAttribute Failed,Communication error.Exit Code:1";
printf("Err:GetDeviceAttribute Failed,Communication error.Exit Code:1");
return 1;
}
iRes = ParseData(qbRecv);
if (iRes != 0)
{
qDebug() << "Err:GetDeviceAttribute Failed,Communication error.Exit Code:1";
//qDebug() << "Err:GetDeviceAttribute Failed,Communication error.Exit Code:1";
printf("Err:GetDeviceAttribute Failed,Communication error.Exit Code:1");
return 1;
}
m_daDeviceAttr.iMinIntegrationTimeInMS = (ZZ_U8)qbRecv[1] + (ZZ_U8)qbRecv[0] * 256;
@ -178,19 +189,22 @@ int ZZ_ATPControl_Serial_Qt::GetDeviceAttribute(DeviceAttribute& Attr)
iRes = SendCommand(qbSend);
if (iRes != 0)
{
qDebug() << "Err:GetDeviceAttribute Failed,Communication error.Exit Code:1";
//qDebug() << "Err:GetDeviceAttribute Failed,Communication error.Exit Code:1";
printf("Err:GetDeviceAttribute Failed,Communication error.Exit Code:1");
return 1;
}
iRes = RecvData(qbRecv);
if (iRes != 0)
{
qDebug() << "Err:GetDeviceAttribute Failed,Communication error.Exit Code:1";
//qDebug() << "Err:GetDeviceAttribute Failed,Communication error.Exit Code:1";
printf("Err:GetDeviceAttribute Failed,Communication error.Exit Code:1");
return 1;
}
iRes = ParseData(qbRecv);
if (iRes != 0)
{
qDebug() << "Err:GetDeviceAttribute Failed,Communication error.Exit Code:1";
//qDebug() << "Err:GetDeviceAttribute Failed,Communication error.Exit Code:1";
printf("Err:GetDeviceAttribute Failed,Communication error.Exit Code:1");
return 1;
}
m_daDeviceAttr.iMaxIntegrationTimeInMS = (ZZ_U8)qbRecv[1] + (ZZ_U8)qbRecv[0] * 256;
@ -202,13 +216,15 @@ int ZZ_ATPControl_Serial_Qt::GetDeviceAttribute(DeviceAttribute& Attr)
iRes = SetExposureTime(m_daDeviceAttr.iMinIntegrationTimeInMS);
if (iRes != 0)
{
qDebug() << "Err:GetDeviceAttribute Failed,Call SetExposureTime error.Exit Code:2";
//qDebug() << "Err:GetDeviceAttribute Failed,Call SetExposureTime error.Exit Code:2";
printf("Err:GetDeviceAttribute Failed,Communication error.Exit Code:2");
//return 2;
}
iRes = SingleShot(m_daDeviceAttr.iPixels);
if (iRes != 0)
{
qDebug() << "Err:GetDeviceAttribute Failed,Call SingleShot error.Exit Code:3";
//qDebug() << "Err:GetDeviceAttribute Failed,Call SingleShot error.Exit Code:3";
printf("Err:GetDeviceAttribute Failed,Communication error.Exit Code:3");
return 3;
}
@ -223,19 +239,22 @@ int ZZ_ATPControl_Serial_Qt::GetDeviceAttribute(DeviceAttribute& Attr)
iRes = SendCommand(qbSend);
if (iRes != 0)
{
qDebug() << "Err:GetDeviceAttribute Failed,Communication error.Exit Code:1";
//qDebug() << "Err:GetDeviceAttribute Failed,Communication error.Exit Code:1";
printf("Err:GetDeviceAttribute Failed,Communication error.Exit Code:1");
return 1;
}
iRes = RecvData(qbRecv);
if (iRes != 0)
{
qDebug() << "Err:GetDeviceAttribute Failed,Communication error.Exit Code:1";
//qDebug() << "Err:GetDeviceAttribute Failed,Communication error.Exit Code:1";
printf("Err:GetDeviceAttribute Failed,Communication error.Exit Code:1");
return 1;
}
iRes = ParseData(qbRecv);
if (iRes != 0)
{
qDebug() << "Err:GetDeviceAttribute Failed,Communication error.Exit Code:1";
//qDebug() << "Err:GetDeviceAttribute Failed,Communication error.Exit Code:1";
printf("Err:GetDeviceAttribute Failed,Communication error.Exit Code:1");
return 1;
}
float fWaveLengthCoef[4];
@ -627,6 +646,7 @@ int ZZ_ATPControl_Serial_Qt::GetExposureTime(int& iExposureTimeInMS)
int ZZ_ATPControl_Serial_Qt::SingleShot(DataFrame& dfData)
{
dfData.usExposureTimeInMS = m_iExposureTime;
QByteArray qbSend, qbRecv;
qbSend.clear();
@ -635,7 +655,7 @@ int ZZ_ATPControl_Serial_Qt::SingleShot(DataFrame& dfData)
qbSend.resize(3);
// qbSend[1] = 0x00;
// qbSend[2] = 0x01;
qbSend[1] = m_iExposureTime >> 8;;
qbSend[1] = m_iExposureTime >> 8;
qbSend[2] = m_iExposureTime & 0xFF;
int iRes = SendCommand(qbSend);
if (iRes != 0)
@ -671,8 +691,6 @@ int ZZ_ATPControl_Serial_Qt::SingleShot(DataFrame& dfData)
for (size_t i = 0; i < iDataSizeInPixel; i++)
{
dfData.lData[i] = qToBigEndian(usData[i]);
}
// for (int i = 0; i < iDataSizeInPixel; i++)
// {

View File

@ -0,0 +1,274 @@
#include "DataFileProcessor.h"
DataFileProcessor::DataFileProcessor(QObject* parent /*= nullptr*/)
{
#ifdef _DEBUG
m_qstrFilePath = "E:/WorkSpace/TowerOptoSifAndSpectral/Data";
#else
m_qstrFilePath = "/home/data/Data";
m_qstrWavelengthInfoFileName = "/home/data/Data/WavelengthInfo.txt";
#endif // DEBUG
}
DataFileProcessor::~DataFileProcessor()
{
}
int DataFileProcessor::WriteWavelengthInfo(float *pfWaveLength, int iLength)
{
QFileInfo qfFileInfo(m_qstrWavelengthInfoFileName);
if (qfFileInfo.isFile())
{
return 0;
}
else
{
bool bRes = true;
QFile qfData(m_qstrWavelengthInfoFileName);
bRes = qfData.open(QFile::WriteOnly | QFile::Text | QFile::Truncate);
if (!bRes)
{
//qDebug() << "WriteEnvironmentInfo open Failed.";
printf("WriteWavelengthInfo QFile open Failed");
return 1;
}
QString qstrTemp = "wavelength = ";
qfData.write(qstrTemp.toLatin1());
qfData.write("{ ");
for (int i=0;i< iLength;i++)
{
qstrTemp =QString::number(pfWaveLength[i], 'f', 2);
if (i== (iLength-1))
{
qfData.write(qstrTemp.toLatin1());
}
else
{
qfData.write(qstrTemp.toLatin1());
qfData.write(", ");
}
}
qfData.write("}");
qfData.close();
}
return 0;
}
int DataFileProcessor::WriteData(DataFrame dfDataFrame)
{
QFile qfData(m_qstrFullFileName);
qDebug() << m_qstrFullFileName;
bool bRes = qfData.open(QFile::WriteOnly| QIODevice::Append);
if (!bRes)
{
printf("WriteData QFile open Failed");
return 0;
}
qfData.write((char*)&dfDataFrame, sizeof(DataFrame));
qfData.flush();
return 0;
}
void DataFileProcessor::LoadWaveLengthFile(QString qstrFileName)
{
//E:\WavelengthInfo.txt
QFile qfWavelength(qstrFileName);
//QFile qfWavelength();
bool bRes = qfWavelength.open(QFile::ReadOnly);
if (!bRes)
{
printf("LoadWaveLengthFile open Failed.");
return;
}
QString qsData = qfWavelength.readAll();
int iTemp = qsData.size();
qsData.remove(iTemp - 1, 1);
qsData.remove(0, 14);
QStringList qsList = qsData.split(',');
for (int i=0;i<qsList.size();i++)
{
qDebug() << qsList[i];
}
//iTemp = qsData.size();
return;
}
void DataFileProcessor::LoadSingleDataFile(QString qstrFileName)
{
QFile qfDataFile(qstrFileName);
DataFrame dfTemp;
bool bRes = qfDataFile.open(QFile::ReadOnly);
if (!bRes)
{
printf("LoadWaveLengthFile open Failed.");
return;
}
int iExpoTime=0;
std::vector<int> vecExpotime;
std::vector<double> vecDTime;
long long int llCount = (qfDataFile.size()) / (sizeof(DataFrame));
for (int i=0;i<llCount;i++)
{
QByteArray qbDataFrame = qfDataFile.read(sizeof(DataFrame));
memcpy(&dfTemp, qbDataFrame, sizeof(DataFrame));
vecExpotime.push_back(dfTemp.usExposureTimeInMS);
vecDTime.push_back(dfTemp.dTimes);
}
return;
}
void DataFileProcessor::RecoverBackground(QString qstrDataFileName, QString qstrBackgroundFileName)
{
int iExpoTime = 0;
std::vector<int> vecExpotime;
std::vector<double> vecDTime;
DataFrame dfDataTemp;
DataFrame m_dfBackground;
QString qstrFullFileName(qstrDataFileName+"recv");
QFile qfDataRec(qstrFullFileName);
bool bRes = qfDataRec.open(QFile::WriteOnly | QIODevice::Append);
if (!bRes)
{
printf("WriteData QFile open Failed");
return;
}
QFile qfDataFile(qstrDataFileName);
bRes = qfDataFile.open(QFile::ReadOnly);
if (!bRes)
{
printf("qstrDataFileName open Failed.");
return;
}
///
std::vector<DataFrame> m_vecDataFrame;
m_vecDataFrame.clear();
DataFrame dfDarkTemp;
QFile qfData(qstrBackgroundFileName);
bRes = qfData.open(QFile::ReadOnly);
if (!bRes)
{
//qDebug() << "LoadTable open Failed.";
printf("LoadTable open Failed.");
return;
}
QString qstrTemp;
QStringList qsList;
while (!qfData.atEnd())
{
QString data;
data = qfData.readLine();
qsList = data.split(',');
dfDarkTemp.usExposureTimeInMS = qsList[0].toInt();
for (int i = 0; i < qsList.size() - 1; i++)
{
dfDarkTemp.lData[i] = qsList[i + 1].toInt();
qDebug() << qsList[i] << ";";
}
m_vecDataFrame.push_back(dfDarkTemp);
qDebug() << qsList.size() << endl;
}
///
long long int llCount = (qfDataFile.size()) / (sizeof(DataFrame));
for (int i = 0; i < llCount; i++)
{
QByteArray qbDataFrame = qfDataFile.read(sizeof(DataFrame));
memcpy(&dfDataTemp, qbDataFrame, sizeof(DataFrame));
vecExpotime.push_back(dfDataTemp.usExposureTimeInMS);
vecDTime.push_back(dfDataTemp.dTimes);
if (dfDataTemp.usExposureTimeInMS<10)
{
int iB = dfDataTemp.usExposureTimeInMS % 10;
m_dfBackground = m_vecDataFrame[iB];
}
else if (dfDataTemp.usExposureTimeInMS >=10&& dfDataTemp.usExposureTimeInMS<=99)
{
int iA = dfDataTemp.usExposureTimeInMS / 10;
m_dfBackground = m_vecDataFrame[8 + iA];
}
for (int i = 0; i < 2048 ; i++)
{
dfDataTemp.lData[i] = dfDataTemp.lData[i] + m_dfBackground.lData[i];
}
double dBackground = 0;
int iCountBg = 0;
for (int i=6;i<21;i++)
{
dBackground = dBackground +dfDataTemp.lData[i];
iCountBg++;
}
dBackground = dBackground / iCountBg;
for (int i = 0; i < 2048; i++)
{
dfDataTemp.lData[i] = dfDataTemp.lData[i] - dBackground;
}
qfDataRec.write((char*)&dfDataTemp, sizeof(DataFrame));
qfDataRec.flush();
}
return;
}
void DataFileProcessor::GenerateFilePath()
{
m_qdtTime = QDateTime::currentDateTime();
// QTimeZone curZone;
// m_qdtTime.toTimeZone();
QString qstrAddYMD = m_qdtTime.toString("/yyyy_MM_dd");
m_qdtTime = m_qdtTime.addSecs(3600 * 8);
QString qstrAddHMS = m_qdtTime.toString("hh_mm_ss");
m_qstrFullFileName = m_qstrFilePath + qstrAddYMD;
QString qstrTemp= m_qstrFullFileName;
m_qstrFullFileName= m_qstrFullFileName+"/"+ qstrAddHMS+".dat";
QDir qdirPathTemp(m_qstrFilePath);
if (!qdirPathTemp.exists())
{
bool bRes = qdirPathTemp.mkdir(m_qstrFilePath);
if (!bRes)
{
//qDebug() << "DataFileProcessor mkdir Failed.";
printf("DataFileProcessor mkdir Failed");
}
}
QDir qdirPathTempA(qstrTemp);
if (!qdirPathTempA.exists())
{
bool bRes = qdirPathTempA.mkdir(qstrTemp);
if (!bRes)
{
//qDebug() << "DataFileProcessor mkdir Failed.";
printf("DataFileProcessor mkdir Failed");
}
}
}

View File

@ -0,0 +1,43 @@
#pragma once
#include "pch.h"
#include "ZZ_Types.h"
using namespace ZZ_MISCDEF::ZZ_DATAFILE;
using namespace ZZ_MISCDEF::ZZ_RUNPARAMS;
using namespace ZZ_MISCDEF::IRIS::FS;
class DataFileProcessor :public QObject
{
Q_OBJECT
public:
DataFileProcessor(QObject* parent = nullptr);
virtual ~DataFileProcessor();
public:
public:
void GenerateFilePath();
int WriteWavelengthInfo(float *pfWaveLength, int iLength);
int WriteData(DataFrame dfDataFrame);
void LoadWaveLengthFile(QString qstrFileName);
void LoadSingleDataFile(QString qstrFileName);
void RecoverBackground(QString qstrDataFileName, QString qstrBackgroundFileName);
//void SetEnvironmentContex(EContext struEC);
//void SetManmadeEnviromentalContext(MEContext struMEC);
//void SetDeviceInfo(FSContext struDeviceContext);
//void SetData(std::vector<std::vector<DataFrame>> vecData);
//bool WriteDataFile();
private:
//bool WriteEnvironmentInfo();
//void WriteDeviceInfo();
//bool WriteData();
public:
private:
QString m_qstrWavelengthInfoFileName;
QString m_qstrFullFileName;
QString m_qstrFileName;
QString m_qstrFilePath;
QDateTime m_qdtTime;
};

578
Source/FS/IS11_Ctrl_Qt.cpp Normal file
View File

@ -0,0 +1,578 @@
#include "IS11_Ctrl_Qt.h"
IS11_Ctrl_Qt::IS11_Ctrl_Qt(QObject* parent /*= nullptr*/)
{
m_pSerialPort = new QSerialPort;
m_iBaudRate = 921600;
}
IS11_Ctrl_Qt::~IS11_Ctrl_Qt()
{
delete m_pSerialPort;
}
int IS11_Ctrl_Qt::Initialize(bool bIsUSBMode, std::string ucPortNumber, std::string strDeviceName)
{
QString qstrPortName = QString::fromStdString(ucPortNumber);
m_pSerialPort->setPortName(qstrPortName);
m_pSerialPort->setReadBufferSize(512);
bool bRes = m_pSerialPort->setBaudRate(m_iBaudRate);
if (!bRes)
{
//qDebug() << "Err:setBaudRate Failed.Exit Code:1";
//std::cout << "Err.setBaudRate Failed" << std::endl;
printf("Err:setBaudRate Failed.Exit Code:1");
return 1;
}
bRes = m_pSerialPort->open(QIODevice::ReadWrite);
if (!bRes)
{
//qDebug() << "Err:open Failed.Exit Code:2";
//std::cout << "Err.open Failed" << std::endl;
printf("Err:open Failed.Exit Code:2");
return 2;
}
// int testi;
// GetDeviceAttribute(m_daDeviceAttr);
// GetExposureTime(testi);
// SetExposureTime(10000);
// DataFrame test;
// SingleShot(test);
GetDeviceInfo(m_diDeviceInfo);
//GetExposureTime_Init();
std::string::size_type szPostion = m_diDeviceInfo.strSN.find(strDeviceName);
if (szPostion == std::string::npos)
{
printf("Err:FS serial number not match.Exit Code:3");
//qDebug() << "Err:FS serial number not match.Exit Code:3";
//return 3;
}
else
{
return 0;
}
return 0;
}
void IS11_Ctrl_Qt::Close()
{
}
int IS11_Ctrl_Qt::SingleShot(DataFrame& dfData)
{
SendData_CMD03((char*)GET_ALL_DN, sizeof(GET_ALL_DN));
RecvData_CMD03(dfData);
GetExposureTime(m_iExposureTime);
dfData.usExposureTimeInMS = (unsigned short)m_iExposureTime;
return 0;
}
int IS11_Ctrl_Qt::SetExposureTime(int iExposureTimeInMS)
{
QByteArray qbaRecv;
qbaRecv.clear();
unsigned char pucExposureTime[2];
pucExposureTime[0] = iExposureTimeInMS / 256;
pucExposureTime[1] = iExposureTimeInMS % 256;
SendData_CMD06((char *)SET_INTEGRAL_TIME, sizeof(SET_INTEGRAL_TIME), (char*)pucExposureTime, 2);
//SendData_CMD03((char *)GET_INTEGRAL_TIME, sizeof(GET_INTEGRAL_TIME));
int iRes = RecvData_CMD06(qbaRecv);
return iRes;
}
int IS11_Ctrl_Qt::GetExposureTime(int & iExposureTimeInMS)
{
QByteArray qbaRecv;
qbaRecv.clear();
SendData_CMD03((char *)GET_INTEGRAL_TIME, sizeof(GET_INTEGRAL_TIME));
int iRes = RecvData_CMD03(qbaRecv);
iExposureTimeInMS = ((unsigned char)(qbaRecv[0]))*256+ (unsigned char)(qbaRecv[1]);
return iRes;
}
int IS11_Ctrl_Qt::GetDeviceInfo(DeviceInfo & Info)
{
Info.strPN = "IS11";
Info.strSN = "NULL";
return 0;
}
int IS11_Ctrl_Qt::GetDeviceAttribute(DeviceAttribute & Attr)
{
QByteArray qbaRecv;
qbaRecv.clear();
float fCoef[4];
unsigned short usTempCoef[8];
Attr.iPixels = 2048;
Attr.iMinIntegrationTimeInMS = 1;
Attr.iMaxIntegrationTimeInMS = 60000;
SendData_CMD03((char *)GET_WAVELENTH_COEFF, sizeof(GET_WAVELENTH_COEFF));
RecvData_CMD03(qbaRecv);
//memcpy(fTempCoef,qbaRecv,16);
memcpy(usTempCoef, qbaRecv, 16);
for (int i=0;i<8;i++)
{
usTempCoef[i] = qToBigEndian(usTempCoef[i]);
}
//float *pfTemp = (float*)usTempCoef;
memcpy(fCoef, usTempCoef,16);
//Conv_LTB((char*)fTempCoef,16);
for (int i = 1; i <= 2048; i++)
{
Attr.fWaveLengthInNM[i - 1] = fCoef[0] * i*i*i + fCoef[1] * i*i + fCoef[2] * i + fCoef[3];
//setem.WavelenthStr = setem.WavelenthStr + String(setem.wavelenthlist[i - 1]).c_str() + ",";
}
return 0;
}
int IS11_Ctrl_Qt::SetDeviceTemperature(float fTemperature)
{
return 0;
}
int IS11_Ctrl_Qt::GetDeviceTemperature(float & fTemperature)
{
fTemperature = -1000;
return 0;
}
int IS11_Ctrl_Qt::PerformAutoExposure(float fMinScaleFactor, float fMaxScaleFactor, float & fPredictedExposureTime)
{
return 0;
}
// unsigned short IS11_Ctrl_Qt::crc16(const uint8_t *pbdata, size_t sz)
// {
// uint16_t i, j, tmp, CRC16;
//
// CRC16 = 0xFFFF; // CRC<52>Ĵ<EFBFBD><C4B4><EFBFBD><EFBFBD><EFBFBD>ʼֵ
// for (i = 0; i < sz; i++)
// {
// CRC16 ^= pbdata[i];
// for (j = 0; j < 8; j++)
// {
// tmp = (uint16_t)(CRC16 & 0x0001);
// CRC16 >>= 1;
// if (tmp == 1)
// {
// CRC16 ^= 0xa001; // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ
// }
// }
// }
// return CRC16;
// }
unsigned short IS11_Ctrl_Qt::CalCRC16(const uint8_t *pbData, size_t szLength)
{
uint16_t usCRC16 = CRC16_INIT;
for (size_t i = 0; i < szLength; i++)
{
usCRC16 ^= pbData[i];
for (size_t j = 0; j < 8; j++)
{
if ((usCRC16 & 0x0001) != 0)
{
usCRC16 = (usCRC16 >> 1) ^ CRC16_POLYNOMIAL;
}
else
{
usCRC16 = usCRC16 >> 1;
}
}
}
return usCRC16;
}
void IS11_Ctrl_Qt::Conv_LTB(char * pcData, int iLength)
{
char *TempData = new char[iLength];
memcpy(TempData, pcData, iLength);
for (int i = 0; i < iLength / 2; i++)
{
pcData[2 * i] = TempData[2 * i + 1];
pcData[2 * i + 1] = TempData[2 * i];
/* code */
}
delete[] TempData;
}
int IS11_Ctrl_Qt::SendData_CMD03(char * pcCMD, size_t szCMDLength)
{
QString qstrSend,qstrCRC16;
QByteArray qbaSend;
qbaSend.clear();
//char *pctest=new char[szCMDLength+2];
//memcpy(pctest, pcCMD, szCMDLength);
//ushort ustest = crc16((unsigned char*)pcCMD,szCMDLength);
//qstrCRC16= QString::fromLatin1((const char*)usCRC16, (int)sizeof(uint16_t));
//memcpy(pctest+ szCMDLength,&usCRC16, 2);
//int iReturn = m_pSerialPort->write(pctest,szCMDLength+2);
//delete[] pctest;
uint16_t usCRC16 = CalCRC16((unsigned char*)pcCMD, szCMDLength);
qstrSend = QString::fromLatin1((const char*)pcCMD, (int)szCMDLength);
const char * pucSend = (char *)&usCRC16;
qbaSend.append(qstrSend);
qbaSend.append(pucSend, (int)sizeof(uint16_t));
int iReturn = m_pSerialPort->write(qbaSend);
return iReturn;
}
int IS11_Ctrl_Qt::RecvData_CMD03(QByteArray &qbaRecv)
{
int iRetryCount = 0;
QByteArray qbaOriRecv,qbaTemp;
qbaOriRecv.clear();
qbaTemp.clear();
///read all once
Read_IS11(qbaTemp);
qbaOriRecv.append(qbaTemp);
while (qbaOriRecv.size() < 2 || ParseHdr(qbaOriRecv, 3) == 1)
{
m_pSerialPort->waitForReadyRead(1000);
Read_IS11(qbaTemp);
qbaOriRecv.append(qbaTemp);
iRetryCount++;
if (iRetryCount>100)
{
qDebug() << "Recv Hdr Err.out of retry time.RecvData_CMD03";
return 1;
}
}
iRetryCount = 0;
while (qbaOriRecv.size()< qbaOriRecv[2]+5)
{
m_pSerialPort->waitForReadyRead(1000);
Read_IS11(qbaTemp);
qbaOriRecv.append(qbaTemp);
iRetryCount++;
if (iRetryCount > 66)
{
qDebug() << "Recv Data Err.out of retry time";
return 2;
}
}
if (qbaOriRecv.size()!= qbaOriRecv[2] + 5)
{
/// can be handled but dont want to
qDebug() << "Wrong Recv data size.RecvData_CMD03_QBA";
return 3;
}
unsigned short usCRCC=CalCRC16((unsigned char *)qbaOriRecv.data(), qbaOriRecv.size()-2);
char *pc = (char *)&usCRCC;
if ((pc[0]== qbaOriRecv[qbaOriRecv.size()-1]&& pc[1]== qbaOriRecv[qbaOriRecv.size()-2])||
(pc[0] == qbaOriRecv[qbaOriRecv.size()-2] && pc[1] == qbaOriRecv[qbaOriRecv.size()-1]))
{
qbaRecv = qbaOriRecv.mid(3, qbaOriRecv.length() - 5);
}
else
{
///error crc
qDebug() << "Recv data crc16 Err."<<pc[1]<< pc[0];
return 4;
}
/*while (ParseHdr(qbaOriRecv, 3)==1)
{
m_pSerialPort->waitForReadyRead(100);
Read_IS11(qbaTemp);
qbaOriRecv.append(qbaTemp);
}*/
return 0;
}
int IS11_Ctrl_Qt::RecvData_CMD03(DataFrame& dfData)
{
int iRecvDataLength = 0;
int iRetryCount = 0;
QByteArray qbaOriRecv, qbaTemp;
qbaOriRecv.clear();
qbaTemp.clear();
///read all once
Read_IS11(qbaTemp);
qbaOriRecv.append(qbaTemp);
while (qbaOriRecv.size() < 4 || ParseHdr(qbaOriRecv, 3) == 1)
{
m_pSerialPort->waitForReadyRead(1000);
Read_IS11(qbaTemp);
qbaOriRecv.append(qbaTemp);
iRetryCount++;
if (iRetryCount > 66)
{
qDebug() << "Recv Hdr Err.out of retry time";
return 1;
}
}
int length = qbaOriRecv[2] * 256 + qbaOriRecv[3];
iRetryCount = 0;
while (qbaOriRecv.size() < length + 4)
{
m_pSerialPort->waitForReadyRead(1000);
Read_IS11(qbaTemp);
qbaOriRecv.append(qbaTemp);
iRetryCount++;
if (iRetryCount > 66)
{
qDebug() << "Recv Data Err.out of retry time";
return 2;
}
}
if (qbaOriRecv.size() != length + 4)
{
/// can be handled but dont want to
qDebug() << "Wrong Recv data size.RecvData_CMD03_DF";
return 3;
}
QByteArray qbaData;
qbaData = qbaOriRecv.right(length - 4);
int iDataSizeInPixel = qbaData.size() / 2;
unsigned short *pusData = new unsigned short[iDataSizeInPixel];
memcpy(pusData, qbaData, iDataSizeInPixel * 2);
for (size_t i = 0; i < iDataSizeInPixel; i++)
{
dfData.lData[i] = qToBigEndian(pusData[i]);
//qDebug() << dfData.lData[i];
}
///it seems the manufacture not enable crc16 check for this function
// unsigned short usCRCC = CalCRC16((unsigned char *)qbaOriRecv.data(), qbaOriRecv.size() - 2);
// char *pc = (char *)&usCRCC;
// if ((pc[0] == qbaOriRecv[qbaOriRecv.size() - 1] && pc[1] == qbaOriRecv[qbaOriRecv.size() - 2]) ||
// (pc[0] == qbaOriRecv[qbaOriRecv.size() - 2] && pc[1] == qbaOriRecv[qbaOriRecv.size() - 1]))
// {
// //qbaRecv = qbaOriRecv.mid(3, qbaOriRecv.length() - 5);
// //dataframe process here
//
// }
// else
// {
// ///error crc
// qDebug() << "Recv data crc16 Err." << pc[1] << pc[0];
// return 4;
// }
return 0;
}
//int IS11_Ctrl_Qt::RecvData_CMD03(float& fWavelength)
//{
// int iRetryCount = 0;
// QByteArray qbaOriRecv, qbaTemp,qbaRecv;
// qbaOriRecv.clear();
// qbaTemp.clear();
// qbaRecv.clear();
//
// ///read all once
// Read_IS11(qbaTemp);
// qbaOriRecv.append(qbaTemp);
// while (qbaOriRecv.size() < 2 || ParseHdr(qbaOriRecv, 3) == 1)
// {
// m_pSerialPort->waitForReadyRead(100);
// Read_IS11(qbaTemp);
// qbaOriRecv.append(qbaTemp);
// iRetryCount++;
// if (iRetryCount > 20)
// {
// qDebug() << "Recv Hdr Err.out of retry time";
// return 1;
// }
// }
//
// iRetryCount = 0;
// while (qbaOriRecv.size() < qbaOriRecv[2] + 5)
// {
// m_pSerialPort->waitForReadyRead(100);
// Read_IS11(qbaTemp);
// qbaOriRecv.append(qbaTemp);
// iRetryCount++;
// if (iRetryCount > 20)
// {
// qDebug() << "Recv Data Err.out of retry time";
// return 2;
// }
// }
//
// if (qbaOriRecv.size() != qbaOriRecv[2] + 5)
// {
// /// can be handled but dont want to
// qDebug() << "Wrong Recv data size.";
// return 3;
// }
//
// unsigned short usCRCC = CalCRC16((unsigned char *)qbaOriRecv.data(), qbaOriRecv.size() - 2);
// char *pc = (char *)&usCRCC;
// if ((pc[0] == qbaOriRecv[qbaOriRecv.size() - 1] && pc[1] == qbaOriRecv[qbaOriRecv.size() - 2]) ||
// (pc[0] == qbaOriRecv[qbaOriRecv.size() - 2] && pc[1] == qbaOriRecv[qbaOriRecv.size() - 1]))
// {
// qbaRecv = qbaOriRecv.mid(3, qbaOriRecv.length() - 5);
// }
// else
// {
// ///error crc
// qDebug() << "Recv data crc16 Err." << pc[1] << pc[0];
// return 4;
// }
//
// fWavelength = qbaRecv.toFloat();
// return 0;
//}
int IS11_Ctrl_Qt::SendData_CMD06(char *pcCMD, size_t szCMDLength, char *pcValue, size_t szValueLenth)
{
// QString qstrSend, qstrSend1, qstrCRC16;///QByteArray append<6E><64><EFBFBD>ֶ<EFBFBD><D6B6><EFBFBD><EFBFBD>ֽ<EFBFBD>
// QByteArray qbaSend;
// qbaSend.clear();
//
// qstrSend = QString::fromLatin1(pcCMD, (int)szCMDLength);
// qbaSend.append(qstrSend);
//
// qstrSend1.clear();
// qstrSend1 = QString::fromLatin1(pcValue,(int)szValueLenth);
// qbaSend.append(qstrSend1);
QByteArray qbaSend;
qbaSend.append(pcCMD, szCMDLength);
qbaSend.append(pcValue, szValueLenth);
unsigned short usCRC16 = CalCRC16((unsigned char*)qbaSend.data(), qbaSend.size());
const char * pucSend = (char *)&usCRC16;
qbaSend.append(pucSend, (int)sizeof(unsigned short));
int iReturn = m_pSerialPort->write(qbaSend);
return 0;
}
int IS11_Ctrl_Qt::RecvData_CMD06(QByteArray &qbaRecv)
{
int iRetryCount = 0;
QByteArray qbaOriRecv, qbaTemp;
qbaOriRecv.clear();
qbaTemp.clear();
Read_IS11(qbaTemp);
qbaOriRecv.append(qbaTemp);
while (qbaOriRecv.size() < 2 || ParseHdr(qbaOriRecv, 6) == 1)
{
m_pSerialPort->waitForReadyRead(1000);
Read_IS11(qbaTemp);
qbaOriRecv.append(qbaTemp);
iRetryCount++;
if (iRetryCount > 100)
{
qDebug() << "Recv Hdr Err.out of retry time.RecvData_CMD06";
return 1;
}
}
iRetryCount = 0;
while (qbaOriRecv.size() < 8)
{
m_pSerialPort->waitForReadyRead(1000);
Read_IS11(qbaTemp);
qbaOriRecv.append(qbaTemp);
iRetryCount++;
if (iRetryCount > 66)
{
qDebug() << "Recv Data Err.out of retry time";
return 2;
}
}
if (qbaOriRecv.size() != 8)
{
/// can be handled but dont want to
qDebug() << "Wrong Recv data size.RecvData_CMD06";
return 3;
}
unsigned short usCRCC = CalCRC16((unsigned char *)qbaOriRecv.data(), qbaOriRecv.size() - 2);
char *pc = (char *)&usCRCC;
if ((pc[0] == qbaOriRecv[qbaOriRecv.size() - 1] && pc[1] == qbaOriRecv[qbaOriRecv.size() - 2]) ||
(pc[0] == qbaOriRecv[qbaOriRecv.size() - 2] && pc[1] == qbaOriRecv[qbaOriRecv.size() - 1]))
{
qbaRecv = qbaOriRecv.mid(2, 4);
}
else
{
///error crc
qDebug() << "Recv data crc16 Err." << pc[1] << pc[0];
return 4;
}
return 0;
}
int IS11_Ctrl_Qt::ParseHdr(QByteArray &qbaData, char cHdrType)
{
QByteArray qbaTemp(qbaData);
while ((qbaTemp[0] != (char)0x01) &&(qbaTemp[1] != cHdrType))
{
qbaTemp.remove(0, 1);
if (qbaTemp.size()<=2)
{
return 1;
}
}
if (qbaTemp!= qbaData)
{
///warning some communication error may happened.
qbaData = qbaTemp;
return 1000;
}
return 0;
}
int IS11_Ctrl_Qt::Write_IS11(char * pcCMD, size_t szCMDLength)
{
QString qstrSend;
QByteArray qbaSend;
qbaSend.clear();
qstrSend = QString::fromLatin1((const char*)pcCMD, (int)szCMDLength);
return (int)m_pSerialPort->write(qbaSend);
}
int IS11_Ctrl_Qt::Read_IS11(QByteArray &qbaRecv)
{
//m_pSerialPort->waitForReadyRead(100);
qbaRecv = m_pSerialPort->readAll();
return qbaRecv.size();
}

126
Source/FS/IS11_Ctrl_Qt.h Normal file
View File

@ -0,0 +1,126 @@
#pragma once
#include "IrisFiberSpectrometerBase.h"
#include <QtSerialPort/QSerialPort>
#define CRC16_INIT 0xFFFF
#define CRC16_POLYNOMIAL 0xa001
const uint8_t GET_ADDRESS[] = {0x01,0x03,0x00,0x01,0x00,0x01};
const uint8_t GET_BANDRATE[] = {0x01,0x03,0x00,0x02,0x00,0x01};
const uint8_t GET_INTEGRAL_TIME[] = {0x01,0x03,0x00,0x06,0x00,0x01};
const uint8_t GET_AVERAGE_NUMBER[] = {0x01,0x03,0x00,0x07,0x00,0x01};
const uint8_t GET_WAVELENTH_AT_BAND[] = {0x01,0x03,0x00,0x10,0x00,0x02};
const uint8_t GET_VALUE_AT_BAND[] = {0x01,0x03,0x00,0x30,0x00,0x02};
const uint8_t GET_SETTING_OF_LAMP[] = {0x01,0x03,0x00,0x04,0x00,0x01};
const uint8_t GET_WAVELENTH_COEFF[] = {0x01,0x03,0x00,0x20,0x00,0x08};
const uint8_t GET_ALL_DN[] = {0x01,0x03,0x01,0x00,0x10,0x00};
const uint8_t GET_SERIAL_NUMBER[] = {0x01,0x03,0x00,0x40,0x00,0x00};
const uint8_t GET_PRODUCT_NAME[] = {0x01,0x03,0x00,0x50,0x00,0x00};
const uint8_t SET_ADDRESS[] = {0x01,0x06,0x00,0x01};
const uint8_t SET_BandRATE[] = {0x01,0x06,0x00,0x02};
const uint8_t SET_INTEGRAL_TIME[] = {0x01,0x06,0x00,0x06};
const uint8_t SET_AVERAGE_NUMBER[] = {0x01,0x06,0x00,0x07};
const uint8_t SET_WORK_MODE[] = {0x01,0x06,0x00,0x01};
const uint8_t SET_WAVELENTH_COEFF[] = {0x01,0x10,0x00,0x20,0x00,0x08,0x16};
class IS11_Ctrl_Qt :public CIrisFSBase
{
Q_OBJECT
public:
IS11_Ctrl_Qt(QObject* parent = nullptr);
virtual ~IS11_Ctrl_Qt();
public:
//do not call
//int ReInit();
//<2F><><EFBFBD>ò<EFBFBD><C3B2><EFBFBD><EFBFBD><EFBFBD>
//int SetBaudRate(int iBaud);
//<2F><>ʼ<EFBFBD><CABC><EFBFBD>
int Initialize(bool bIsUSBMode, std::string ucPortNumber, std::string strDeviceName);
//<2F>ر<EFBFBD><D8B1>
void Close();
//<2F><><EFBFBD>β<EFBFBD><CEB2>Բɼ<D4B2> <20><><EFBFBD><EFBFBD>ȷ<EFBFBD><C8B7><EFBFBD><EFBFBD><E8B1B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
//int SingleShot(int& iPixels);
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݲɼ<DDB2>
int SingleShot(DataFrame& dfData);
//<2F><><EFBFBD>ΰ<EFBFBD><CEB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɼ<EFBFBD>
//int SingleShotDark(ATPDataFrame &dfData);
//int SingleShotDeducted(ATPDataFrame &dfData);
//<2F><><EFBFBD><EFBFBD><EFBFBD>ع<EFBFBD>ʱ<EFBFBD><CAB1>
int SetExposureTime(int iExposureTimeInMS);
//<2F><>ȡ<EFBFBD>ع<EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
int GetExposureTime(int& iExposureTimeInMS);
//int GetWaveLength(float *pfWaveLength);
//<2F><>ȡ<EFBFBD><EFBFBD><E8B1B8>Ϣ
int GetDeviceInfo(DeviceInfo& Info);
//<2F><>ȡ<EFBFBD><EFBFBD><E8B1B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
int GetDeviceAttribute(DeviceAttribute& Attr);
//int GetDeviceListInfo(); //use type name to enum
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
int SetDeviceTemperature(float fTemperature);
//<2F><>ȡ<EFBFBD><EFBFBD>
int GetDeviceTemperature(float& fTemperature);
//<2F>Զ<EFBFBD><D4B6>ع<EFBFBD>
int PerformAutoExposure(float fMinScaleFactor, float fMaxScaleFactor, float& fPredictedExposureTime);
#ifdef _DEBUG
public:
#else //
private:
#endif
//port
int m_iBaudRate;
QSerialPort* m_pSerialPort;
//ATP
DeviceInfo m_diDeviceInfo;
DeviceAttribute m_daDeviceAttr;
//Attr
int m_iExposureTime;
#ifdef _DEBUG
public:
#else //
private:
#endif
//unsigned short crc16(const uint8_t *pbdata, size_t sz);
unsigned short CalCRC16(const uint8_t *pbData, size_t szLength);
void Conv_LTB(char * pcData, int iLength);
int Write_IS11(char * pcCMD, size_t szCMDLength);
int Read_IS11(QByteArray &qbaRecv);
int SendData_CMD03(char * pcCMD, size_t szCMDLength);
int RecvData_CMD03(QByteArray &qbaRecv);
int RecvData_CMD03(DataFrame& dfData);
//int RecvData_CMD03(float& fWavelength);
//int RecvData_CMD03(DeviceAttribute& Attr);
int SendData_CMD06(char *pcCMD, size_t szCMDLength, char *pcValue, size_t szValueLenth);
int RecvData_CMD06(QByteArray &qbaRecv);
int SendData_CMD10(char * pcCMD, size_t szCMDLength);
int RecvData_CMD10(QByteArray &qbaRecv);
int ParseHdr(QByteArray &qbaData,char cHdrType);
};

View File

@ -1,3 +1,4 @@
#include "pch.h"
#include "OControl_USB.h"
#include <iostream>
#include <cstring>
@ -86,6 +87,27 @@ int OceanOptics_lib::Initialize(bool bIsUSBMode, std::string ucPortNumber, std::
SetExposureTime(minimum_time / 1000);
m_vecDarkPixels.clear();
int* piIndex = new int[64];
int iCount = seabreeze_get_electric_dark_pixel_indices(m_iSpectralmeterHandle, &error, piIndex, 64);
for (int i = 0; i < iCount; i++)
{
m_vecDarkPixels.push_back(piIndex[i]);
}
delete[] piIndex;
qDebug() << "from lib" << iCount;
//////////////////////////////////////////////////////////////////////////
/*CString cstrTemp, cstrTemp1;
for (int i=0;i< m_vecDarkPixels.size();i++)
{
cstrTemp1.Format(_T("%d"), m_vecDarkPixels[i]);
cstrTemp = cstrTemp+L"-"+cstrTemp1;
}
AfxMessageBox(cstrTemp);*/
//////////////////////////////////////////////////////////////////////////
return 0;
}
@ -106,6 +128,7 @@ int OceanOptics_lib::Initialize()
if (0 == flag)
{
m_iSpectralmeterHandle = i;
printf("Open spectrometer result is (%d) [%s]\n", flag, get_error_string(error));
break;
}
else
@ -145,6 +168,27 @@ int OceanOptics_lib::Initialize()
SetExposureTime(minimum_time / 1000);
m_vecDarkPixels.clear();
int *piIndex=new int[64];
int iCount = seabreeze_get_electric_dark_pixel_indices(m_iSpectralmeterHandle,&error, piIndex,64);
for (int i=0;i< iCount;i++)
{
m_vecDarkPixels.push_back(piIndex[i]);
}
delete[] piIndex;
qDebug() << "from lib" << iCount;
//////////////////////////////////////////////////////////////////////////
/*CString cstrTemp, cstrTemp1;
for (int i=0;i< m_vecDarkPixels.size();i++)
{
cstrTemp1.Format(_T("%d"), m_vecDarkPixels[i]);
cstrTemp = cstrTemp+L"-"+cstrTemp1;
}
AfxMessageBox(cstrTemp);*/
//////////////////////////////////////////////////////////////////////////
return 0;
}
@ -285,7 +329,7 @@ int OceanOptics_lib::SingleShot(DataFrame &dfData)
for (int tmp = 0; tmp < spec_length; tmp++)
{
dfData.lData[tmp] = spectrum[tmp];
dfData.lData[tmp] = (unsigned int)spectrum[tmp];
}
int exposureTimeInMS;
@ -415,7 +459,7 @@ int OceanOptics_lib::GetDeviceTemperature(float &fTemperature)
return 1;
}
fTemperature = temp;
fTemperature = (float)temp;
return 0;
}
@ -483,7 +527,7 @@ int OceanOptics_lib::GetDeviceAttribute(DeviceAttribute &Attr)
for (int tmp = 0; tmp < spec_length; tmp++)
{
Attr.fWaveLengthInNM[tmp] = wls[tmp];
Attr.fWaveLengthInNM[tmp] = (float)wls[tmp];
}
free(wls);

View File

@ -2,6 +2,7 @@
#include <cstdio>
#include <cstdlib>
#include <ctime>
#include <vector>
#include "api/SeaBreezeWrapper.h"
#include "IrisFiberSpectrometerBase.h"
@ -51,7 +52,8 @@ private:
int m_iExposureTime;
bool isSuccess(char* resultStr);
string GetDeviceType(int index);
string GetSerialNumber(int index);
public:
std::vector<int> m_vecDarkPixels;
};

View File

@ -60,7 +60,8 @@ namespace ZZ_MISCDEF
QEP,
ISIF,
IS1,
IS2
IS2,
IS11
};
@ -76,6 +77,7 @@ namespace ZZ_MISCDEF
case DeviceModel::ISIF: return "ISIF"; break;
case DeviceModel::IS1: return "IS1"; break;
case DeviceModel::IS2: return "IS2"; break;
case DeviceModel::IS11: return "IS11"; break;
default: return "error"; break;
}
}
@ -111,6 +113,10 @@ namespace ZZ_MISCDEF
{
return DeviceModel::IS2;
}
else if (strDeviceModelName == "IS11")
{
return DeviceModel::IS11;
}
else
{
return -1;
@ -263,6 +269,11 @@ namespace ZZ_MISCDEF
QString qsISIF_CalibrationFilePath[4];
QString qsIS1_CalibrationFilePath[4];
}ATPCalibrationSettings;
// typedef struct tagFODISRuntimeParams
// {
// int iMinScanIntervalInMS;//millisecond
// }FodisRP;
}
//系统数据文件结构

View File

@ -1,13 +1,17 @@
#include "BD357Ctrl.h"
#include "MainGrabber.h"
#include "lwgps.h"
#include "lwrb.h"
#include "time.h"
BD357Controller::BD357Controller(QObject* parent /*= nullptr*/)
{
m_iFlagIsGPSValid = 0;
m_iFlagIsContinuousUpdating = 0;
m_pSerialPort = NULL;
//connect(m_pSerialPort, &QSerialPort::readyRead, this, &BD357Controller::HandleReadyRead);
connect(this, &BD357Controller::Signal_InitSelf, this, &BD357Controller::Slot_InitSelf);
//connect(m_pMainGrabber,&CMainGrabber::Signal_InitFinished,this, &BD357Controller::Slot_SyncDateOnce);
}
@ -21,21 +25,37 @@ BD357Controller::~BD357Controller()
}
}
int BD357Controller::SetContext(CMainGrabber& pMainGrabber)
{
m_pMainGrabber = &pMainGrabber;
return 0;
}
int BD357Controller::SetupMessagePipeline()
{
connect(m_pMainGrabber, &CMainGrabber::Signal_InitFinished, this, &BD357Controller::Slot_SyncDateOnce);
return 0;
}
int BD357Controller::SyncDateOnce()
{
using namespace ZZ_MISCDEF;
//bool bFlagFinish = 1;
bool bFlagFinish = false;
size_t uiCount = 0;
ZZ_U8 u8Rx,u8Tx;
//ZZ_U8 u8Rx,u8Tx;
while (!bFlagFinish)
{
m_qbReadData.clear();
while (m_qbReadData.size()< 1000)
{
m_pSerialPort->waitForReadyRead(1000);
m_qbReadData.append(m_pSerialPort->readAll());
qDebug() << "waiting for gps data..." << m_qbReadData.size();
}
qDebug() << m_qbReadData.size() << endl;
@ -58,7 +78,7 @@ int BD357Controller::SyncDateOnce()
}*/
}
//need to disable
qDebug() << "one status :"<< m_hLWGPS.is_valid << m_hLWGPS .sats_in_use<< m_hLWGPS .year<<"-" << m_hLWGPS .month<<"-" << m_hLWGPS.date << "-" << m_hLWGPS.hours << ":" << m_hLWGPS.minutes << ":" << m_hLWGPS.seconds << ":" << endl;
//qDebug() << "one status :"<< m_hLWGPS.is_valid << m_hLWGPS .sats_in_use<< m_hLWGPS .year<<"-" << m_hLWGPS .month<<"-" << m_hLWGPS.date << "-" << m_hLWGPS.hours << ":" << m_hLWGPS.minutes << ":" << m_hLWGPS.seconds << ":" << endl;
int iRes = ZZ_FormatTime(m_hLWGPS.year, m_hLWGPS.month, m_hLWGPS.date, m_hLWGPS.hours, m_hLWGPS.minutes, m_hLWGPS.seconds);
if (iRes != 0)
{
@ -67,16 +87,57 @@ int BD357Controller::SyncDateOnce()
else
{
bFlagFinish = 1;
time_t stdtime = m_qdtDateTime.toTime_t();
time_t stdtimeUTC = m_qdtDateTimeUTC.toTime_t();
#ifdef WIN32
#else
stime(&stdtimeUTC);
#endif
system("gpio write 4 1");
qDebug() << "system(gpio write 4 1)";
//
//m_qdtDateTime.currentMSecsSinceEpoch
//m_qdtDateTime.currentMSecsSinceEpoch();
}
//bFlagFinish = 1;
}
qDebug() << "Signal_StartCapture emitted.";
emit Signal_StartCapture();
return 0;
}
int BD357Controller::StartContinuousUpdating()
{
m_iFlagIsContinuousUpdating = 1;
while (m_iFlagIsContinuousUpdating)
{
m_qbReadData.clear();
while (m_qbReadData.size() < 1000)
{
m_pSerialPort->waitForReadyRead(1000);
m_qbReadData.append(m_pSerialPort->readAll());
}
//qDebug() << m_qbReadData.size() << endl;
lwgps_process(&m_hLWGPS, m_qbReadData, m_qbReadData.size());
if (m_hLWGPS.is_valid&&(!m_iFlagIsGPSValid))
{
emit Signal_UpdateStatus(1);
}
if ((!m_hLWGPS.is_valid)&& m_iFlagIsGPSValid)
{
emit Signal_UpdateStatus(0);
}
m_qbReadData.clear();
}
return 0;
}
@ -85,10 +146,19 @@ int BD357Controller::Initialize(GPSInfo &struGPSI)
{
m_struGPSInfo = struGPSI;
emit Signal_InitSelf();
return 0;
}
int BD357Controller::VSlot_SkipSyncDateOnce()
{
emit Signal_StartCapture();
qDebug() << "Signal_StartCapture";
return 0;
}
int BD357Controller::ZZ_FormatTime(ZZ_U8 u8Year, ZZ_U8 u8Month, ZZ_U8 u8Day, ZZ_U8 u8Hour, ZZ_U8 u8Minute, ZZ_U8 u8Second)
{
int iYear = u8Year + 2000;
@ -97,7 +167,11 @@ int BD357Controller::ZZ_FormatTime(ZZ_U8 u8Year, ZZ_U8 u8Month, ZZ_U8 u8Day, ZZ_
if (qdtTestDate.isValid())
{
m_qdtDateTime = qdtTestDate;
qDebug() << qdtTestDate;
m_qdtDateTime = qdtTestDate;
m_qdtDateTimeUTC = qdtTestDate;
//UTC+0 to UTC+8
m_qdtDateTime.addSecs(3600 * 8);
return 0;
}
else
@ -109,16 +183,13 @@ int BD357Controller::ZZ_FormatTime(ZZ_U8 u8Year, ZZ_U8 u8Month, ZZ_U8 u8Day, ZZ_
//bool b1 = startDate.isValid();
//QString end = startDate.toString("yyyy.MM.dd hh:mm:ss");
//qDebug() << end;
//QString qstrSyncDate = QString("%1-%2-%3-%4-%5-%6").arg(iYear, 4, 10, QLatin1Char('0')).arg(u8Month, 2, 10, QLatin1Char('0'))
// .arg(u8Day, 2, 10, QLatin1Char('0')).arg(u8Hour, 2, 10, QLatin1Char('0'))
// .arg(u8Minute, 2, 10, QLatin1Char('0')).arg(u8Second, 2, 10, QLatin1Char('0'));
//
//m_qdtDateTime.fromString(qstrSyncDate, "yyyy-MM-dd-hh-mm-ss");
//qDebug() << qstrSyncDate;
//bool b = m_qdtDateTime.isValid();
//QString begin = m_qdtDateTime.toString("yyyy.MM.dd hh:mm:ss");
//qDebug() << begin;
/*qstrSyncDate = "20" + QString::number(m_hLWGPS.year) + "-"
@ -154,7 +225,8 @@ int BD357Controller::Slot_InitSelf()
bool bRes = m_pSerialPort->setBaudRate(m_struGPSInfo.iBaud);
if (!bRes)
{
qDebug() << "Err:setBaudRate Failed.Exit Code:1";
//qDebug() << "Err:setBaudRate Failed.Exit Code:1";
printf("Err:setBaudRate Failed.Exit Code:1");
//std::cout << "Err.setBaudRate Failed" << std::endl;
return 1;
}
@ -162,7 +234,8 @@ int BD357Controller::Slot_InitSelf()
bRes = m_pSerialPort->open(QIODevice::ReadWrite);
if (!bRes)
{
qDebug() << "Err:open Failed.Exit Code:2";
//qDebug() << "Err:open Failed.Exit Code:2";
printf("Err:open Failed.Exit Code:2");
//std::cout << "Err.open Failed" << std::endl;
return 2;
}
@ -171,6 +244,15 @@ int BD357Controller::Slot_InitSelf()
lwgps_init(&m_hLWGPS);
lwrb_init(&m_hlwrbBuffer, m_u8GPSDataBuffer, sizeof(m_u8GPSDataBuffer));
return 0;
}
int BD357Controller::Slot_SyncDateOnce()
{
//emit Signal_StartCapture();
SyncDateOnce();
return 0;
}
//

View File

@ -6,6 +6,8 @@
#include <atomic>
using namespace ZZ_MISCDEF;
using namespace ZZ_MISCDEF::MISC_DETECTOR;
class CMainGrabber;
class BD357Controller :public QObject
{
Q_OBJECT
@ -13,30 +15,39 @@ public:
BD357Controller(QObject* parent = nullptr);
~BD357Controller();
private:
std::atomic<int> m_iFlagIsGPSValid;
std::atomic<int> m_iFlagIsContinuousUpdating;
std::atomic<int> m_iFlagIsConnected;
public:
int SetContext(CMainGrabber &pMainGrabber);
int SetupMessagePipeline();
int SyncDateOnce();
int StartContinuousUpdating();
int Initialize(GPSInfo &struGPSI);
//test func
int VSlot_SkipSyncDateOnce();
private:
int ZZ_FormatTime(ZZ_U8 u8Year,ZZ_U8 u8Month, ZZ_U8 u8Day, ZZ_U8 u8Hour, ZZ_U8 u8Minute, ZZ_U8 u8Second);
public slots:
int Slot_InitSelf();
int Slot_SyncDateOnce();
private slots:
//int HandleReadyRead();
signals:
void Signal_InitSelf();
void Signal_StartCapture();
void Signal_UpdateStatus(int iValid);
void Signal_UpdateDate(QTime qDate);
private:
QDateTime m_qdtDateTime;
GPSInfo m_struGPSInfo;
ZZ_U8 m_u8GPSDataBuffer[10];
lwgps_t m_hLWGPS;
lwrb_t m_hlwrbBuffer;
int m_iBaudRate;
QSerialPort* m_pSerialPort;
QByteArray m_qbReadData;
QDateTime m_qdtDateTime, m_qdtDateTimeUTC;
GPSInfo m_struGPSInfo;
ZZ_U8 m_u8GPSDataBuffer[10];
lwgps_t m_hLWGPS;
lwrb_t m_hlwrbBuffer;
int m_iBaudRate;
QSerialPort* m_pSerialPort;
QByteArray m_qbReadData;
CMainGrabber* m_pMainGrabber;
};

Some files were not shown because too many files have changed in this diff Show More