Browse Source

add src1/detection/detection_delphi_esr, but not complete.

yuchuli 3 years ago
parent
commit
f09e84c330

+ 73 - 0
src1/detection/detection_radar_delphi_esr/.gitignore

@@ -0,0 +1,73 @@
+# This file is used to ignore files which are generated
+# ----------------------------------------------------------------------------
+
+*~
+*.autosave
+*.a
+*.core
+*.moc
+*.o
+*.obj
+*.orig
+*.rej
+*.so
+*.so.*
+*_pch.h.cpp
+*_resource.rc
+*.qm
+.#*
+*.*#
+core
+!core/
+tags
+.DS_Store
+.directory
+*.debug
+Makefile*
+*.prl
+*.app
+moc_*.cpp
+ui_*.h
+qrc_*.cpp
+Thumbs.db
+*.res
+*.rc
+/.qmake.cache
+/.qmake.stash
+
+# qtcreator generated files
+*.pro.user*
+
+# xemacs temporary files
+*.flc
+
+# Vim temporary files
+.*.swp
+
+# Visual Studio generated files
+*.ib_pdb_index
+*.idb
+*.ilk
+*.pdb
+*.sln
+*.suo
+*.vcproj
+*vcproj.*.*.user
+*.ncb
+*.sdf
+*.opensdf
+*.vcxproj
+*vcxproj.*
+
+# MinGW generated files
+*.Debug
+*.Release
+
+# Python byte code
+*.pyc
+
+# Binaries
+# --------
+*.dll
+*.exe
+

+ 31 - 0
src1/detection/detection_radar_delphi_esr/detection_radar_delphi_esr.pro

@@ -0,0 +1,31 @@
+QT -= gui
+
+CONFIG += c++11 console
+CONFIG -= app_bundle
+
+# The following define makes your compiler emit warnings if you use
+# any Qt feature that has been marked deprecated (the exact warnings
+# depend on your compiler). Please consult the documentation of the
+# deprecated API in order to know how to port your code away from it.
+DEFINES += QT_DEPRECATED_WARNINGS
+
+# You can also make your code fail to compile if it uses deprecated APIs.
+# In order to do so, uncomment the following line.
+# You can also select to disable deprecated APIs only up to a certain version of Qt.
+#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0
+
+SOURCES += \
+        main.cpp
+
+# Default rules for deployment.
+qnx: target.path = /tmp/$${TARGET}/bin
+else: unix:!android: target.path = /opt/$${TARGET}/bin
+!isEmpty(target.path): INSTALLS += target
+
+!include(../../../include/ivprotobuf.pri ) {
+    error( "Couldn't find the ivprotobuf.pri file!" )
+}
+
+!include(../interface/ivdetection_radar.pri ) {
+    error( "Couldn't find the ivdetection_radar.pri file!" )
+}

+ 8 - 0
src1/detection/detection_radar_delphi_esr/main.cpp

@@ -0,0 +1,8 @@
+#include <QCoreApplication>
+
+int main(int argc, char *argv[])
+{
+    QCoreApplication a(argc, argv);
+
+    return a.exec();
+}

+ 10 - 0
src1/detection/interface/ivdetection.cpp

@@ -0,0 +1,10 @@
+#include "ivdetection.h"
+
+namespace iv {
+
+ivdetection::ivdetection()
+{
+
+}
+
+}

+ 17 - 0
src1/detection/interface/ivdetection.h

@@ -0,0 +1,17 @@
+#ifndef IVDETECTION_H
+#define IVDETECTION_H
+
+#include "ivmodule.h"
+
+namespace iv {
+
+
+class ivdetection : public ivmodule
+{
+public:
+    ivdetection();
+};
+
+}
+
+#endif // IVDETECTION_H

+ 9 - 0
src1/detection/interface/ivdetection_radar.cpp

@@ -0,0 +1,9 @@
+#include "ivdetection_radar.h"
+
+namespace iv {
+
+ivdetection_radar::ivdetection_radar()
+{
+
+}
+}

+ 15 - 0
src1/detection/interface/ivdetection_radar.h

@@ -0,0 +1,15 @@
+#ifndef IVDETECTION_RADAR_H
+#define IVDETECTION_RADAR_H
+
+#include "ivdetection.h"
+
+namespace iv {
+class ivdetection_radar : public ivdetection
+{
+public:
+    ivdetection_radar();
+};
+
+}
+
+#endif // IVDETECTION_RADAR_H

+ 30 - 0
src1/detection/interface/ivdetection_radar.pri

@@ -0,0 +1,30 @@
+HEADERS += \
+    $$PWD/../../interface/ivmodule.h \
+    $$PWD/ivdetection.h \
+    $$PWD/ivdetection_radar.h
+
+SOURCES += \
+    $$PWD/../../interface/ivmodule.cpp \
+    $$PWD/ivdetection.cpp \
+    $$PWD/ivdetection_radar.cpp
+
+INCLUDEPATH += $$PWD/../interface
+INCLUDEPATH += $$PWD/../../interface
+
+INCLUDEPATH += $$PWD/../../common/modulecomm
+
+INCLUDEPATH += $$PWD/../../common/modulecomm_shm
+INCLUDEPATH += $$PWD/../../common/modulecomm_fastrtps
+INCLUDEPATH += $$PWD/../../common/modulecomm_inter
+
+LIBS += -L$$PWD/../../common/build-modulecomm-Debug -lmodulecomm
+LIBS += -L$$PWD/../../common/build-modulecomm_fastrtps-Debug -lmodulecomm_fastrtps
+LIBS += -L$$PWD/../../common/build-modulecomm_shm-Debug -lmodulecomm_shm
+LIBS += -L$$PWD/../../common/build-modulecomm_inter-Debug -lmodulecomm_inter
+
+
+INCLUDEPATH += $$PWD/../../../src/common/xmlparam
+LIBS += -L$$PWD/../../../bin/ -lxmlparam
+
+INCLUDEPATH += $$PWD/../../../src/include/msgtype
+