Changeset 162 in pacpusframework for branches/2.0-beta1/src


Ignore:
Timestamp:
08/01/13 16:46:07 (11 years ago)
Author:
Marek Kurdej
Message:

Update: merged changes from trunk.

Location:
branches/2.0-beta1/src
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0-beta1/src/PacpusLib/ComponentManager.cpp

    r153 r162  
    33// CECILL-C License, Version 1.0.
    44// %pacpus:license}
     5/// @author  Gerald Dherbomez <firstname.surname@utc.fr>
    56/// @version    $Id: ComponentManager.cpp 76 2013-01-10 17:05:10Z kurdejma $
    67
     8#include <Pacpus/kernel/ComponentFactoryBase.h>
    79#include <Pacpus/kernel/ComponentManager.h>
    810#include <Pacpus/kernel/ComponentBase.h>
     
    1012#include <Pacpus/kernel/Log.h>
    1113#include <QObject>
    12 
    1314#include <QDomNodeList>
    1415
  • branches/2.0-beta1/src/PacpusLib/PacpusApplication.cpp

    r141 r162  
    99/// @copyright Copyright (c) UTC/CNRS Heudiasyc 2006 - 2013. All rights reserved.
    1010
    11 #include <Pacpus/kernel/DbiteException.h>
    1211#include <Pacpus/kernel/Log.h>
    1312#include <Pacpus/kernel/PacpusApplication.h>
     13#include <Pacpus/kernel/PacpusException.h>
    1414
    1515using namespace pacpus;
     
    8383    try {
    8484        return QApplication::notify(receiver, ev);
    85     } catch(DbiteException & e) {
     85    } catch(PacpusException & e) {
    8686        (void) e; // unused
    87         LOG_ERROR("DbiteException thrown:" << e.what());
     87        LOG_ERROR("PacpusException thrown:" << e.what());
    8888    } catch(std::exception & e) {
    8989        (void) e; // unused
  • branches/2.0-beta1/src/PacpusLib/XmlComponentConfig.cpp

    r110 r162  
    1414DECLARE_STATIC_LOGGER("pacpus.core.XmlComponentConfig");
    1515
     16// FIXME: const char* instead of const string
    1617static const string kPropertyComponentName = "name";
    1718static const string kPropertyComponentType = "type";
     
    6364int XmlComponentConfig::delProperty(const QString& name)
    6465{
    65     if (!hasProperty(name))
    66     {
     66    if (!hasProperty(name)) {
    6767        LOG_WARN("cannot delete compoenent property '" << name << "'"
    6868                 << " of component '" << component_.attribute(kPropertyComponentName.c_str()) << "'"
  • branches/2.0-beta1/src/PacpusSensor/src/main.cpp

    r145 r162  
    33// CECILL-C License, Version 1.0.
    44// %pacpus:license}
     5/// @author  Gerald Dherbomez <firstname.surname@utc.fr>
    56/// @version    $Id: main.cpp 81 2013-01-11 22:31:02Z kurdejma $
    67
  • branches/2.0-beta1/src/PacpusSensor/src/ui/pacpusmainwindow.cpp

    r89 r162  
    33// CECILL-C License, Version 1.0.
    44// %pacpus:license}
     5/// @author  Gerald Dherbomez <firstname.surname@utc.fr>
    56/// @version    $Id: pacpusmainwindow.cpp 76 2013-01-10 17:05:10Z kurdejma $
    67
  • branches/2.0-beta1/src/PacpusSensor/src/ui/pacpusmainwindow.h

    r89 r162  
    33// CECILL-C License, Version 1.0.
    44// %pacpus:license}
    5 /// @author  Firstname Surname <firstname.surname@utc.fr>
    6 /// @date    Month, Year
     5/// @author  Gerald Dherbomez <firstname.surname@utc.fr>
     6/// @date    June, 2006
    77/// @version $Id: pacpusmainwindow.h 76 2013-01-10 17:05:10Z kurdejma $
    88/// @copyright Copyright (c) UTC/CNRS Heudiasyc 2006 - 2013. All rights reserved.
  • branches/2.0-beta1/src/PacpusTools/CMakeLists.txt

    r140 r162  
    99project(PacpusTools)
    1010
     11create_export(EXPORT_HDR ${PROJECT_NAME} "${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools")
     12
    1113# ========================================
    1214# Compiler definitions
    1315# ========================================
    14 add_definitions(
    15     ${QT_DEFINITIONS}
    16     -DPACPUS_TOOLS_EXPORTS
    17 )
     16add_definitions(${QT_DEFINITIONS})
    1817
    1918# ========================================
    2019# Include directories
    2120# ========================================
    22 include_directories(
    23     ${QT_INCLUDE_DIR}
    24 )
     21include_directories(${QT_INCLUDE_DIR})
     22
    2523# ========================================
    2624# Link directories
     
    3432# List of sources
    3533# ========================================
    36 set(
    37     PROJECT_SRCS
     34set(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
    3839    ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/matrice.h
    39     ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/BinaryDecoder.h
     40    ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/PeriodicWorker.h
    4041    ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/PosixShMem.h
    4142    ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/ShMem.h
    42     ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/geodesie.h
    4343    #${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/pacpusStruct.h
    4444    #${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/PacpusSerialPort.h
     45)
     46
     47set(PROJECT_SRCS
    4548    ./src/matrice.cpp
    4649    ./src/geodesie.cpp
     
    5356# Files to MOC
    5457# ========================================
    55 set(
    56     FILES_TO_MOC
     58set(FILES_TO_MOC
    5759    ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/AsyncWorkerBase.h
    5860    ${PACPUS_INCLUDE_DIR}/Pacpus/PacpusTools/PeriodicWorker.h
     
    98100# Libraries
    99101# ========================================
    100 
    101102set(OPT_LIBRARIES
    102103    optimized PacpusLib debug PacpusLib_d
  • branches/2.0-beta1/src/PacpusTools/src/AsyncWorkerBase.cpp

    r89 r162  
    22// This file is part of the PACPUS framework distributed under the
    33// CECILL-C License, Version 1.0.
     4/// @author  Samuel Gosselin <firstname.surname@utc.fr>
     5/// @date    December, 2012
    46// %pacpus:license}
    57
  • branches/2.0-beta1/src/PacpusTools/src/PeriodicWorker.cpp

    r89 r162  
    22// This file is part of the PACPUS framework distributed under the
    33// CECILL-C License, Version 1.0.
     4/// @author  Samuel Gosselin <firstname.surname@utc.fr>
     5/// @date    December, 2012
    46// %pacpus:license}
    57
  • branches/2.0-beta1/src/PacpusTools/src/PosixShMem.cpp

    r89 r162  
    22// This file is part of the PACPUS framework distributed under the
    33// CECILL-C License, Version 1.0.
     4/// @author  Gerald Dherbomez <firstname.surname@utc.fr>
     5/// @date    January, 2007
    46// %pacpus:license}
    57
  • branches/2.0-beta1/src/PacpusTools/src/Win32ShMem.cpp

    r89 r162  
    22// This file is part of the PACPUS framework distributed under the
    33// CECILL-C License, Version 1.0.
     4/// @author  Gerald Dherbomez <firstname.surname@utc.fr>
     5/// @date    January, 2007
    46// %pacpus:license}
    57
     
    1012#include <windows.h>
    1113
    12 
    1314DECLARE_STATIC_LOGGER("pacpus.core.Win32ShMem");
    1415
     16using namespace pacpus;
    1517using namespace std;
    1618
  • branches/2.0-beta1/src/PacpusTools/src/geodesie.cpp

    r99 r162  
    22// This file is part of the PACPUS framework distributed under the
    33// CECILL-C License, Version 1.0.
     4/// @author  Jean Laneurit <firstname.surname@utc.fr>
     5/// @date    April, 2010
    46// %pacpus:license}
    57
  • branches/2.0-beta1/src/PacpusTools/src/matrice.cpp

    r89 r162  
    22// This file is part of the PACPUS framework distributed under the
    33// CECILL-C License, Version 1.0.
     4/// @author  Jean Laneurit <firstname.surname@utc.fr>
     5/// @date    April, 2010
    46// %pacpus:license}
    57
Note: See TracChangeset for help on using the changeset viewer.