Changeset 162 in pacpusframework for branches/2.0-beta1/src
- Timestamp:
- Aug 1, 2013, 4:46:07 PM (11 years ago)
- Location:
- branches/2.0-beta1/src
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0-beta1/src/PacpusLib/ComponentManager.cpp
r153 r162 3 3 // CECILL-C License, Version 1.0. 4 4 // %pacpus:license} 5 /// @author Gerald Dherbomez <firstname.surname@utc.fr> 5 6 /// @version $Id: ComponentManager.cpp 76 2013-01-10 17:05:10Z kurdejma $ 6 7 8 #include <Pacpus/kernel/ComponentFactoryBase.h> 7 9 #include <Pacpus/kernel/ComponentManager.h> 8 10 #include <Pacpus/kernel/ComponentBase.h> … … 10 12 #include <Pacpus/kernel/Log.h> 11 13 #include <QObject> 12 13 14 #include <QDomNodeList> 14 15 -
branches/2.0-beta1/src/PacpusLib/PacpusApplication.cpp
r141 r162 9 9 /// @copyright Copyright (c) UTC/CNRS Heudiasyc 2006 - 2013. All rights reserved. 10 10 11 #include <Pacpus/kernel/DbiteException.h>12 11 #include <Pacpus/kernel/Log.h> 13 12 #include <Pacpus/kernel/PacpusApplication.h> 13 #include <Pacpus/kernel/PacpusException.h> 14 14 15 15 using namespace pacpus; … … 83 83 try { 84 84 return QApplication::notify(receiver, ev); 85 } catch( DbiteException & e) {85 } catch(PacpusException & e) { 86 86 (void) e; // unused 87 LOG_ERROR(" DbiteException thrown:" << e.what());87 LOG_ERROR("PacpusException thrown:" << e.what()); 88 88 } catch(std::exception & e) { 89 89 (void) e; // unused -
branches/2.0-beta1/src/PacpusLib/XmlComponentConfig.cpp
r110 r162 14 14 DECLARE_STATIC_LOGGER("pacpus.core.XmlComponentConfig"); 15 15 16 // FIXME: const char* instead of const string 16 17 static const string kPropertyComponentName = "name"; 17 18 static const string kPropertyComponentType = "type"; … … 63 64 int XmlComponentConfig::delProperty(const QString& name) 64 65 { 65 if (!hasProperty(name)) 66 { 66 if (!hasProperty(name)) { 67 67 LOG_WARN("cannot delete compoenent property '" << name << "'" 68 68 << " of component '" << component_.attribute(kPropertyComponentName.c_str()) << "'" -
branches/2.0-beta1/src/PacpusSensor/src/main.cpp
r145 r162 3 3 // CECILL-C License, Version 1.0. 4 4 // %pacpus:license} 5 /// @author Gerald Dherbomez <firstname.surname@utc.fr> 5 6 /// @version $Id: main.cpp 81 2013-01-11 22:31:02Z kurdejma $ 6 7 -
branches/2.0-beta1/src/PacpusSensor/src/ui/pacpusmainwindow.cpp
r89 r162 3 3 // CECILL-C License, Version 1.0. 4 4 // %pacpus:license} 5 /// @author Gerald Dherbomez <firstname.surname@utc.fr> 5 6 /// @version $Id: pacpusmainwindow.cpp 76 2013-01-10 17:05:10Z kurdejma $ 6 7 -
branches/2.0-beta1/src/PacpusSensor/src/ui/pacpusmainwindow.h
r89 r162 3 3 // CECILL-C License, Version 1.0. 4 4 // %pacpus:license} 5 /// @author Firstname Surname<firstname.surname@utc.fr>6 /// @date Month, Year5 /// @author Gerald Dherbomez <firstname.surname@utc.fr> 6 /// @date June, 2006 7 7 /// @version $Id: pacpusmainwindow.h 76 2013-01-10 17:05:10Z kurdejma $ 8 8 /// @copyright Copyright (c) UTC/CNRS Heudiasyc 2006 - 2013. All rights reserved. -
branches/2.0-beta1/src/PacpusTools/CMakeLists.txt
r140 r162 9 9 project(PacpusTools) 10 10 11 create_export(EXPORT_HDR ${PROJECT_NAME} "${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools") 12 11 13 # ======================================== 12 14 # Compiler definitions 13 15 # ======================================== 14 add_definitions( 15 ${QT_DEFINITIONS} 16 -DPACPUS_TOOLS_EXPORTS 17 ) 16 add_definitions(${QT_DEFINITIONS}) 18 17 19 18 # ======================================== 20 19 # Include directories 21 20 # ======================================== 22 include_directories( 23 ${QT_INCLUDE_DIR} 24 ) 21 include_directories(${QT_INCLUDE_DIR}) 22 25 23 # ======================================== 26 24 # Link directories … … 34 32 # List of sources 35 33 # ======================================== 36 set( 37 PROJECT_SRCS 34 set(PROJECT_HDRS 35 ${EXPORT_HDR} 36 ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/AsyncWorkerBase.h 37 ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/BinaryDecoder.h 38 ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/geodesie.h 38 39 ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/matrice.h 39 ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/ BinaryDecoder.h40 ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/PeriodicWorker.h 40 41 ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/PosixShMem.h 41 42 ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/ShMem.h 42 ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/geodesie.h43 43 #${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/pacpusStruct.h 44 44 #${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/PacpusSerialPort.h 45 ) 46 47 set(PROJECT_SRCS 45 48 ./src/matrice.cpp 46 49 ./src/geodesie.cpp … … 53 56 # Files to MOC 54 57 # ======================================== 55 set( 56 FILES_TO_MOC 58 set(FILES_TO_MOC 57 59 ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/AsyncWorkerBase.h 58 60 ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/PeriodicWorker.h … … 98 100 # Libraries 99 101 # ======================================== 100 101 102 set(OPT_LIBRARIES 102 103 optimized PacpusLib debug PacpusLib_d -
branches/2.0-beta1/src/PacpusTools/src/AsyncWorkerBase.cpp
r89 r162 2 2 // This file is part of the PACPUS framework distributed under the 3 3 // CECILL-C License, Version 1.0. 4 /// @author Samuel Gosselin <firstname.surname@utc.fr> 5 /// @date December, 2012 4 6 // %pacpus:license} 5 7 -
branches/2.0-beta1/src/PacpusTools/src/PeriodicWorker.cpp
r89 r162 2 2 // This file is part of the PACPUS framework distributed under the 3 3 // CECILL-C License, Version 1.0. 4 /// @author Samuel Gosselin <firstname.surname@utc.fr> 5 /// @date December, 2012 4 6 // %pacpus:license} 5 7 -
branches/2.0-beta1/src/PacpusTools/src/PosixShMem.cpp
r89 r162 2 2 // This file is part of the PACPUS framework distributed under the 3 3 // CECILL-C License, Version 1.0. 4 /// @author Gerald Dherbomez <firstname.surname@utc.fr> 5 /// @date January, 2007 4 6 // %pacpus:license} 5 7 -
branches/2.0-beta1/src/PacpusTools/src/Win32ShMem.cpp
r89 r162 2 2 // This file is part of the PACPUS framework distributed under the 3 3 // CECILL-C License, Version 1.0. 4 /// @author Gerald Dherbomez <firstname.surname@utc.fr> 5 /// @date January, 2007 4 6 // %pacpus:license} 5 7 … … 10 12 #include <windows.h> 11 13 12 13 14 DECLARE_STATIC_LOGGER("pacpus.core.Win32ShMem"); 14 15 16 using namespace pacpus; 15 17 using namespace std; 16 18 -
branches/2.0-beta1/src/PacpusTools/src/geodesie.cpp
r99 r162 2 2 // This file is part of the PACPUS framework distributed under the 3 3 // CECILL-C License, Version 1.0. 4 /// @author Jean Laneurit <firstname.surname@utc.fr> 5 /// @date April, 2010 4 6 // %pacpus:license} 5 7 -
branches/2.0-beta1/src/PacpusTools/src/matrice.cpp
r89 r162 2 2 // This file is part of the PACPUS framework distributed under the 3 3 // CECILL-C License, Version 1.0. 4 /// @author Jean Laneurit <firstname.surname@utc.fr> 5 /// @date April, 2010 4 6 // %pacpus:license} 5 7
Note:
See TracChangeset
for help on using the changeset viewer.