diff --git a/.gitignore b/.gitignore index 173cd308..55f133a5 100644 --- a/.gitignore +++ b/.gitignore @@ -81,3 +81,4 @@ /Projects/QT-Gui-App/Win32-QT-gui-application_2019.exe /Release /Debug +/Linux_Workspace.vpwhistu \ No newline at end of file diff --git a/Linux_Workspace.vpw b/Linux_Workspace.vpw index fd9aa031..e2712363 100644 --- a/Linux_Workspace.vpw +++ b/Linux_Workspace.vpw @@ -1,6 +1,7 @@ + diff --git a/Projects/3dClientGui/3dClientGui.vpj b/Projects/3dClientGui/3dClientGui.vpj new file mode 100644 index 00000000..f6c7a7fe --- /dev/null +++ b/Projects/3dClientGui/3dClientGui.vpj @@ -0,0 +1,540 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Projects/3dClientGui/makefile b/Projects/3dClientGui/makefile new file mode 100644 index 00000000..0a922220 --- /dev/null +++ b/Projects/3dClientGui/makefile @@ -0,0 +1,311 @@ +# SlickEdit generated file. Do not edit this file except in designated areas. + +# Make command to use for dependencies +MAKE=make +RM=rm +MKDIR=mkdir + +# -----Begin user-editable area----- + +# -----End user-editable area----- + +# If no configuration is specified, "Debug" will be used +ifndef CFG +CFG=Debug +endif + +# +# Configuration: Debug +# +ifeq "$(CFG)" "Debug" +OUTDIR=Debug +OUTFILE=$(OUTDIR)/3dClientGui +CFG_INC=-I/usr/local/Qt-5.9.5/include -I/usr/local/include \ + -I/usr/include +CFG_LIB=-lcurl -lpthread `pkg-config --libs opencv Qt53DAnimation \ + Qt53DCore Qt53DExtras Qt53DInput Qt53DLogic Qt53DQuickAnimation \ + Qt53DQuickExtras Qt53DQuickInput Qt53DQuick Qt53DQuickRender \ + Qt53DQuickScene2D Qt53DRender Qt5Bluetooth Qt5Charts Qt5Concurrent \ + Qt5Core Qt5DataVisualization Qt5DBus Qt5Gamepad Qt5Gui Qt5Help \ + Qt5Location Qt5Multimedia Qt5MultimediaWidgets Qt5NetworkAuth \ + Qt5Network Qt5Nfc Qt5OpenGLExtensions Qt5OpenGL Qt5Positioning \ + Qt5PrintSupport Qt5Purchasing Qt5Qml Qt5QuickControls2 Qt5Quick \ + Qt5QuickTest Qt5QuickWidgets Qt5RemoteObjects Qt5Script \ + Qt5ScriptTools Qt5Scxml Qt5Sensors Qt5SerialBus Qt5SerialPort Qt5Sql \ + Qt5Svg Qt5Test Qt5TextToSpeech Qt5UiTools Qt5WaylandClient \ + Qt5WaylandCompositor Qt5WebChannel Qt5WebSockets Qt5Widgets \ + Qt5X11Extras Qt5XmlPatterns Qt5Xml` -lGL -lGLU -lc -lm -lz \ + -lconfig++ +CFG_OBJ= +COMMON_OBJ=$(OUTDIR)/addDeviceDialog.o $(OUTDIR)/addSourceDialog.o \ + $(OUTDIR)/DeviceChooser.o $(OUTDIR)/EventViewWidget.o \ + $(OUTDIR)/FSVideoWidget.o $(OUTDIR)/LrfSensorWidget.o \ + $(OUTDIR)/OGLRadarWidget.o $(OUTDIR)/RadarMapWidget.o \ + $(OUTDIR)/RangeMapWidget.o $(OUTDIR)/ReportsManagerWindow.o \ + $(OUTDIR)/SettingsCamera.o $(OUTDIR)/SettingsLGS.o \ + $(OUTDIR)/TimeShowWidget.o $(OUTDIR)/VideoSourceChooser.o \ + $(OUTDIR)/VideoThumbWidget.o $(OUTDIR)/VideoWidget.o \ + $(OUTDIR)/guiClass.o $(OUTDIR)/mask.o $(OUTDIR)/base64.o \ + $(OUTDIR)/libzip.o $(OUTDIR)/md5.o $(OUTDIR)/Transform.o \ + $(OUTDIR)/utm.o $(OUTDIR)/basicCamera.o $(OUTDIR)/basicCameraInfo.o \ + $(OUTDIR)/basicCameraPTZ.o $(OUTDIR)/basicDualThread.o \ + $(OUTDIR)/basicEvent.o $(OUTDIR)/basicEventHandler.o \ + $(OUTDIR)/basicEventHeap.o $(OUTDIR)/basicEvtDispatcher.o \ + $(OUTDIR)/basicFunctionality.o $(OUTDIR)/basicLIBAV.o \ + $(OUTDIR)/basicLogCollection.o $(OUTDIR)/basicLoggingService.o \ + $(OUTDIR)/basicMediaDestination.o $(OUTDIR)/basicMediaSource.o \ + $(OUTDIR)/basicMutex.o $(OUTDIR)/basicReportRecord.o \ + $(OUTDIR)/basicThread.o $(OUTDIR)/basicVideoAnalyzer.o \ + $(OUTDIR)/OnvifVideoSourceFinder.o $(OUTDIR)/lapsedVideoRecorder.o \ + $(OUTDIR)/mediaVideoSourceManager.o \ + $(OUTDIR)/videoAVLIBDestination.o $(OUTDIR)/videoAVLIBSource.o \ + $(OUTDIR)/videoNode.o $(OUTDIR)/objectCamera_ONVIF_PTZ.o \ + $(OUTDIR)/objectCamera_VISCA_PTZ.o $(OUTDIR)/objectCameraPTZ.o \ + $(OUTDIR)/objectDVR.o $(OUTDIR)/objectEventReport.o \ + $(OUTDIR)/objectFileLoggingService.o $(OUTDIR)/objectLGS.o \ + $(OUTDIR)/objectOnVifCamera.o $(OUTDIR)/objectSensorsEnumirator.o \ + $(OUTDIR)/objectStaticCamera.o $(OUTDIR)/objectSystemAnchor.o \ + $(OUTDIR)/main-qt.o $(OUTDIR)/main_window.o +OBJ=$(COMMON_OBJ) $(CFG_OBJ) +ALL_OBJ=$(OUTDIR)/addDeviceDialog.o $(OUTDIR)/addSourceDialog.o \ + $(OUTDIR)/DeviceChooser.o $(OUTDIR)/EventViewWidget.o \ + $(OUTDIR)/FSVideoWidget.o $(OUTDIR)/LrfSensorWidget.o \ + $(OUTDIR)/OGLRadarWidget.o $(OUTDIR)/RadarMapWidget.o \ + $(OUTDIR)/RangeMapWidget.o $(OUTDIR)/ReportsManagerWindow.o \ + $(OUTDIR)/SettingsCamera.o $(OUTDIR)/SettingsLGS.o \ + $(OUTDIR)/TimeShowWidget.o $(OUTDIR)/VideoSourceChooser.o \ + $(OUTDIR)/VideoThumbWidget.o $(OUTDIR)/VideoWidget.o \ + $(OUTDIR)/guiClass.o $(OUTDIR)/mask.o $(OUTDIR)/base64.o \ + $(OUTDIR)/libzip.o $(OUTDIR)/md5.o $(OUTDIR)/Transform.o \ + $(OUTDIR)/utm.o $(OUTDIR)/basicCamera.o $(OUTDIR)/basicCameraInfo.o \ + $(OUTDIR)/basicCameraPTZ.o $(OUTDIR)/basicDualThread.o \ + $(OUTDIR)/basicEvent.o $(OUTDIR)/basicEventHandler.o \ + $(OUTDIR)/basicEventHeap.o $(OUTDIR)/basicEvtDispatcher.o \ + $(OUTDIR)/basicFunctionality.o $(OUTDIR)/basicLIBAV.o \ + $(OUTDIR)/basicLogCollection.o $(OUTDIR)/basicLoggingService.o \ + $(OUTDIR)/basicMediaDestination.o $(OUTDIR)/basicMediaSource.o \ + $(OUTDIR)/basicMutex.o $(OUTDIR)/basicReportRecord.o \ + $(OUTDIR)/basicThread.o $(OUTDIR)/basicVideoAnalyzer.o \ + $(OUTDIR)/OnvifVideoSourceFinder.o $(OUTDIR)/lapsedVideoRecorder.o \ + $(OUTDIR)/mediaVideoSourceManager.o \ + $(OUTDIR)/videoAVLIBDestination.o $(OUTDIR)/videoAVLIBSource.o \ + $(OUTDIR)/videoNode.o $(OUTDIR)/objectCamera_ONVIF_PTZ.o \ + $(OUTDIR)/objectCamera_VISCA_PTZ.o $(OUTDIR)/objectCameraPTZ.o \ + $(OUTDIR)/objectDVR.o $(OUTDIR)/objectEventReport.o \ + $(OUTDIR)/objectFileLoggingService.o $(OUTDIR)/objectLGS.o \ + $(OUTDIR)/objectOnVifCamera.o $(OUTDIR)/objectSensorsEnumirator.o \ + $(OUTDIR)/objectStaticCamera.o $(OUTDIR)/objectSystemAnchor.o \ + $(OUTDIR)/main-qt.o $(OUTDIR)/main_window.o -lcurl -lpthread \ + `pkg-config --libs opencv Qt53DAnimation Qt53DCore Qt53DExtras \ + Qt53DInput Qt53DLogic Qt53DQuickAnimation Qt53DQuickExtras \ + Qt53DQuickInput Qt53DQuick Qt53DQuickRender Qt53DQuickScene2D \ + Qt53DRender Qt5Bluetooth Qt5Charts Qt5Concurrent Qt5Core \ + Qt5DataVisualization Qt5DBus Qt5Gamepad Qt5Gui Qt5Help Qt5Location \ + Qt5Multimedia Qt5MultimediaWidgets Qt5NetworkAuth Qt5Network Qt5Nfc \ + Qt5OpenGLExtensions Qt5OpenGL Qt5Positioning Qt5PrintSupport \ + Qt5Purchasing Qt5Qml Qt5QuickControls2 Qt5Quick Qt5QuickTest \ + Qt5QuickWidgets Qt5RemoteObjects Qt5Script Qt5ScriptTools Qt5Scxml \ + Qt5Sensors Qt5SerialBus Qt5SerialPort Qt5Sql Qt5Svg Qt5Test \ + Qt5TextToSpeech Qt5UiTools Qt5WaylandClient Qt5WaylandCompositor \ + Qt5WebChannel Qt5WebSockets Qt5Widgets Qt5X11Extras Qt5XmlPatterns \ + Qt5Xml` -lGL -lGLU -lc -lm -lz -lconfig++ + +COMPILE=g++ -c "-D__GUI__" "-D__STDC_CONSTANT_MACROS" "-DWITH_OPENSSL" "-DWITH_COMPAT" "-DWITH_LEAN" "-DWITH_LEANER" "-DWITH_OPENSSL" -g -fPIC `pkg-config --cflags Qt53DAnimation Qt53DCore Qt53DExtras Qt53DInput Qt53DLogic Qt53DQuickAnimation Qt53DQuickExtras Qt53DQuickInput Qt53DQuick Qt53DQuickRender Qt53DQuickScene2D Qt53DRender Qt5Bluetooth Qt5Charts Qt5Concurrent Qt5Core Qt5DataVisualization Qt5DBus Qt5Gamepad Qt5Gui Qt5Help Qt5Location Qt5Multimedia Qt5MultimediaWidgets Qt5NetworkAuth Qt5Network Qt5Nfc Qt5OpenGLExtensions Qt5OpenGL Qt5Positioning Qt5PrintSupport Qt5Purchasing Qt5Qml Qt5QuickControls2 Qt5Quick Qt5QuickTest Qt5QuickWidgets Qt5RemoteObjects Qt5Script Qt5ScriptTools Qt5Scxml Qt5Sensors Qt5SerialBus Qt5SerialPort Qt5Sql Qt5Svg Qt5Test Qt5TextToSpeech Qt5UiTools Qt5WaylandClient Qt5WaylandCompositor Qt5WebChannel Qt5WebSockets Qt5Widgets opencv Qt5X11Extras Qt5XmlPatterns Qt5Xml` -o "$(OUTDIR)/$(*F).o" $(CFG_INC) $< +LINK=g++ -g -o "$(OUTFILE)" $(ALL_OBJ) + +# Pattern rules +$(OUTDIR)/%.o : ../../lib/components/object/%.cpp + $(COMPILE) + +$(OUTDIR)/%.o : ../../lib/alg/generic/%.cpp + $(COMPILE) + +$(OUTDIR)/%.o : ../../lib/gui/controls/%.cpp + $(COMPILE) + +$(OUTDIR)/%.o : ../../lib/data/media/video/%.cpp + $(COMPILE) + +$(OUTDIR)/%.o : ../../lib/alg/lgs/%.cpp + $(COMPILE) + +$(OUTDIR)/%.o : ../../lib/gui/%.cpp + $(COMPILE) + +$(OUTDIR)/%.o : ../../lib/App/3dGUI/%.cpp + $(COMPILE) + +$(OUTDIR)/%.o : ../../lib/data/media/%.cpp + $(COMPILE) + +$(OUTDIR)/%.o : ../../lib/components/base/%.cpp + $(COMPILE) + +# Build rules +all: $(OUTFILE) + +$(OUTFILE): $(OUTDIR) $(OBJ) + $(LINK) + +$(OUTDIR): + $(MKDIR) -p "$(OUTDIR)" + +# Rebuild this project +rebuild: cleanall all + +# Clean this project +clean: + $(RM) -f $(OUTFILE) + $(RM) -f $(OBJ) + +# Clean this project and all dependencies +cleanall: clean +endif + +# +# Configuration: Release +# +ifeq "$(CFG)" "Release" +OUTDIR=Release +OUTFILE=$(OUTDIR)/3dClientGui +CFG_INC=-I/usr/local/Qt-5.9.5/include -I/usr/local/include \ + -I/usr/include +CFG_LIB=-lcurl -lpthread `pkg-config --libs opencv Qt53DAnimation \ + Qt53DCore Qt53DExtras Qt53DInput Qt53DLogic Qt53DQuickAnimation \ + Qt53DQuickExtras Qt53DQuickInput Qt53DQuick Qt53DQuickRender \ + Qt53DQuickScene2D Qt53DRender Qt5Bluetooth Qt5Charts Qt5Concurrent \ + Qt5Core Qt5DataVisualization Qt5DBus Qt5Gamepad Qt5Gui Qt5Help \ + Qt5Location Qt5Multimedia Qt5MultimediaWidgets Qt5NetworkAuth \ + Qt5Network Qt5Nfc Qt5OpenGLExtensions Qt5OpenGL Qt5Positioning \ + Qt5PrintSupport Qt5Purchasing Qt5Qml Qt5QuickControls2 Qt5Quick \ + Qt5QuickTest Qt5QuickWidgets Qt5RemoteObjects Qt5Script \ + Qt5ScriptTools Qt5Scxml Qt5Sensors Qt5SerialBus Qt5SerialPort Qt5Sql \ + Qt5Svg Qt5Test Qt5TextToSpeech Qt5UiTools Qt5WaylandClient \ + Qt5WaylandCompositor Qt5WebChannel Qt5WebSockets Qt5Widgets \ + Qt5X11Extras Qt5XmlPatterns Qt5Xml` -lGL -lGLU -lc -lm -lz \ + -lconfig++ +CFG_OBJ= +COMMON_OBJ=$(OUTDIR)/addDeviceDialog.o $(OUTDIR)/addSourceDialog.o \ + $(OUTDIR)/DeviceChooser.o $(OUTDIR)/EventViewWidget.o \ + $(OUTDIR)/FSVideoWidget.o $(OUTDIR)/LrfSensorWidget.o \ + $(OUTDIR)/OGLRadarWidget.o $(OUTDIR)/RadarMapWidget.o \ + $(OUTDIR)/RangeMapWidget.o $(OUTDIR)/ReportsManagerWindow.o \ + $(OUTDIR)/SettingsCamera.o $(OUTDIR)/SettingsLGS.o \ + $(OUTDIR)/TimeShowWidget.o $(OUTDIR)/VideoSourceChooser.o \ + $(OUTDIR)/VideoThumbWidget.o $(OUTDIR)/VideoWidget.o \ + $(OUTDIR)/guiClass.o $(OUTDIR)/mask.o $(OUTDIR)/base64.o \ + $(OUTDIR)/libzip.o $(OUTDIR)/md5.o $(OUTDIR)/Transform.o \ + $(OUTDIR)/utm.o $(OUTDIR)/basicCamera.o $(OUTDIR)/basicCameraInfo.o \ + $(OUTDIR)/basicCameraPTZ.o $(OUTDIR)/basicDualThread.o \ + $(OUTDIR)/basicEvent.o $(OUTDIR)/basicEventHandler.o \ + $(OUTDIR)/basicEventHeap.o $(OUTDIR)/basicEvtDispatcher.o \ + $(OUTDIR)/basicFunctionality.o $(OUTDIR)/basicLIBAV.o \ + $(OUTDIR)/basicLogCollection.o $(OUTDIR)/basicLoggingService.o \ + $(OUTDIR)/basicMediaDestination.o $(OUTDIR)/basicMediaSource.o \ + $(OUTDIR)/basicMutex.o $(OUTDIR)/basicReportRecord.o \ + $(OUTDIR)/basicThread.o $(OUTDIR)/basicVideoAnalyzer.o \ + $(OUTDIR)/OnvifVideoSourceFinder.o $(OUTDIR)/lapsedVideoRecorder.o \ + $(OUTDIR)/mediaVideoSourceManager.o \ + $(OUTDIR)/videoAVLIBDestination.o $(OUTDIR)/videoAVLIBSource.o \ + $(OUTDIR)/videoNode.o $(OUTDIR)/objectCamera_ONVIF_PTZ.o \ + $(OUTDIR)/objectCamera_VISCA_PTZ.o $(OUTDIR)/objectCameraPTZ.o \ + $(OUTDIR)/objectDVR.o $(OUTDIR)/objectEventReport.o \ + $(OUTDIR)/objectFileLoggingService.o $(OUTDIR)/objectLGS.o \ + $(OUTDIR)/objectOnVifCamera.o $(OUTDIR)/objectSensorsEnumirator.o \ + $(OUTDIR)/objectStaticCamera.o $(OUTDIR)/objectSystemAnchor.o \ + $(OUTDIR)/main-qt.o $(OUTDIR)/main_window.o +OBJ=$(COMMON_OBJ) $(CFG_OBJ) +ALL_OBJ=$(OUTDIR)/addDeviceDialog.o $(OUTDIR)/addSourceDialog.o \ + $(OUTDIR)/DeviceChooser.o $(OUTDIR)/EventViewWidget.o \ + $(OUTDIR)/FSVideoWidget.o $(OUTDIR)/LrfSensorWidget.o \ + $(OUTDIR)/OGLRadarWidget.o $(OUTDIR)/RadarMapWidget.o \ + $(OUTDIR)/RangeMapWidget.o $(OUTDIR)/ReportsManagerWindow.o \ + $(OUTDIR)/SettingsCamera.o $(OUTDIR)/SettingsLGS.o \ + $(OUTDIR)/TimeShowWidget.o $(OUTDIR)/VideoSourceChooser.o \ + $(OUTDIR)/VideoThumbWidget.o $(OUTDIR)/VideoWidget.o \ + $(OUTDIR)/guiClass.o $(OUTDIR)/mask.o $(OUTDIR)/base64.o \ + $(OUTDIR)/libzip.o $(OUTDIR)/md5.o $(OUTDIR)/Transform.o \ + $(OUTDIR)/utm.o $(OUTDIR)/basicCamera.o $(OUTDIR)/basicCameraInfo.o \ + $(OUTDIR)/basicCameraPTZ.o $(OUTDIR)/basicDualThread.o \ + $(OUTDIR)/basicEvent.o $(OUTDIR)/basicEventHandler.o \ + $(OUTDIR)/basicEventHeap.o $(OUTDIR)/basicEvtDispatcher.o \ + $(OUTDIR)/basicFunctionality.o $(OUTDIR)/basicLIBAV.o \ + $(OUTDIR)/basicLogCollection.o $(OUTDIR)/basicLoggingService.o \ + $(OUTDIR)/basicMediaDestination.o $(OUTDIR)/basicMediaSource.o \ + $(OUTDIR)/basicMutex.o $(OUTDIR)/basicReportRecord.o \ + $(OUTDIR)/basicThread.o $(OUTDIR)/basicVideoAnalyzer.o \ + $(OUTDIR)/OnvifVideoSourceFinder.o $(OUTDIR)/lapsedVideoRecorder.o \ + $(OUTDIR)/mediaVideoSourceManager.o \ + $(OUTDIR)/videoAVLIBDestination.o $(OUTDIR)/videoAVLIBSource.o \ + $(OUTDIR)/videoNode.o $(OUTDIR)/objectCamera_ONVIF_PTZ.o \ + $(OUTDIR)/objectCamera_VISCA_PTZ.o $(OUTDIR)/objectCameraPTZ.o \ + $(OUTDIR)/objectDVR.o $(OUTDIR)/objectEventReport.o \ + $(OUTDIR)/objectFileLoggingService.o $(OUTDIR)/objectLGS.o \ + $(OUTDIR)/objectOnVifCamera.o $(OUTDIR)/objectSensorsEnumirator.o \ + $(OUTDIR)/objectStaticCamera.o $(OUTDIR)/objectSystemAnchor.o \ + $(OUTDIR)/main-qt.o $(OUTDIR)/main_window.o -lcurl -lpthread \ + `pkg-config --libs opencv Qt53DAnimation Qt53DCore Qt53DExtras \ + Qt53DInput Qt53DLogic Qt53DQuickAnimation Qt53DQuickExtras \ + Qt53DQuickInput Qt53DQuick Qt53DQuickRender Qt53DQuickScene2D \ + Qt53DRender Qt5Bluetooth Qt5Charts Qt5Concurrent Qt5Core \ + Qt5DataVisualization Qt5DBus Qt5Gamepad Qt5Gui Qt5Help Qt5Location \ + Qt5Multimedia Qt5MultimediaWidgets Qt5NetworkAuth Qt5Network Qt5Nfc \ + Qt5OpenGLExtensions Qt5OpenGL Qt5Positioning Qt5PrintSupport \ + Qt5Purchasing Qt5Qml Qt5QuickControls2 Qt5Quick Qt5QuickTest \ + Qt5QuickWidgets Qt5RemoteObjects Qt5Script Qt5ScriptTools Qt5Scxml \ + Qt5Sensors Qt5SerialBus Qt5SerialPort Qt5Sql Qt5Svg Qt5Test \ + Qt5TextToSpeech Qt5UiTools Qt5WaylandClient Qt5WaylandCompositor \ + Qt5WebChannel Qt5WebSockets Qt5Widgets Qt5X11Extras Qt5XmlPatterns \ + Qt5Xml` -lGL -lGLU -lc -lm -lz -lconfig++ + +COMPILE=g++ -c "-D__GUI__" "-D__STDC_CONSTANT_MACROS" "-DWITH_OPENSSL" "-DWITH_COMPAT" "-DWITH_LEAN" "-DWITH_LEANER" "-DWITH_OPENSSL" -fPIC `pkg-config --cflags Qt53DAnimation Qt53DCore Qt53DExtras Qt53DInput Qt53DLogic Qt53DQuickAnimation Qt53DQuickExtras Qt53DQuickInput Qt53DQuick Qt53DQuickRender Qt53DQuickScene2D Qt53DRender Qt5Bluetooth Qt5Charts Qt5Concurrent Qt5Core Qt5DataVisualization Qt5DBus Qt5Gamepad Qt5Gui Qt5Help Qt5Location Qt5Multimedia Qt5MultimediaWidgets Qt5NetworkAuth Qt5Network Qt5Nfc Qt5OpenGLExtensions Qt5OpenGL Qt5Positioning Qt5PrintSupport Qt5Purchasing Qt5Qml Qt5QuickControls2 Qt5Quick Qt5QuickTest Qt5QuickWidgets Qt5RemoteObjects Qt5Script Qt5ScriptTools Qt5Scxml Qt5Sensors Qt5SerialBus Qt5SerialPort Qt5Sql Qt5Svg Qt5Test Qt5TextToSpeech Qt5UiTools Qt5WaylandClient Qt5WaylandCompositor Qt5WebChannel Qt5WebSockets Qt5Widgets opencv Qt5X11Extras Qt5XmlPatterns Qt5Xml` -o "$(OUTDIR)/$(*F).o" $(CFG_INC) $< +LINK=g++ -o "$(OUTFILE)" $(ALL_OBJ) + +# Pattern rules +$(OUTDIR)/%.o : ../../lib/components/object/%.cpp + $(COMPILE) + +$(OUTDIR)/%.o : ../../lib/alg/generic/%.cpp + $(COMPILE) + +$(OUTDIR)/%.o : ../../lib/gui/controls/%.cpp + $(COMPILE) + +$(OUTDIR)/%.o : ../../lib/data/media/video/%.cpp + $(COMPILE) + +$(OUTDIR)/%.o : ../../lib/alg/lgs/%.cpp + $(COMPILE) + +$(OUTDIR)/%.o : ../../lib/gui/%.cpp + $(COMPILE) + +$(OUTDIR)/%.o : ../../lib/App/3dGUI/%.cpp + $(COMPILE) + +$(OUTDIR)/%.o : ../../lib/data/media/%.cpp + $(COMPILE) + +$(OUTDIR)/%.o : ../../lib/components/base/%.cpp + $(COMPILE) + +# Build rules +all: $(OUTFILE) + +$(OUTFILE): $(OUTDIR) $(OBJ) + $(LINK) + +$(OUTDIR): + $(MKDIR) -p "$(OUTDIR)" + +# Rebuild this project +rebuild: cleanall all + +# Clean this project +clean: + $(RM) -f $(OUTFILE) + $(RM) -f $(OBJ) + +# Clean this project and all dependencies +cleanall: clean +endif diff --git a/lib/App/3dGUI/main-qt.cpp b/lib/App/3dGUI/main-qt.cpp index b6662d09..8184fc2b 100644 --- a/lib/App/3dGUI/main-qt.cpp +++ b/lib/App/3dGUI/main-qt.cpp @@ -1,4 +1,6 @@ -#include +#ifndef __linux__ + #include +#endif #include //https://autotire.co.il/%D7%92%D7%A0%D7%98%D7%99%D7%9D-%D7%92%D7%A0%D7%98%D7%99%D7%9D-5x114.3-15 #ifdef _NO_STDIO_IOB_FUNC_ @@ -19,7 +21,9 @@ extern "C" { FILE __iob_func[3] = { *stdin,*stdout,*stderr }; } #define LOG_DEBUG( X ) mpLog->Log( "Main", NULL, _LOG_DEBUG, X ) #define LOG_ERROR( X ) mpLog->Log( "Main", NULL, _LOG_ERROR, X ) -//int main(int argc, char *argv[]) { +#ifdef __linux__ +int main(int argc, char *argv[]) { +#else int APIENTRY _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, @@ -27,11 +31,15 @@ int APIENTRY _tWinMain(HINSTANCE hInstance, Beep(512, 512); Beep(256, 512); Beep(128, 1024); - - guiClass *GUI; - systemAnchor *ANCH; +#endif + guiClass * GUI; + systemAnchor * ANCH; GUI = guiClass::getInstance(); - GUI->init(0, NULL);//argc, argv); +#ifdef __linux__ + GUI->init( argc, argv); +#else + GUI->init(0, NULL); +#endif ANCH = systemAnchor::getInstance(); basicLogCollection *mpLog = basicLogCollection::getInstance(); objectFileLoggingService *fLog; diff --git a/lib/App/3dGUI/main_window.h b/lib/App/3dGUI/main_window.h index 79a14814..b88909ec 100644 --- a/lib/App/3dGUI/main_window.h +++ b/lib/App/3dGUI/main_window.h @@ -1,8 +1,8 @@ #ifndef __QT5_MAIN_WINDOW_HEADER__ #define __QT5_MAIN_WINDOW_HEADER__ - -#include - +#ifndef __linux__ + #include +#endif #include "../../components/base/basicSettingsProvider.h" #include "../../gui/guiClass.h" @@ -31,7 +31,7 @@ class mainWinow : public QMainWindow{ /* Main Widget */ QWidget *m_pMainWidget; /* Layouts */ - QMainWindowLayout *m_pMainLayout; + //QMainWindowLayout *m_pMainLayout; QVBoxLayout *m_pVerticalLayout; QVBoxLayout *m_pVerticalMapLayout; QVBoxLayout *m_pVerticalSideLayout; diff --git a/lib/alg/lgs/mask.cpp b/lib/alg/lgs/mask.cpp index 688fbc4d..b5815c29 100644 --- a/lib/alg/lgs/mask.cpp +++ b/lib/alg/lgs/mask.cpp @@ -6,7 +6,7 @@ ShadowMask::ShadowMask(){ m_pLog = basicLogCollection::getInstance(); m_bActive = false; -#ifndef WIN32 +#if defined( WIN32 ) || defined( __GUI__ ) m_pVertexFileName = (CSTR)malloc(256); m_pRasterFileName = (CSTR)malloc(256); sprintf( m_pVertexFileName, "masking.dat" ); @@ -22,7 +22,7 @@ ShadowMask::ShadowMask(){ ShadowMask::~ShadowMask(){ if( m_vVectorMask.size() ){ -#ifdef __linux__ +#if defined( __linux__ ) && !defined( __GUI__ ) saveVertexes(m_pVertexFileName); #else if( !m_bRasterized ){ @@ -38,11 +38,11 @@ ShadowMask::~ShadowMask(){ }; m_vVectorMask.clear(); }; -#ifdef __linux__ +#if defined( __linux__ ) && !defined( __GUI__ ) if( m_pVertexFileName ) free( m_pVertexFileName ); #endif if(m_vZoneMask.size()){ -#ifdef __linux__ +#if defined( __linux__ ) && !defined( __GUI__ ) saveRastered( m_pRasterFileName ); #endif // Clear Data @@ -52,12 +52,12 @@ ShadowMask::~ShadowMask(){ }; m_vZoneMask.clear(); }; -#ifdef __linux__ +#if defined( __linux__ ) && !defined( __GUI__ ) if( m_pRasterFileName ) free( m_pRasterFileName ); #endif }; -#ifdef __linux__ +#if defined( __linux__ ) && !defined( __GUI__ ) bool ShadowMask::loadRastered( CSTR fName ){ FILE *fd; if (fName != NULL){ @@ -250,14 +250,14 @@ bool ShadowMask::deletePoly( int ID ){ delete( m_vVectorMask.at(ID)->points ); delete( m_vVectorMask.at(ID) ); m_vVectorMask.erase( m_vVectorMask.begin()+ID ); -#ifdef WIN32 +#if defined( WIN32 ) || defined( __GUI__ ) m_vVectorMask.shrink_to_fit(); #endif return true; }; -#ifdef __linux__ +#if defined( __linux__ ) && !defined( __GUI__ ) bool ShadowMask::saveVertexes( CSTR fName ){ if( m_vVectorMask.size() == 0 ) return true; FILE *fd; @@ -302,7 +302,7 @@ bool ShadowMask::loadVertexes( CSTR fName ){ simplePolygone *tSP; tSP = (simplePolygone *) malloc( sizeof(simplePolygone)); if( tSP != NULL ){ -#ifdef WIN32 +#if defined( WIN32 ) || defined( __GUI__ ) tSP->points = (QPoint *) malloc( sizeof( QPoint ) * count ); #else tSP->points = (simplePoint *) malloc( sizeof( simplePoint ) * count ); @@ -349,7 +349,7 @@ bool ShadowMask::getZoneMask(vectorZoneMask &ZM){ return true; }; -#ifdef WIN32 +#if defined( WIN32 ) || defined( __GUI__ ) bool ShadowMask::addVertex( uint16_t polyID, uint32_t SP ){// Binary Data to Vertex QPoint simpleP; simpleP.setX( ( SP >> 16 ) & 0xFFFF ); diff --git a/lib/alg/lgs/mask.h b/lib/alg/lgs/mask.h index f909e57c..4e69f331 100644 --- a/lib/alg/lgs/mask.h +++ b/lib/alg/lgs/mask.h @@ -5,7 +5,7 @@ #include "../../hardware/soc/general/3DLRF.h" #include "../../components/base/basicLogCollection.h" -#ifdef WIN32 +#if defined( WIN32 ) || defined( __GUI__ ) #include "../../gui/gui.h" #endif @@ -26,7 +26,7 @@ typedef struct{ } simplePoint; -#ifdef WIN32 +#if defined( WIN32 ) || defined( __GUI__ ) typedef struct{ uint8_t color[3]; QPoint *points; @@ -66,14 +66,14 @@ class ShadowMask{ bool m_bActive; vectorMasking m_vVectorMask; bool m_bRasterized; -#ifndef WIN32 +#if defined( WIN32 ) || defined( __GUI__ ) CSTR m_pRasterFileName; CSTR m_pVertexFileName; #endif public: ShadowMask(); ~ShadowMask(); -#ifndef WIN32 +#if defined( WIN32 ) || defined( __GUI__ ) bool loadRastered(CSTR fName = NULL); bool saveRastered(CSTR fName = NULL); bool saveVertexes(CSTR fName = NULL); @@ -87,7 +87,7 @@ class ShadowMask{ bool deletePoly( int ID ); uint8_t getPolyCount( void ){ return ( m_vVectorMask.size() & 0xFF ); }; uint16_t getRayCount( void ){ return ( m_vZoneMask.size() & 0xFFFF ); }; -#ifdef WIN32 +#if defined( WIN32 ) || defined( __GUI__ ) bool rasterizeVertexes( void ); bool getQPoly( vectorQPoly &VM ); bool addVertex( uint16_t polyID, QPoint SP ); diff --git a/lib/components/base/basicVideoAnalyzer.h b/lib/components/base/basicVideoAnalyzer.h index e2c3e699..39c7f640 100644 --- a/lib/components/base/basicVideoAnalyzer.h +++ b/lib/components/base/basicVideoAnalyzer.h @@ -15,7 +15,7 @@ #include #undef min #undef max -#include +//#include #include //#ifdef _DEBUG diff --git a/lib/data/onvif/include/onvifclientimaging.hpp b/lib/data/onvif/include/onvifclientimaging.hpp index d78c1df3..23db9ea7 100644 --- a/lib/data/onvif/include/onvifclientimaging.hpp +++ b/lib/data/onvif/include/onvifclientimaging.hpp @@ -20,15 +20,15 @@ public: OnvifClientImaging(OnvifClientDevice &device); ~OnvifClientImaging(); public: - int OnvifClientImaging::GetImagingSettings(_timg__GetImagingSettingsResponse &ImagingSettingsResponse, string videoSourceToken); - int OnvifClientImaging::GetOptions(_timg__GetOptionsResponse &GetOptionsResponse, string videoSourceToken); - int OnvifClientImaging::GetServiceCapabilities(_timg__GetServiceCapabilitiesResponse &GetServiceCapResponse); - int OnvifClientImaging::SetImagingSettings(_timg__SetImagingSettingsResponse &SetImagingSettingsResponse, string VideoSourceToken, tt__ImagingSettings20 &ImagingSettings,bool ForcePersistence); - int OnvifClientImaging::GetStatus(_timg__GetStatusResponse &GetStatusResponse, string VideoSourceToken); + int GetImagingSettings(_timg__GetImagingSettingsResponse &ImagingSettingsResponse, string videoSourceToken); + int GetOptions(_timg__GetOptionsResponse &GetOptionsResponse, string videoSourceToken); + int GetServiceCapabilities(_timg__GetServiceCapabilitiesResponse &GetServiceCapResponse); + int SetImagingSettings(_timg__SetImagingSettingsResponse &SetImagingSettingsResponse, string VideoSourceToken, tt__ImagingSettings20 &ImagingSettings,bool ForcePersistence); + int GetStatus(_timg__GetStatusResponse &GetStatusResponse, string VideoSourceToken); //focus control functions - int OnvifClientImaging::Move(_timg__MoveResponse &MoveResponse, tt__FocusMove &FocusMove, string VideoSourceToken); - int OnvifClientImaging::GetMoveOptions(_timg__GetMoveOptionsResponse &MoveOptionsResponse,string VideoSourceToken); - int OnvifClientImaging::Stop(_timg__StopResponse &StopResponse,string VideoSourceToken); + int Move(_timg__MoveResponse &MoveResponse, tt__FocusMove &FocusMove, string VideoSourceToken); + int GetMoveOptions(_timg__GetMoveOptionsResponse &MoveOptionsResponse,string VideoSourceToken); + int Stop(_timg__StopResponse &StopResponse,string VideoSourceToken); private: OnvifClientDevice &m_Device; diff --git a/lib/data/onvif/include/onvifclientptz.hpp b/lib/data/onvif/include/onvifclientptz.hpp index 3f61fb28..c51e0f5d 100644 --- a/lib/data/onvif/include/onvifclientptz.hpp +++ b/lib/data/onvif/include/onvifclientptz.hpp @@ -31,25 +31,25 @@ public: public: /* Add function to here */ //Configuration functions - int OnvifClientPTZ::GetConfiguration(_tptz__GetConfigurationResponse &configurationResp); // John 7/2 - int OnvifClientPTZ::GetConfigurations(_tptz__GetConfigurationsResponse &configurationsResp); - int OnvifClientPTZ::GetConfigurationOptions(_tptz__GetConfigurationOptionsResponse &configOptions, string configToken); // John 7/2 - int OnvifClientPTZ::SetConfiguration(_tptz__SetConfigurationResponse &SetConfiguration, tt__PTZConfiguration &PTZConfiguration,bool ForcePersist); + int GetConfiguration(_tptz__GetConfigurationResponse &configurationResp); // John 7/2 + int GetConfigurations(_tptz__GetConfigurationsResponse &configurationsResp); + int GetConfigurationOptions(_tptz__GetConfigurationOptionsResponse &configOptions, string configToken); // John 7/2 + int SetConfiguration(_tptz__SetConfigurationResponse &SetConfiguration, tt__PTZConfiguration &PTZConfiguration,bool ForcePersist); //Move Functions (includes Pan, Tilt, and Zoom Moves) - int OnvifClientPTZ::RelativeMove(_tptz__RelativeMoveResponse &relMoveResponse, tt__PTZVector &Translation, tt__PTZSpeed &Speed, string profileToken); - int OnvifClientPTZ::ContinuousMove(_tptz__ContinuousMoveResponse &ContMoveResponse, tt__PTZSpeed &Speed, LONG64 &Timeout, string profileToken); - int OnvifClientPTZ::AbsoluteMove(_tptz__AbsoluteMoveResponse &AbsoluteMoveResponse, tt__PTZSpeed &Speed, tt__PTZVector &position, string profileToken); - int OnvifClientPTZ::Stop(_tptz__StopResponse &StopResponse,bool PanTilt,bool Zoom,string profileToken); + int RelativeMove(_tptz__RelativeMoveResponse &relMoveResponse, tt__PTZVector &Translation, tt__PTZSpeed &Speed, string profileToken); + int ContinuousMove(_tptz__ContinuousMoveResponse &ContMoveResponse, tt__PTZSpeed &Speed, LONG64 &Timeout, string profileToken); + int AbsoluteMove(_tptz__AbsoluteMoveResponse &AbsoluteMoveResponse, tt__PTZSpeed &Speed, tt__PTZVector &position, string profileToken); + int Stop(_tptz__StopResponse &StopResponse,bool PanTilt,bool Zoom,string profileToken); //Zoom Functions //TODO: //Node, status, and service capabilities - int OnvifClientPTZ::GetNodes(_tptz__GetNodesResponse &GetNodesResponse); - int OnvifClientPTZ::GetNode(_tptz__GetNodeResponse &GetNodeResponse, string nodeToken); - int OnvifClientPTZ::GetStatus(_tptz__GetStatusResponse &StatusResponse,string profileToken); - int OnvifClientPTZ::GetServiceCapabilities(_tptz__GetServiceCapabilitiesResponse &ServiceCapResponse); + int GetNodes(_tptz__GetNodesResponse &GetNodesResponse); + int GetNode(_tptz__GetNodeResponse &GetNodeResponse, string nodeToken); + int GetStatus(_tptz__GetStatusResponse &StatusResponse,string profileToken); + int GetServiceCapabilities(_tptz__GetServiceCapabilitiesResponse &ServiceCapResponse); - int OnvifClientPTZ::Initialize(); + int Initialize(); private: OnvifClientDevice &m_Device; diff --git a/lib/data/onvif/include/onvifclientreceiver.hpp b/lib/data/onvif/include/onvifclientreceiver.hpp index 479b4752..adba64a6 100644 --- a/lib/data/onvif/include/onvifclientreceiver.hpp +++ b/lib/data/onvif/include/onvifclientreceiver.hpp @@ -21,15 +21,15 @@ public: ~OnvifClientReceiver(); public: //Dealing with receivers - int OnvifClientReceiver::GetReceivers(_trv__GetReceiversResponse & receivers); - int OnvifClientReceiver::GetReceiver(_trv__GetReceiverResponse &receiverResponsem, string ReceiverToken); - int OnvifClientReceiver::CreateReceiver(_trv__CreateReceiverResponse &CreateReceiverResponse, tt__ReceiverConfiguration &ReceiverConfiguration); - int OnvifClientReceiver::DeleteReceiver(_trv__DeleteReceiverResponse &DeleteReceiverResponse, string ReceiverToken); + int GetReceivers(_trv__GetReceiversResponse & receivers); + int GetReceiver(_trv__GetReceiverResponse &receiverResponsem, string ReceiverToken); + int CreateReceiver(_trv__CreateReceiverResponse &CreateReceiverResponse, tt__ReceiverConfiguration &ReceiverConfiguration); + int DeleteReceiver(_trv__DeleteReceiverResponse &DeleteReceiverResponse, string ReceiverToken); //receiver status functions - int OnvifClientReceiver::ConfigureReceiver(_trv__ConfigureReceiverResponse &ConfigureReceiverResponse, string ReceiverToken,tt__ReceiverConfiguration &ReceiverConfiguration); - int OnvifClientReceiver::SetReceiverMode(_trv__SetReceiverModeResponse &SetReceiverModeResponse, string ReceiverToken,tt__ReceiverMode &ReceiverConfiguration); - int OnvifClientReceiver::GetReceiverState(_trv__GetReceiverStateResponse &GetReceiverStateResponse, string ReceiverToken); - int OnvifClientReceiver::GetServiceCapabilities(_trv__GetServiceCapabilitiesResponse &GetReceiverStateResponse); + int ConfigureReceiver(_trv__ConfigureReceiverResponse &ConfigureReceiverResponse, string ReceiverToken,tt__ReceiverConfiguration &ReceiverConfiguration); + int SetReceiverMode(_trv__SetReceiverModeResponse &SetReceiverModeResponse, string ReceiverToken,tt__ReceiverMode &ReceiverConfiguration); + int GetReceiverState(_trv__GetReceiverStateResponse &GetReceiverStateResponse, string ReceiverToken); + int GetServiceCapabilities(_trv__GetServiceCapabilitiesResponse &GetReceiverStateResponse); private: OnvifClientDevice &m_Device; diff --git a/lib/gui/controls/RadarMapWidget.h b/lib/gui/controls/RadarMapWidget.h index 10e68ccc..2921004a 100644 --- a/lib/gui/controls/RadarMapWidget.h +++ b/lib/gui/controls/RadarMapWidget.h @@ -1,6 +1,8 @@ #ifndef __RADAR_MAP_WIDGET_HEADER__ #define __RADAR_MAP_WIDGET_HEADER__ +#ifndef __linux__ #include +#endif #include "../guiClass.h" #include "../../components/object/objectLGS.h" #include "../../components/base/basicMutex.h" diff --git a/lib/gui/controls/ReportsManagerWindow.h b/lib/gui/controls/ReportsManagerWindow.h index 92e3d3ff..9d1e78cd 100644 --- a/lib/gui/controls/ReportsManagerWindow.h +++ b/lib/gui/controls/ReportsManagerWindow.h @@ -1,7 +1,8 @@ #ifndef __GUI_REPORT_MANAGER_WINDOW_HEADER__ #define __GUI_REPORT_MANAGER_WINDOW_HEADER__ +#ifndef __linux__ #include - +#endif #include "../guiClass.h" #include "../../components/object/objectEventReport.h" diff --git a/lib/gui/controls/SettingsCamera.h b/lib/gui/controls/SettingsCamera.h index 11108808..e0405c0b 100644 --- a/lib/gui/controls/SettingsCamera.h +++ b/lib/gui/controls/SettingsCamera.h @@ -1,7 +1,8 @@ #ifndef __SETTINGS_CAMERA_DIALOG_HEADER__ #define __SETTINGS_CAMERA_DIALOG_HEADER__ - +#ifndef __linux__ #include +#endif #include "../guiClass.h" #include "../../components/base/basicCamera.h" diff --git a/lib/gui/controls/SettingsLGS.h b/lib/gui/controls/SettingsLGS.h index 131989c8..b965fb34 100644 --- a/lib/gui/controls/SettingsLGS.h +++ b/lib/gui/controls/SettingsLGS.h @@ -1,7 +1,8 @@ #ifndef __SETTINGS_LGS_DIALOG_HEADER__ #define __SETTINGS_LGS_DIALOG_HEADER__ - +#ifndef __linux__ #include +#endif #include "../guiClass.h" #include "../../components/object/objectLGS.h" diff --git a/lib/gui/controls/VideoWidget.cpp b/lib/gui/controls/VideoWidget.cpp index 077c072a..64d06fa2 100644 --- a/lib/gui/controls/VideoWidget.cpp +++ b/lib/gui/controls/VideoWidget.cpp @@ -69,7 +69,7 @@ bool VideoWidget::event(QEvent *event){ return true; } if (event->type() == QEvent::MouseButtonRelease ){ - Beep(1024, 10); + //Beep(1024, 10); if (((QMouseEvent*)event)->button() == Qt::LeftButton){ if (m_nManualControlMode & CD_MANUAL){ #ifndef NO_PTZ_CAMERAS diff --git a/lib/hardware/soc/general/3DLRF.h b/lib/hardware/soc/general/3DLRF.h index 02450fe8..df013c02 100644 --- a/lib/hardware/soc/general/3DLRF.h +++ b/lib/hardware/soc/general/3DLRF.h @@ -13,7 +13,9 @@ typedef enum E_LRF_WORK_MODE{ }LRF_WORK_MODE; #ifdef __linux__ + #ifndef __GUI__ extern SOFTWARE_INFO gsSOFT_INFO; + #endif #endif #define SKIP_TARGET_LOG diff --git a/lib/hardware/stick/joystick.h b/lib/hardware/stick/joystick.h index 2cb29652..537efc84 100644 --- a/lib/hardware/stick/joystick.h +++ b/lib/hardware/stick/joystick.h @@ -1,7 +1,12 @@ #ifndef __JOYSTICK_OBJECT_HEADER__ #define __JOYSTICK_OBJECT_HEADER__ +#ifndef __linux__ + +//Windows Joystick implementation + #include + #include #ifndef STRICT @@ -141,4 +146,57 @@ private: joysticObject& operator=(const joysticObject& src); }; +#else +// Linux Joystick Implementation +#define MAX_BUTTONS 32 +class joysticObject : public basicThread{ +private: + basicLogCollection *m_pLog; + config_setting_t *m_pSettings; + bool m_bPresented; + bool m_bActive; + bool bButtonStates[MAX_BUTTONS]; + long lAxisX; + long lAxisY; + long lAxisZ; + long lAxisRz; + long lHat; + int m_nNumberOfButtons; +public: + // Method to fetch singleton instance. + static joysticObject* getInstance(); + + // Destructor + ~joysticObject(); + bool isActive( void ) { return m_bActive; }; + bool isPresent( void ){ return m_bPresented; }; + int getBtnCnt( void ){ return m_nNumberOfButtons; }; + bool getButton( uint8_t id ){return(!m_bPresented)?false:bButtonStates[id];}; + long getAxisX( void ){return(!m_bPresented)?0:lAxisX;}; + long getAxisY( void ){return(!m_bPresented)?0:lAxisY;}; + long getAxisZ( void ){return(!m_bPresented)?0:lAxisZ;}; + long getAxisRz( void ){return(!m_bPresented)?0:lAxisRz;}; + long getHat( void ){return(!m_bPresented)?0:lHat;}; +protected: + // Constructor - protected so users cannot call it. + joysticObject(); + void m_fThreadProc(void); +private: + // private static member referencing the single instance of the object + // TODO: Replace mediaVideoSourceManager with the type of object you want to + // return the single instance of + static joysticObject* _instance; + + // Copy constructor + // Declared but not defined to prevent auto-generated + // copy constructor. Refer to "Effective C++" by Meyers + joysticObject(const joysticObject& src); + + // Assignment operator + // Declared but not defined to prevent auto-generated + // assignment operator. Refer to "Effective C++" by Meyers + joysticObject& operator=(const joysticObject& src); + +}; +#endif #endif \ No newline at end of file diff --git a/put_to_git b/put_to_git index 6c1ebc36..5473f05b 100755 --- a/put_to_git +++ b/put_to_git @@ -1,4 +1,4 @@ #!/bin/bash #git commit -a -m '$1' -git commit -a -m '3D Server - New Flip Alg Tested and Updated' +git commit -a -m 'Linux Gui Started to Buildup'