Changeset 31 in pacpusframework for trunk/include/Pacpus


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/include/Pacpus
Files:
29 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
Note: See TracChangeset for help on using the changeset viewer.