Changeset 31 in pacpusframework


Ignore:
Timestamp:
Jan 8, 2013, 6:10:10 PM (12 years ago)
Author:
sgosseli
Message:

Huge commit: use the new includes style in all the files, add the license header in all the headers, and in some cpp.

Location:
trunk
Files:
51 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/Pacpus/DbitePlayer/DbitePlayerConfig.h

    r3 r31  
    1 /// DbitePlayer config header file
    2 ///
    3 /// @date       created 2012/02/11 - 21:26
    4 /// @author     Marek Kurdej
    5 /// @version    $Id: $
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
    610
    7 #ifndef DBITEPLAYERCONFIG_H
    8 #define DBITEPLAYERCONFIG_H
     11#ifndef DEF_PACPUS_DBITEPLAYERCONFIG_H
     12#define DEF_PACPUS_DBITEPLAYERCONFIG_H
    913
    1014// Export macro for DbitePlayer DLL for Windows only
     
    2226#endif
    2327
    24 #endif // DBITEPLAYERCONFIG_H
     28#endif // DEF_PACPUS_DBITEPLAYERCONFIG_H
  • trunk/include/Pacpus/DbitePlayer/DbtPlyEngine.h

    r3 r31  
    1 /*********************************************************************
    2 // created:    2007/04/12 - 16:30
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
    310
    4 //
    5 // author:     Elie Al Alam & Gerald Dherbomez
    6 //
    7 // version:    $Id: $
    8 //
    9 // purpose:    Dbite Player Engine header file
    10 *********************************************************************/
     11#ifndef DEF_PACPUS_DBTPLYENGINE_H
     12#define DEF_PACPUS_DBTPLYENGINE_H
    1113
    12 #ifndef DBTPLYENGINE_H
    13 #define DBTPLYENGINE_H
     14#include <QSemaphore>
    1415
    15 #include <qsemaphore.h>
    16 
    17 #include "kernel/ComponentBase.h"
    18 #include "kernel/ComponentFactory.h"
    19 #include "DbitePlayerConfig.h"
    20 #include "DbitePlayer/DbtPlyEngineStateChart.h"
    21 #include "DbitePlayer/DbtPlyUserInterface.h"
     16#include <Pacpus/kernel/ComponentBase.h>
     17#include <Pacpus/kernel/ComponentFactory.h>
     18#include <Pacpus/DbitePlayer/DbitePlayerConfig.h>
     19#include <Pacpus/DbitePlayer/DbtPlyEngineStateChart.h>
     20#include <Pacpus/DbitePlayer/DbtPlyUserInterface.h>
    2221
    2322namespace pacpus {
     
    143142} // namespace pacpus
    144143
    145 #endif // DBTPLYENGINE_H
     144#endif // DEF_PACPUS_DBTPLYENGINE_H
  • trunk/include/Pacpus/DbitePlayer/DbtPlyEngineStateChart.h

    r3 r31  
    1 /*********************************************************************
    2 // created:    2007/04/12 - 16:30
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
    310
    4 //
    5 // author:     Elie Al Alam & Gerald Dherbomez
    6 //
    7 // version:    $Id: $
    8 //
    9 // purpose:    Dbite Player Engine state chart header file
    10 *********************************************************************/
     11#ifndef DEF_PACPUS_DBTPLYENGINESTATECHART_H
     12#define DEF_PACPUS_DBTPLYENGINESTATECHART_H
    1113
    12 #ifndef DBTPLYENGINESTATECHART_H
    13 #define DBTPLYENGINESTATECHART_H
     14#include <QString>
    1415
    15 #include <qstring.h>
    16 
    17 #include "DbitePlayerConfig.h"
     16#include <Pacpus/DbitePlayer/DbitePlayerConfig.h>
    1817
    1918namespace pacpus {
     
    9392} // namespace pacpus
    9493
    95 #endif // DBTPLYENGINESTATECHART_H
     94#endif // DEF_PACPUS_DBTPLYENGINESTATECHART_H
  • trunk/include/Pacpus/DbitePlayer/DbtPlyFileManager.h

    r3 r31  
    1 /*********************************************************************
    2 // created:    2007/04/12 - 16:30
    3 //
    4 // author:     Elie Al Alam & Gerald Dherbomez
    5 //
    6 // version:    $Id: $
    7 //
    8 // purpose:    Dbite Player File Manager header file
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
    910
    10 *********************************************************************/
     11#ifndef DEF_PACPUS_DBTPLYFILEMANAGER_H
     12#define DEF_PACPUS_DBTPLYFILEMANAGER_H
    1113
    12 #ifndef DBTPLYFILEMANAGER_H
    13 #define DBTPLYFILEMANAGER_H
     14#include <QThread>
    1415
    15 #include <qthread.h>
    16 
    17 #include "DbitePlayerConfig.h"
    18 #include "kernel/road_time.h"
    19 #include "kernel/ComponentBase.h"
    20 #include "kernel/DbiteFile.h"
    21 #include "DbitePlayer/DbtPlyEngine.h"
     16#include <Pacpus/DbitePlayer/DbitePlayerConfig.h>
     17#include <Pacpus/DbitePlayer/DbtPlyEngine.h>
     18#include <Pacpus/kernel/road_time.h>
     19#include <Pacpus/kernel/ComponentBase.h>
     20#include <Pacpus/kernel/DbiteFile.h>
    2221
    2322class QSemaphore;
     
    140139} // namespace pacpus
    141140
    142 #endif // DBTPLYFILEMANAGER_H
     141#endif // DEF_PACPUS_DBTPLYFILEMANAGER_H
  • trunk/include/Pacpus/DbitePlayer/DbtPlyTrigger.h

    r3 r31  
    1 /*********************************************************************
    2 // created:    2007/04/12 - 16:30
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
    310
    4 //
    5 // author:     Elie Al Alam & Gerald Dherbomez
    6 //
    7 // version:    $Id: $
    8 //
    9 // purpose:    Dbite Player Trigger header file
    10 *********************************************************************/
     11#ifndef DEF_PACPUS_DBTPLYTRIGGER_H
     12#define DEF_PACPUS_DBTPLYTRIGGER_H
    1113
    12 #ifndef DBTPLYTRIGGER_H
    13 #define DBTPLYTRIGGER_H
     14#include <QThread>
    1415
    15 #include <qthread.h>
    16 
    17 #include "DbitePlayerConfig.h"
    18 #include "kernel/ComponentBase.h"
    19 #include "kernel/ComponentFactory.h"
    20 #include "DbitePlayer/DbtPlyEngine.h"
     16#include <Pacpus/DbitePlayer/DbitePlayerConfig.h>
     17#include <Pacpus/DbitePlayer/DbtPlyEngine.h>
     18#include <Pacpus/kernel/ComponentBase.h>
     19#include <Pacpus/kernel/ComponentFactory.h>
    2120
    2221#ifdef WIN32
     
    5655} // namespace pacpus
    5756
    58 #endif // DBTPLYTRIGGER_H
     57#endif // DEF_PACPUS_DBTPLYTRIGGER_H
  • trunk/include/Pacpus/DbitePlayer/DbtPlyUserInterface.h

    r3 r31  
    1 /*********************************************************************
    2 // created:    2007/04/12 - 16:30
    3 //
    4 // author:     Elie Al Alam & Gerald Dherbomez
    5 //             Heudiasyc UMR UTC/CNRS 6599 Copyright
    6 //
    7 // version:    $Id: $
    8 //
    9 // purpose:    Dbite Player User interface header file
    10 *********************************************************************/
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
    1110
    12 #ifndef DBTPLYUSERINTERFACE_H
    13 #define DBTPLYUSERINTERFACE_H
     11#ifndef DEF_PACPUS_DBTPLYUSERINTERFACE_H
     12#define DEF_PACPUS_DBTPLYUSERINTERFACE_H
    1413
    15 #include <qwidget.h>
     14#include <QWidget>
    1615
    17 #include "kernel/ComponentBase.h"
    18 #include "kernel/ComponentFactory.h"
    19 #include "DbitePlayerConfig.h"
    20 #include "DbtPlyFileManager.h"
    21 #include "DbtPlyEngine.h"
     16#include <Pacpus/kernel/ComponentBase.h>
     17#include <Pacpus/kernel/ComponentFactory.h>
     18#include <Pacpus/DbitePlayer/DbitePlayerConfig.h>
     19#include <Pacpus/DbitePlayer/DbtPlyFileManager.h>
     20#include <Pacpus/DbitePlayer/DbtPlyEngine.h>
    2221
    2322class QButtonGroup;
     
    125124} // namespace pacpus
    126125
    127 #endif // DBTPLYUSERINTERFACE_H
     126#endif // DEF_PACPUS_DBTPLYUSERINTERFACE_H
  • trunk/include/Pacpus/PacpusTools/AsyncWorkerBase.h

    r3 r31  
    1 #ifndef __ASYNCWORKER_BASE_H__
    2 #define __ASYNCWORKER_BASE_H__
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
     10 
     11#ifndef DEF_PACPUS_ASYNC_WORKER_BASE_H
     12#define DEF_PACPUS_ASYNC_WORKER_BASE_H
    313
    414// Includes, pacpus.
     
    7989} // namespace pacpus
    8090
    81 #endif
     91#endif // DEF_PACPUS_ASYNC_WORKER_BASE_H
  • trunk/include/Pacpus/PacpusTools/PeriodicWorker.h

    r10 r31  
    1 #ifndef DEF_PERIODIC_WORKER_H
    2 #define DEF_PERIODIC_WORKER_H
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
     10
     11#ifndef DEF_PACPUS_PERIODIC_WORKER_H
     12#define DEF_PACPUS_PERIODIC_WORKER_H
    313
    414// Includes, pacpus.
     
    5565}
    5666
    57 #endif
     67#endif // DEF_PACPUS_PERIODIC_WORKER_H
  • trunk/include/Pacpus/PacpusTools/PosixShMem.h

    r3 r31  
    1 #ifndef POSIXSHMEM_H
    2 #define POSIXSHMEM_H
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
    310
    4 #include <qsharedmemory.h>
    5 #include <qsystemsemaphore.h>
     11#ifndef DEF_PACPUS_POSIXSHMEM_H
     12#define DEF_PACPUS_POSIXSHMEM_H
    613
    7 #include "ShMemBase.h"
     14#include <QSharedMemory>
     15#include <QSystemSemaphore>
    816
    9 /*
    10 union semun{
    11     int val ;
    12     struct semid_ds * buf;
    13     unsigned short array[1];
    14 };
    15 */
     17#include <Pacpus/PacpusTools/ShMemBase.h>
    1618
    1719class PosixShMem
     
    2830    virtual void unlockMemory();
    2931
    30 protected:
    31 
    3232private:
    33     //  int shMemHandle_;
    34     //  int semaphore_id;
    35     //  semun sem_arg_ctl;
    3633    QSystemSemaphore * event_;
    3734    QSharedMemory * memory_;
    3835};
    3936
    40 #endif // POSIXSHMEM_H
     37#endif // DEF_PACPUS_POSIXSHMEM_H
  • trunk/include/Pacpus/PacpusTools/ShMem.h

    r3 r31  
    1 /*********************************************************************
    2 //  created:    2006/12/30 - 17:19
    3 //  filename:   ShMem.h
    4 //
    5 //  author:     Gerald Dherbomez
    6 //
    7 //  version:    $Id: ShMem.h 914 2012-03-07 15:57:43Z kurdejma $
    8 //
    9 //  purpose:    Generic Win32 and Linux class for the exchange of
    10 //              data via shared memory.
    11 *********************************************************************/
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
    1210
    13 #ifndef SHMEM_H
    14 #define SHMEM_H
     11#ifndef DEF_PACPUS_SHMEM_H
     12#define DEF_PACPUS_SHMEM_H
    1513
    1614#ifdef WIN32
     
    4341} // namespace pacpus
    4442
    45 #endif // SHMEM_H
     43#endif // DEF_PACPUS_SHMEM_H
  • trunk/include/Pacpus/PacpusTools/ShMemBase.h

    r3 r31  
    1 /*********************************************************************
    2 //  created:    2006/12/30 - 17:35
    3 //  filename:   ShMemBase.h
    4 //
    5 //  author:     Gerald Dherbomez
    6 //
    7 //  version:    $Id: ShMemBase.h 929 2012-03-27 15:49:00Z kurdejma $
    8 //
    9 //  purpose:    Abstract class for shared memory
    10 *********************************************************************/
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
    1110
    12 #ifndef SHMEMBASE_H
    13 #define SHMEMBASE_H
     11#ifndef DEF_PACPUS_SHMEMBASE_H
     12#define DEF_PACPUS_SHMEMBASE_H
    1413
    1514class ShMemBase
     
    5554};
    5655
    57 #endif // SHMEMBASE_H
     56#endif // DEF_PACPUS_SHMEMBASE_H
  • trunk/include/Pacpus/PacpusTools/Win32ShMem.h

    r3 r31  
    1 /// ********************************************************************
    2 ///  @date created 2006/12/30 - 17:31
    3 ///  @author Gerald Dherbomez
    4 ///  @version $Id: Win32ShMem.h 930 2012-03-28 08:30:14Z kurdejma $
    5 /// *********************************************************************
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
    610
    7 #ifndef WIN32SHMEM_H
    8 #define WIN32SHMEM_H
     11#ifndef DEF_PACPUS_WIN32SHMEM_H
     12#define DEF_PACPUS_WIN32SHMEM_H
    913
    10 #include "ShMemBase.h"
     14#include <Pacpus/PacpusTools/ShMemBase.h>
    1115
    1216typedef void * HANDLE;
     
    3539};
    3640
    37 #endif // WIN32SHMEM_H
     41#endif // DEF_PACPUS_WIN32SHMEM_H
  • trunk/include/Pacpus/PacpusTools/geodesie.h

    r3 r31  
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
     10
    111#ifndef GEODESIE_H
    212#define GEODESIE_H
  • trunk/include/Pacpus/kernel/ComponentFactory.h

    r15 r31  
    99 */
    1010
    11 #ifndef COMPONENTFACTORY_H
    12 #define COMPONENTFACTORY_H
     11#ifndef DEF_PACPUS_COMPONENTFACTORY_H
     12#define DEF_PACPUS_COMPONENTFACTORY_H
    1313
    1414#include <cassert>
    1515
    16 #include "ComponentFactoryBase.h"
     16#include <Pacpus/kernel/ComponentFactoryBase.h>
    1717
    1818#include <QtGlobal>
     
    5959  };
    6060
    61 
    6261  template <typename T>
    6362  ComponentFactory<T>::ComponentFactory(const QString& type)
     
    8685}
    8786
    88 #endif // COMPONENTFACTORY_H
     87#endif // DEF_PACPUS_DBITEEXCEPTION_H
  • trunk/include/Pacpus/kernel/ComponentFactoryBase.h

    r3 r31  
    1 /********************************************************************
    2 //  created:    2006/02/14 - 16:08
    3 //  filename:   ComponentFactoryBase.h
    4 //
    5 //  author:     Gerald Dherbomez
    6 //
    7 //  purpose:    The ComponentFactoryBase class is used to provide an
    8 //              abstract class to the template ComponentFactory
    9 *********************************************************************/
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
    1010
    11 #ifndef COMPONENTFACTORYBASE_H
    12 #define COMPONENTFACTORYBASE_H
     11#ifndef DEF_PACPUS_COMPONENTFACTORYBASE_H
     12#define DEF_PACPUS_COMPONENTFACTORYBASE_H
    1313
    14 #include "pacpus.h"
     14#include <Pacpus/kernel/pacpus.h>
    1515
    1616class QString;
     
    2121class ComponentBase;
    2222
     23/** ComponentFactoryBase
     24 * @brief Provide an abstract class to the template ComponentFactory.
     25 */
    2326class PACPUSLIB_API ComponentFactoryBase
    2427{
     
    4043} // namespace pacpus
    4144
    42 #endif // COMPONENTFACTORYBASE_H
     45#endif
  • trunk/include/Pacpus/kernel/ComponentManager.h

    r16 r31  
    99 */
    1010
    11 #ifndef COMPONENTMANAGER_H
    12 #define COMPONENTMANAGER_H
     11#ifndef DEF_PACPUS_COMPONENTMANAGER_H
     12#define DEF_PACPUS_COMPONENTMANAGER_H
    1313
    1414#include <cstddef>
     
    1818#include <QPluginLoader>
    1919
    20 #include "pacpus.h"
    21 #include "ComponentFactoryBase.h"
    22 #include "PacpusPluginInterface.h"
    23 #include "XmlConfigFile.h"
     20#include <Pacpus/kernel/pacpus.h>
     21#include <Pacpus/kernel/ComponentFactoryBase.h>
     22#include <Pacpus/kernel/PacpusPluginInterface.h>
     23#include <Pacpus/kernel/XmlConfigFile.h>
    2424
    2525namespace pacpus {
     
    149149} // namespace pacpus
    150150
    151 #endif // COMPONENTMANAGER_H
     151#endif
  • trunk/include/Pacpus/kernel/DbiteException.h

    r3 r31  
    1 // Copyright Marek Kurdej 2010 - 2012.
    2 // Distributed under the UTC Heudiasyc Pacpus License, Version 1.0.
    3 // See accompanying file LICENSE_1_0.txt or copy at
    4 // http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
    510
    6 #ifndef DBITEEXCEPTION_H
    7 #define DBITEEXCEPTION_H
     11#ifndef DEF_PACPUS_DBITEEXCEPTION_H
     12#define DEF_PACPUS_DBITEEXCEPTION_H
    813
    914#include <exception>
     
    2833} // namespace pacpus
    2934
    30 #endif // DBITEEXCEPTION_H
     35#endif // DEF_PACPUS_DBITEEXCEPTION_H
  • trunk/include/Pacpus/kernel/DbiteFile.h

    r3 r31  
    1 // Copyright Marek Kurdej 2010 - 2012.
    2 // Distributed under the UTC Heudiasyc Pacpus License, Version 1.0.
    3 // See accompanying file LICENSE_1_0.txt or copy at
    4 // http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
    5 
    6 #ifndef DBITEFILE_H
    7 #define DBITEFILE_H
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
     10
     11#ifndef DEF_PACPUS_DBITEFILE_H
     12#define DEF_PACPUS_DBITEFILE_H
    813
    914#include <fstream>
     
    1116#include <string>
    1217
    13 #include "kernel/cstdint.h"
    14 #include "kernel/hdfile_header_t.h"
    15 #include "kernel/road_time.h"
     18#include <Pacpus/kernel/cstdint.h>
     19#include <Pacpus/kernel/hdfile_header_t.h>
     20#include <Pacpus/kernel/road_time.h>
    1621
    1722namespace pacpus {
     
    242247} // namespace pacpus
    243248
    244 #endif // DBITEFILE_H
     249#endif // DEF_PACPUS_DBITEFILE_H
  • trunk/include/Pacpus/kernel/DbiteFileTypes.h

    r3 r31  
    1 // Copyright Marek Kurdej 2010 - 2012.
    2 // Distributed under the UTC Heudiasyc Pacpus License, Version 1.0.
    3 // See accompanying file LICENSE_1_0.txt or copy at
    4 // http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
    5 
    6 #ifndef DBITEFILETYPES_H
    7 #define DBITEFILETYPES_H
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
     10
     11#ifndef DEF_PACPUS_DBITEFILETYPES_H
     12#define DEF_PACPUS_DBITEFILETYPES_H
    813
    914enum BasicType
     
    265270};
    266271
    267 #endif // DBITEFILETYPES_H
     272#endif // DEF_PACPUS_DBITEFILETYPES_H
  • trunk/include/Pacpus/kernel/GenericObservable.h

    r12 r31  
    1 #pragma once
    2 #ifndef __GENERIC_OBSERVER_H__
    3 #define __GENERIC_OBSERVER_H__
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
     10
     11#ifndef DEF_PACPUS_GENERIC_OBSERVER_H
     12#define DEF_PACPUS_GENERIC_OBSERVER_H
    413
    514#include <list>
    615
    7 #include "GenericObserverInterface.h"
     16#include <Pacpus/kernel/GenericObserverInterface.h>
    817#include <QMutex>
    918
     
    6675} // namespace pacpus
    6776
    68 #endif
     77#endif // DEF_PACPUS_GENERIC_OBSERVER_H
  • trunk/include/Pacpus/kernel/GenericObserverInterface.h

    r3 r31  
    1 #pragma once
    2 #ifndef __GENERIC_OBSERVER_INTERFACE_H__
    3 #define __GENERIC_OBSERVER_INTERFACE_H__
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
     10 
     11#ifndef DEF_PACPUS_GENERIC_OBSERVER_INTERFACE_H
     12#define DEF_PACPUS_GENERIC_OBSERVER_INTERFACE_H
    413
    514namespace pacpus {
     
    3948
    4049
    41 #endif
     50#endif // DEF_PACPUS_GENERIC_OBSERVER_INTERFACE_H
  • trunk/include/Pacpus/kernel/Log.h

    r3 r31  
    1 // Copyright Marek Kurdej 2012.
    2 // Distributed under the UTC Heudiasyc Pacpus License, Version 1.0.
    3 // See accompanying file LICENSE_1_0.txt or copy at
    4 // http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
    510
    6 #ifndef PACPUS_LOG_H
    7 #define PACPUS_LOG_H
     11#ifndef DEF_PACPUS_LOG_H
     12#define DEF_PACPUS_LOG_H
    813
    914// Includes, pacpus.
    10 #include "pacpus.h"
     15#include <Pacpus/kernel/pacpus.h>
    1116
    1217namespace pacpus {
     
    5661#endif // PACPUS_USE_LOG
    5762
    58 #endif // PACPUS_LOG_H
     63#endif // DEF_PACPUS_LOG_H
  • trunk/include/Pacpus/kernel/PacpusPluginInterface.h

    r3 r31  
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
    110
     11#ifndef DEF_PACPUS_PLUGININTERFACE_H
     12#define DEF_PACPUS_PLUGININTERFACE_H
    213
    3 
    4 #ifndef _PACPUSPLUGININTERFACE_H_
    5 #define _PACPUSPLUGININTERFACE_H_
    6 
    7 
    8 
     14/** PacpusPluginInterface
     15 * @brief Base class of a Pacpus plugin.
     16 */
    917class PacpusPluginInterface
    1018{
    1119public:
    12   // destructor
     20  /** Dtor of PacpusPluginInterface. */
    1321  virtual ~PacpusPluginInterface(){}
     22 
     23  /** Name of the plugin. */
    1424  virtual QString name() = 0;
    15  
    1625};
    1726
    18 Q_DECLARE_INTERFACE(PacpusPluginInterface,
    19                      "pacpus.ComponentBaseInterface/1.0")
     27Q_DECLARE_INTERFACE(PacpusPluginInterface, "pacpus.ComponentBaseInterface/1.0")
    2028
    21 
    22 #endif
     29#endif // DEF_PACPUS_PLUGININTERFACE_H
  • trunk/include/Pacpus/kernel/XmlComponentConfig.h

    r3 r31  
    1 /*********************************************************************
    2 //
    3 // created:    2006/01/30 - 10:58
    4 //
    5 // filename:   xmlcomponentconfig.h
    6 //
    7 // author:     Gerald Dherbomez
    8 //
    9 // purpose:    definit la structure XML des paramètres de configuration
    10 //             d'un composant
    11 *********************************************************************/
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
    1210
    13 #ifndef XMLCOMPONENTCONFIG_H
    14 #define XMLCOMPONENTCONFIG_H
     11#ifndef DEF_PACPUS_XMLCOMPONENTCONFIG_H
     12#define DEF_PACPUS_XMLCOMPONENTCONFIG_H
    1513
    16 #include "pacpus.h"
     14#include <Pacpus/kernel/pacpus.h>
    1715
    1816#include <QDomElement>
     
    104102} // namespace pacpus
    105103
    106 #endif // XMLCOMPONENTCONFIG_H
     104#endif // DEF_PACPUS_XMLCOMPONENTCONFIG_H
  • trunk/include/Pacpus/kernel/XmlConfigFile.h

    r3 r31  
    1 /*********************************************************************
    2 // created:    2006/01/30 - 12:31
    3 // filename:   xmlconfigfile.h
    4 //
    5 // author:     Gerald Dherbomez
    6 //
    7 // purpose:    Classe permettant d'enregistrer un fichier de
    8 //             configuration XML
    9 //             Le fichier XML contient 2 sections :
    10 //             - parameters : contient les parametres de l'application
    11 //             - components : contient les composants
    12 //             les composants ne peuvent pas avoir de noeuds fils
    13 //
    14 // todo:       Creer une dtd qui permet de definir la liste des classes possibles
    15 //             que peuvent prendre les composants
    16 //             
    17 *********************************************************************/
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
    1810
    19 #ifndef XMLCONFIGFILE_H
    20 #define XMLCONFIGFILE_H
     11#ifndef DEF_PACPUS_XMLCONFIGFILE_H
     12#define DEF_PACPUS_XMLCONFIGFILE_H
    2113
    22 #include "kernel/pacpus.h"
    23 #include "XmlComponentConfig.h"
     14#include <Pacpus/kernel/pacpus.h>
     15#include <Pacpus/kernel/XmlComponentConfig.h>
    2416
    2517#include <QDomElement>
     
    7365} // namespace pacpus
    7466
    75 #endif // XMLCONFIGFILE_H
     67#endif // DEF_PACPUS_XMLCONFIGFILE_H
  • trunk/include/Pacpus/kernel/cstdint.h

    r3 r31  
    1 // Copyright Marek Kurdej 2010 - 2012.
    2 // Distributed under the UTC Heudiasyc Pacpus License, Version 1.0.
    3 // See accompanying file LICENSE_1_0.txt or copy at
    4 // http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
    510
    6 #ifndef PACPUS_CSTDINT_H
    7 #define PACPUS_CSTDINT_H
     11#ifndef DEF_PACPUS_CSTDINT_H
     12#define DEF_PACPUS_CSTDINT_H
    813
    914#if defined(_MSC_VER) && _MSC_VER < 1600
     
    2631#endif
    2732
    28 #endif // PACPUS_CSTDINT_H
     33#endif // DEF_PACPUS_CSTDINT_H
    2934
  • trunk/include/Pacpus/kernel/hdfile_header_t.h

    r3 r31  
    1 // Copyright Marek Kurdej 2010 - 2012.
    2 // Distributed under the UTC Heudiasyc Pacpus License, Version 1.0.
    3 // See accompanying file LICENSE_1_0.txt or copy at
    4 // http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
    510
    6 #ifndef HDFILE_HEADER_T_H
    7 #define HDFILE_HEADER_T_H
     11#ifndef DEF_HDFILE_HEADER_T_H
     12#define DEF_HDFILE_HEADER_T_H
    813
    914#include "kernel/cstdint.h"
     
    3843#pragma pack(pop)
    3944
    40 #endif // HDFILE_HEADER_T_H
     45#endif // DEF_HDFILE_HEADER_T_H
  • trunk/include/Pacpus/kernel/pacpus.h

    r11 r31  
    1 #ifndef PACPUS_H
    2 #define PACPUS_H
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
    310
    4 #include "road_time.h"
     11#ifndef DEF_PACPUS_H
     12#define DEF_PACPUS_H
     13
     14#include <Pacpus/kernel/road_time.h>
    515
    616// Deprecated, you should use M_PI from cmath.
     
    3545#endif
    3646
    37 #endif
     47#endif // DEF_PACPUS_H
  • trunk/include/Pacpus/kernel/road_time.h

    r3 r31  
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
     10
    111/*******************************************************************************
    212// This DLL was compiled as a Standard C Language Dynamic Link Libtrary.
     
    515*******************************************************************************/
    616
    7 #ifndef ROAD_TIME_H
    8 #define ROAD_TIME_H
     17#ifndef DEF_PACPUS_ROAD_TIME_H
     18#define DEF_PACPUS_ROAD_TIME_H
    919
    1020#ifdef __cplusplus
     
    1424#include <stddef.h>  // defines: NULL
    1525
    16 #include "kernel/cstdint.h"
     26#include <Pacpus/kernel/cstdint.h>
    1727
    1828// Export macro for ROAD_TIME DLL for Windows only
     
    92102#endif // __cplusplus
    93103
    94 #endif // ROAD_TIME_H
     104#endif // DEF_PACPUS_ROAD_TIME_H
  • trunk/src/DBITEPlayer/src/main.cpp

    r3 r31  
    3030
    3131#include <cassert>
    32 #include <qapplication.h>
     32#include <QApplication>
    3333
    34 #include "DbitePlayer/DbtPlyEngine.h"
    35 #include "DbitePlayer/DbtPlyTrigger.h"
    36 #include "DbitePlayer/DbtPlyUserInterface.h"
    37 #include "kernel/ComponentManager.h"
    38 #include "kernel/ComponentFactory.h"
    39 #include "kernel/Log.h"
    40 #include "kernel/PacpusPluginInterface.h"
     34#include <Pacpus/DbitePlayer/DbtPlyEngine.h>
     35#include <Pacpus/DbitePlayer/DbtPlyTrigger.h>
     36#include <Pacpus/DbitePlayer/DbtPlyUserInterface.h>
     37#include <Pacpus/kernel/ComponentManager.h>
     38#include <Pacpus/kernel/ComponentFactory.h>
     39#include <Pacpus/kernel/Log.h>
     40#include <Pacpus/kernel/PacpusPluginInterface.h>
    4141
    4242using namespace pacpus;
  • trunk/src/DBITEPlayerLib/DbtPlyEngine.cpp

    r3 r31  
    99*********************************************************************/
    1010
    11 #include "DbitePlayer/DbtPlyEngine.h"
    12 
    13 #include "kernel/ComponentManager.h"
    14 #include "kernel/Log.h"
     11#include <Pacpus/DbitePlayer/DbtPlyEngine.h>
     12#include <Pacpus/kernel/ComponentManager.h>
     13#include <Pacpus/kernel/Log.h>
    1514
    1615#include <cassert>
  • trunk/src/DBITEPlayerLib/DbtPlyEngineStateChart.cpp

    r3 r31  
    99*********************************************************************/
    1010
    11 #include "DbitePlayer/DbtPlyEngineStateChart.h"
    12 
    13 #include "kernel/Log.h"
    14 
    15 #include "DbitePlayer/DbtPlyEngine.h"
     11#include <Pacpus/DbitePlayer/DbtPlyEngineStateChart.h>
     12#include <Pacpus/DbitePlayer/DbtPlyEngine.h>
     13#include <Pacpus/kernel/Log.h>
    1614
    1715namespace pacpus {
  • trunk/src/DBITEPlayerLib/DbtPlyFileManager.cpp

    r3 r31  
    2020////////////////////////////////////////////////////////////////////////////////
    2121
    22 #include "DbitePlayer/DbtPlyFileManager.h"
    23 
    24 #include "kernel/ComponentManager.h"
    25 #include "kernel/DbiteException.h"
    26 #include "kernel/Log.h"
     22#include <Pacpus/DbitePlayer/DbtPlyFileManager.h>
     23#include <Pacpus/kernel/ComponentManager.h>
     24#include <Pacpus/kernel/DbiteException.h>
     25#include <Pacpus/kernel/Log.h>
    2726
    2827#include <cassert>
     
    3231#include <QSemaphore>
    3332
     33using namespace pacpus;
    3434using namespace std;
    35 
    36 namespace pacpus {
    3735
    3836DECLARE_STATIC_LOGGER("pacpus.core.DbtPlyFileManager");
     
    348346    }
    349347}
    350 
    351 } // namespace pacpus
  • trunk/src/DBITEPlayerLib/DbtPlyTrigger.cpp

    r3 r31  
    99////////////////////////////////////////////////////////////////////////////////
    1010
    11 #include "kernel/ComponentManager.h"
    12 #include "kernel/Log.h"
    13 #include "DbitePlayer/DbtPlyTrigger.h"
     11#include <Pacpus/kernel/ComponentManager.h>
     12#include <Pacpus/kernel/Log.h>
     13#include <Pacpus/DbitePlayer/DbtPlyTrigger.h>
    1414
    1515namespace pacpus {
  • trunk/src/DBITEPlayerLib/DbtPlyUserInterface.cpp

    r3 r31  
    1010////////////////////////////////////////////////////////////////////////////////
    1111
    12 #include "DbitePlayer/DbtPlyUserInterface.h"
     12#include <Pacpus/DbitePlayer/DbtPlyUserInterface.h>
     13#include <Pacpus/kernel/ComponentManager.h>
     14#include <Pacpus/kernel/Log.h>
    1315
    1416#include <cassert>
     
    2426#include <qtablewidget.h>
    2527
    26 #include "kernel/ComponentManager.h"
    27 #include "kernel/Log.h"
    28 
    2928namespace pacpus {
    3029
  • trunk/src/FileLib/src/DbiteException.cpp

    r3 r31  
    1 // Copyright Marek Kurdej 2010 - 2012.
    2 // Distributed under the UTC Heudiasyc Pacpus License, Version 1.0.
    3 // See accompanying file LICENSE_1_0.txt or copy at
    4 // http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
    510
    6 #include "kernel/DbiteException.h"
     11#include <Pacpus/kernel/DbiteException.h>
    712
    813using namespace pacpus;
  • trunk/src/FileLib/src/DbiteFile.cpp

    r3 r31  
    1 // Copyright Marek Kurdej 2010 - 2012.
    2 // Distributed under the UTC Heudiasyc Pacpus License, Version 1.0.
    3 // See accompanying file LICENSE_1_0.txt or copy at
    4 // http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
    5 
    6 #include "kernel/DbiteFile.h"
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
     10
     11#include <Pacpus/kernel/DbiteFile.h>
     12#include <Pacpus/kernel/DbiteException.h>
     13#include <Pacpus/kernel/DbiteFileTypes.h>
     14#include <Pacpus/kernel/Log.h>
    715
    816#include <cassert>
     
    1220#include <sstream>
    1321
    14 #include "kernel/DbiteException.h"
    15 #include "kernel/DbiteFileTypes.h"
    16 #include "kernel/Log.h"
    17 
    18 namespace pacpus {
    19 
     22using namespace pacpus;
    2023using namespace std;
    2124
     
    2528DECLARE_STATIC_LOGGER("pacpus.core.DbiteFile");
    2629
    27 VariableDataSizeTag VariableDataSize;
    28 ReadModeTag ReadMode;
    29 WriteModeTag WriteMode;
    30 DiagnoseModeTag DiagnoseMode;
     30namespace pacpus
     31{
     32  VariableDataSizeTag VariableDataSize;
     33  ReadModeTag ReadMode;
     34  WriteModeTag WriteMode;
     35  DiagnoseModeTag DiagnoseMode;
     36}
    3137
    3238bool doesFileExist(const string & path);
     
    797803    return fileExist;
    798804}
    799 
    800 } // namespace pacpus
  • trunk/src/PacpusLib/ComponentBase.cpp

    r30 r31  
    1 /*********************************************************************
    2 // created:    2006/02/07 - 11:58
    3 // filename:   ComponentBase.cpp
    4 //
    5 // author:     Gerald Dherbomez
    6 //
    7 // purpose:    implementation of ComponentBase class
    8 *********************************************************************/
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
    910
    1011#include <Pacpus/kernel/ComponentBase.h>
  • trunk/src/PacpusLib/ComponentFactoryBase.cpp

    r3 r31  
    1 // ********************************************************************
    2 //  created:    2006/02/14 - 16:07
    3 //  filename:   ComponentFactoryBase.cpp
    4 //
    5 //  author:     Gerald Dherbomez
    6 //
    7 //  purpose:    Implementation of ComponentFactoryBase class
    8 // *********************************************************************
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
    910
    10 #include "kernel/ComponentFactoryBase.h"
    11 
    12 #include "kernel/ComponentBase.h"
    13 #include "kernel/ComponentManager.h"
    14 #include "kernel/Log.h"
     11#include <Pacpus/kernel/ComponentFactoryBase.h>
     12#include <Pacpus/kernel/ComponentBase.h>
     13#include <Pacpus/kernel/ComponentManager.h>
     14#include <Pacpus/kernel/Log.h>
    1515
    1616#include <cassert>
    1717#include <QString>
    1818
    19 namespace pacpus {
     19using namespace pacpus;
    2020
    2121DECLARE_STATIC_LOGGER("pacpus.core.ComponentFactoryBase");
     
    6161    }
    6262}
    63 
    64 } // namespace pacpus
  • trunk/src/PacpusLib/ComponentManager.cpp

    r16 r31  
    1 #include "kernel/ComponentManager.h"
    2 #include "kernel/ComponentBase.h"
    3 #include "kernel/Log.h"
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
     10
     11#include <Pacpus/kernel/ComponentManager.h>
     12#include <Pacpus/kernel/ComponentBase.h>
     13#include <Pacpus/kernel/Log.h>
    414
    515using namespace pacpus;
  • trunk/src/PacpusLib/Log.cpp

    r3 r31  
    1 #include "kernel/Log.h"
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
     10
     11#include <Pacpus/kernel/Log.h>
    212
    313#ifdef PACPUS_USE_LOG
  • trunk/src/PacpusLib/XmlComponentConfig.cpp

    r3 r31  
    1 /*********************************************************************
    2 // created:    2006/01/30
    3 // created:    2006/01/30 - 11:09
    4 // filename:   xmlcomponentconfig.cpp
    5 //
    6 // author:     Gerald Dherbomez
    7 //
    8 // purpose:    implementation de la classe XmlComponentConfig
    9 *********************************************************************/
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
    1010
    11 #include "kernel/XmlComponentConfig.h"
     11#include <Pacpus/kernel/XmlComponentConfig.h>
     12#include <Pacpus/kernel/Log.h>
     13#include <Pacpus/kernel/XmlConfigFile.h>
    1214
    13 #include "kernel/Log.h"
    14 #include "kernel/XmlConfigFile.h"
    15 
    16 namespace pacpus {
    17 
     15using namespace pacpus;
    1816using namespace std;
    1917
     
    142140    return getProperty(kPropertyComponentType.c_str());
    143141}
    144 
    145 } // namespace pacpus
  • trunk/src/PacpusLib/XmlConfigFile.cpp

    r3 r31  
    1 /*********************************************************************
    2 // created:    2006/01/30
    3 // created:    2006/01/30 - 13:49
    4 // filename:   xmlconfigfile.cpp
    5 //
    6 // author:     Gerald Dherbomez
    7 //
    8 // purpose:    Implementation de la classe XmlConfigFile
    9 *********************************************************************/
    10 
    11 #include "kernel/XmlConfigFile.h"
    12 
    13 #include "kernel/Log.h"
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
     10
     11#include <Pacpus/kernel/XmlConfigFile.h>
     12#include <Pacpus/kernel/Log.h>
    1413
    1514#include <QFile>
    1615#include <QTextStream>
    1716
    18 namespace pacpus {
    19 
     17using namespace pacpus;
    2018using namespace std;
    2119
     
    209207    }
    210208}
    211 
    212 } // namespace pacpus
  • trunk/src/PacpusSensor/src/main.cpp

    r3 r31  
    1 /********************************************************************
    2  //  created:    2006/08/07 - 14:26
    3  //  filename:   main.cpp
    4  //
    5  //  author:     Gerald Dherbomez
    6  //              Copyright Heudiasyc UMR UTC/CNRS 6599
    7  //
    8  //  version:    $Id: main.cpp 1009 2012-08-01 19:03:32Z morasjul $
    9  //
    10  //  purpose:    Main file that instantiates the component manager and
    11  //              creates the main window.
    12  //
    13  *********************************************************************/
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
    1410
    15 #include <qapplication.h>
    16 //#include <qpluginloader.h>
     11#include <QApplication>
    1712
    1813#include "ui/pacpusmainwindow.h"
    19 #include "kernel/ComponentManager.h"
    20 #include "kernel/Log.h"
     14#include <Pacpus/kernel/ComponentManager.h>
     15#include <Pacpus/kernel/Log.h>
     16
    2117#ifdef WIN32
    2218#   include <windows.h>
  • trunk/src/PacpusTools/src/AsyncWorkerBase.cpp

    r3 r31  
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
     10
    111// Includes, pacpus.
    212#include <kernel/Log.h>
  • trunk/src/PacpusTools/src/PeriodicWorker.cpp

    r10 r31  
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
     10
    111// Includes, pacpus.
    212#include <PacpusTools/PeriodicWorker.h>
  • trunk/src/PacpusTools/src/PosixShMem.cpp

    r3 r31  
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
     10
    111#include <cassert>
    2 #include <cstdlib>  // exit
     12#include <cstdlib>
    313#include <iomanip>
    414
    5 #include "PacpusTools/PosixShMem.h"
    6 #include "kernel/Log.h"
     15#include <Pacpus/PacpusTools/PosixShMem.h>
     16#include <Pacpus/kernel/Log.h>
    717
    818DECLARE_STATIC_LOGGER("pacpus.core.PosixShMem");
  • trunk/src/PacpusTools/src/Win32ShMem.cpp

    r3 r31  
    1 /*********************************************************************
    2 //  created:    2007/01/18 - 18:09
    3 //  filename:   Win32ShMem.cpp
    4 //
    5 //  author:     Gerald Dherbomez
    6 //
    7 //  version:    $Id$
    8 //
    9 //  purpose:    Definition of the Win32 class of the shared memory
    10 *********************************************************************/
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
    1110
    12 #include "PacpusTools/Win32ShMem.h"
     11#include <Pacpus/PacpusTools/Win32ShMem.h>
     12#include <Pacpus/kernel/Log.h>
    1313
    1414#include <sstream>
    1515#include <windows.h>
    1616
    17 #include "kernel/Log.h"
    1817
    1918DECLARE_STATIC_LOGGER("pacpus.core.Win32ShMem");
  • trunk/src/PacpusTools/src/geodesie.cpp

    r3 r31  
    1 //#include <cmath>
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
     10
    211#include <fstream>
    3 
    4 #include "PacpusTools/geodesie.h"
     12#include <Pacpus/PacpusTools/geodesie.h>
    513
    614#ifdef _MSC_VER
  • trunk/src/PacpusTools/src/matrice.cpp

    r3 r31  
    11/// bibliotheque CPP de calcul matriciel
    2 
    3 #include "PacpusTools/matrice.h"
     2/**
     3 *
     4 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     5 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     6 *
     7 * See the LICENSE file for more information or a copy at:
     8 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     9 *
     10 */
     11
     12#include <Pacpus/PacpusTools/matrice.h>
    413
    514#include <cstdlib>
  • trunk/src/RoadTime/src/road_time.c

    r3 r31  
    1 /*********************************************************************
    2 //  created:    2002/04/01 - 10:10
    3 //  filename:   road_time.c
    4 //
    5 //  author:     Gery Brissot
    6 //              Copyright Heudiasyc UMR UTC/CNRS 6599
    7 //
    8 //  version:    $Id: road_time.c 378 2008-01-30 10:53:21Z gdherbom $
    9 //
    10 //  purpose:    Dll used to timestamp data in microseconds.
    11 //              Reference time zero : 01/01/1970 00:00
    12 *********************************************************************/
    13 
    14 // road_time.c : Defines the entry point for the DLL application.
    15 //
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
    1610
    1711#ifdef WIN32
    18 #include <windows.h>
     12  #include <windows.h>
    1913#endif
    2014
    21 #include "kernel/road_time.h"
     15#include <Pacpus/kernel/road_time.h>
    2216
    2317#include <memory.h>
Note: See TracChangeset for help on using the changeset viewer.