Changeset 31 in pacpusframework
- Timestamp:
- Jan 8, 2013, 6:10:10 PM (12 years ago)
- 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 */ 6 10 7 #ifndef D BITEPLAYERCONFIG_H8 #define D BITEPLAYERCONFIG_H11 #ifndef DEF_PACPUS_DBITEPLAYERCONFIG_H 12 #define DEF_PACPUS_DBITEPLAYERCONFIG_H 9 13 10 14 // Export macro for DbitePlayer DLL for Windows only … … 22 26 #endif 23 27 24 #endif // D BITEPLAYERCONFIG_H28 #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 */ 3 10 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 11 13 12 #ifndef DBTPLYENGINE_H 13 #define DBTPLYENGINE_H 14 #include <QSemaphore> 14 15 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> 22 21 23 22 namespace pacpus { … … 143 142 } // namespace pacpus 144 143 145 #endif // D BTPLYENGINE_H144 #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 */ 3 10 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 11 13 12 #ifndef DBTPLYENGINESTATECHART_H 13 #define DBTPLYENGINESTATECHART_H 14 #include <QString> 14 15 15 #include <qstring.h> 16 17 #include "DbitePlayerConfig.h" 16 #include <Pacpus/DbitePlayer/DbitePlayerConfig.h> 18 17 19 18 namespace pacpus { … … 93 92 } // namespace pacpus 94 93 95 #endif // D BTPLYENGINESTATECHART_H94 #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 */ 9 10 10 *********************************************************************/ 11 #ifndef DEF_PACPUS_DBTPLYFILEMANAGER_H 12 #define DEF_PACPUS_DBTPLYFILEMANAGER_H 11 13 12 #ifndef DBTPLYFILEMANAGER_H 13 #define DBTPLYFILEMANAGER_H 14 #include <QThread> 14 15 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> 22 21 23 22 class QSemaphore; … … 140 139 } // namespace pacpus 141 140 142 #endif // D BTPLYFILEMANAGER_H141 #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 */ 3 10 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 11 13 12 #ifndef DBTPLYTRIGGER_H 13 #define DBTPLYTRIGGER_H 14 #include <QThread> 14 15 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> 21 20 22 21 #ifdef WIN32 … … 56 55 } // namespace pacpus 57 56 58 #endif // D BTPLYTRIGGER_H57 #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 */ 11 10 12 #ifndef D BTPLYUSERINTERFACE_H13 #define D BTPLYUSERINTERFACE_H11 #ifndef DEF_PACPUS_DBTPLYUSERINTERFACE_H 12 #define DEF_PACPUS_DBTPLYUSERINTERFACE_H 14 13 15 #include < qwidget.h>14 #include <QWidget> 16 15 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> 22 21 23 22 class QButtonGroup; … … 125 124 } // namespace pacpus 126 125 127 #endif // D BTPLYUSERINTERFACE_H126 #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 3 13 4 14 // Includes, pacpus. … … 79 89 } // namespace pacpus 80 90 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 3 13 4 14 // Includes, pacpus. … … 55 65 } 56 66 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 */ 3 10 4 #i nclude <qsharedmemory.h>5 # include <qsystemsemaphore.h>11 #ifndef DEF_PACPUS_POSIXSHMEM_H 12 #define DEF_PACPUS_POSIXSHMEM_H 6 13 7 #include "ShMemBase.h" 14 #include <QSharedMemory> 15 #include <QSystemSemaphore> 8 16 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> 16 18 17 19 class PosixShMem … … 28 30 virtual void unlockMemory(); 29 31 30 protected:31 32 32 private: 33 // int shMemHandle_;34 // int semaphore_id;35 // semun sem_arg_ctl;36 33 QSystemSemaphore * event_; 37 34 QSharedMemory * memory_; 38 35 }; 39 36 40 #endif // POSIXSHMEM_H37 #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 */ 12 10 13 #ifndef SHMEM_H14 #define SHMEM_H11 #ifndef DEF_PACPUS_SHMEM_H 12 #define DEF_PACPUS_SHMEM_H 15 13 16 14 #ifdef WIN32 … … 43 41 } // namespace pacpus 44 42 45 #endif // SHMEM_H43 #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 */ 11 10 12 #ifndef SHMEMBASE_H13 #define SHMEMBASE_H11 #ifndef DEF_PACPUS_SHMEMBASE_H 12 #define DEF_PACPUS_SHMEMBASE_H 14 13 15 14 class ShMemBase … … 55 54 }; 56 55 57 #endif // SHMEMBASE_H56 #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 */ 6 10 7 #ifndef WIN32SHMEM_H8 #define WIN32SHMEM_H11 #ifndef DEF_PACPUS_WIN32SHMEM_H 12 #define DEF_PACPUS_WIN32SHMEM_H 9 13 10 #include "ShMemBase.h"14 #include <Pacpus/PacpusTools/ShMemBase.h> 11 15 12 16 typedef void * HANDLE; … … 35 39 }; 36 40 37 #endif // WIN32SHMEM_H41 #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 1 11 #ifndef GEODESIE_H 2 12 #define GEODESIE_H -
trunk/include/Pacpus/kernel/ComponentFactory.h
r15 r31 9 9 */ 10 10 11 #ifndef COMPONENTFACTORY_H12 #define COMPONENTFACTORY_H11 #ifndef DEF_PACPUS_COMPONENTFACTORY_H 12 #define DEF_PACPUS_COMPONENTFACTORY_H 13 13 14 14 #include <cassert> 15 15 16 #include "ComponentFactoryBase.h"16 #include <Pacpus/kernel/ComponentFactoryBase.h> 17 17 18 18 #include <QtGlobal> … … 59 59 }; 60 60 61 62 61 template <typename T> 63 62 ComponentFactory<T>::ComponentFactory(const QString& type) … … 86 85 } 87 86 88 #endif // COMPONENTFACTORY_H87 #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 */ 10 10 11 #ifndef COMPONENTFACTORYBASE_H12 #define COMPONENTFACTORYBASE_H11 #ifndef DEF_PACPUS_COMPONENTFACTORYBASE_H 12 #define DEF_PACPUS_COMPONENTFACTORYBASE_H 13 13 14 #include "pacpus.h"14 #include <Pacpus/kernel/pacpus.h> 15 15 16 16 class QString; … … 21 21 class ComponentBase; 22 22 23 /** ComponentFactoryBase 24 * @brief Provide an abstract class to the template ComponentFactory. 25 */ 23 26 class PACPUSLIB_API ComponentFactoryBase 24 27 { … … 40 43 } // namespace pacpus 41 44 42 #endif // COMPONENTFACTORYBASE_H45 #endif -
trunk/include/Pacpus/kernel/ComponentManager.h
r16 r31 9 9 */ 10 10 11 #ifndef COMPONENTMANAGER_H12 #define COMPONENTMANAGER_H11 #ifndef DEF_PACPUS_COMPONENTMANAGER_H 12 #define DEF_PACPUS_COMPONENTMANAGER_H 13 13 14 14 #include <cstddef> … … 18 18 #include <QPluginLoader> 19 19 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> 24 24 25 25 namespace pacpus { … … 149 149 } // namespace pacpus 150 150 151 #endif // COMPONENTMANAGER_H151 #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 */ 5 10 6 #ifndef D BITEEXCEPTION_H7 #define D BITEEXCEPTION_H11 #ifndef DEF_PACPUS_DBITEEXCEPTION_H 12 #define DEF_PACPUS_DBITEEXCEPTION_H 8 13 9 14 #include <exception> … … 28 33 } // namespace pacpus 29 34 30 #endif // D BITEEXCEPTION_H35 #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 8 13 9 14 #include <fstream> … … 11 16 #include <string> 12 17 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> 16 21 17 22 namespace pacpus { … … 242 247 } // namespace pacpus 243 248 244 #endif // D BITEFILE_H249 #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 8 13 9 14 enum BasicType … … 265 270 }; 266 271 267 #endif // D BITEFILETYPES_H272 #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 4 13 5 14 #include <list> 6 15 7 #include "GenericObserverInterface.h"16 #include <Pacpus/kernel/GenericObserverInterface.h> 8 17 #include <QMutex> 9 18 … … 66 75 } // namespace pacpus 67 76 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 4 13 5 14 namespace pacpus { … … 39 48 40 49 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 */ 5 10 6 #ifndef PACPUS_LOG_H7 #define PACPUS_LOG_H11 #ifndef DEF_PACPUS_LOG_H 12 #define DEF_PACPUS_LOG_H 8 13 9 14 // Includes, pacpus. 10 #include "pacpus.h"15 #include <Pacpus/kernel/pacpus.h> 11 16 12 17 namespace pacpus { … … 56 61 #endif // PACPUS_USE_LOG 57 62 58 #endif // PACPUS_LOG_H63 #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 */ 1 10 11 #ifndef DEF_PACPUS_PLUGININTERFACE_H 12 #define DEF_PACPUS_PLUGININTERFACE_H 2 13 3 4 #ifndef _PACPUSPLUGININTERFACE_H_ 5 #define _PACPUSPLUGININTERFACE_H_ 6 7 8 14 /** PacpusPluginInterface 15 * @brief Base class of a Pacpus plugin. 16 */ 9 17 class PacpusPluginInterface 10 18 { 11 19 public: 12 / / destructor20 /** Dtor of PacpusPluginInterface. */ 13 21 virtual ~PacpusPluginInterface(){} 22 23 /** Name of the plugin. */ 14 24 virtual QString name() = 0; 15 16 25 }; 17 26 18 Q_DECLARE_INTERFACE(PacpusPluginInterface, 19 "pacpus.ComponentBaseInterface/1.0") 27 Q_DECLARE_INTERFACE(PacpusPluginInterface, "pacpus.ComponentBaseInterface/1.0") 20 28 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 */ 12 10 13 #ifndef XMLCOMPONENTCONFIG_H14 #define XMLCOMPONENTCONFIG_H11 #ifndef DEF_PACPUS_XMLCOMPONENTCONFIG_H 12 #define DEF_PACPUS_XMLCOMPONENTCONFIG_H 15 13 16 #include "pacpus.h"14 #include <Pacpus/kernel/pacpus.h> 17 15 18 16 #include <QDomElement> … … 104 102 } // namespace pacpus 105 103 106 #endif // XMLCOMPONENTCONFIG_H104 #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 */ 18 10 19 #ifndef XMLCONFIGFILE_H20 #define XMLCONFIGFILE_H11 #ifndef DEF_PACPUS_XMLCONFIGFILE_H 12 #define DEF_PACPUS_XMLCONFIGFILE_H 21 13 22 #include "kernel/pacpus.h"23 #include "XmlComponentConfig.h"14 #include <Pacpus/kernel/pacpus.h> 15 #include <Pacpus/kernel/XmlComponentConfig.h> 24 16 25 17 #include <QDomElement> … … 73 65 } // namespace pacpus 74 66 75 #endif // XMLCONFIGFILE_H67 #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 */ 5 10 6 #ifndef PACPUS_CSTDINT_H7 #define PACPUS_CSTDINT_H11 #ifndef DEF_PACPUS_CSTDINT_H 12 #define DEF_PACPUS_CSTDINT_H 8 13 9 14 #if defined(_MSC_VER) && _MSC_VER < 1600 … … 26 31 #endif 27 32 28 #endif // PACPUS_CSTDINT_H33 #endif // DEF_PACPUS_CSTDINT_H 29 34 -
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 */ 5 10 6 #ifndef HDFILE_HEADER_T_H7 #define HDFILE_HEADER_T_H11 #ifndef DEF_HDFILE_HEADER_T_H 12 #define DEF_HDFILE_HEADER_T_H 8 13 9 14 #include "kernel/cstdint.h" … … 38 43 #pragma pack(pop) 39 44 40 #endif // HDFILE_HEADER_T_H45 #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 */ 3 10 4 #include "road_time.h" 11 #ifndef DEF_PACPUS_H 12 #define DEF_PACPUS_H 13 14 #include <Pacpus/kernel/road_time.h> 5 15 6 16 // Deprecated, you should use M_PI from cmath. … … 35 45 #endif 36 46 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 1 11 /******************************************************************************* 2 12 // This DLL was compiled as a Standard C Language Dynamic Link Libtrary. … … 5 15 *******************************************************************************/ 6 16 7 #ifndef ROAD_TIME_H8 #define ROAD_TIME_H17 #ifndef DEF_PACPUS_ROAD_TIME_H 18 #define DEF_PACPUS_ROAD_TIME_H 9 19 10 20 #ifdef __cplusplus … … 14 24 #include <stddef.h> // defines: NULL 15 25 16 #include "kernel/cstdint.h"26 #include <Pacpus/kernel/cstdint.h> 17 27 18 28 // Export macro for ROAD_TIME DLL for Windows only … … 92 102 #endif // __cplusplus 93 103 94 #endif // ROAD_TIME_H104 #endif // DEF_PACPUS_ROAD_TIME_H -
trunk/src/DBITEPlayer/src/main.cpp
r3 r31 30 30 31 31 #include <cassert> 32 #include < qapplication.h>32 #include <QApplication> 33 33 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> 41 41 42 42 using namespace pacpus; -
trunk/src/DBITEPlayerLib/DbtPlyEngine.cpp
r3 r31 9 9 *********************************************************************/ 10 10 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> 15 14 16 15 #include <cassert> -
trunk/src/DBITEPlayerLib/DbtPlyEngineStateChart.cpp
r3 r31 9 9 *********************************************************************/ 10 10 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> 16 14 17 15 namespace pacpus { -
trunk/src/DBITEPlayerLib/DbtPlyFileManager.cpp
r3 r31 20 20 //////////////////////////////////////////////////////////////////////////////// 21 21 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> 27 26 28 27 #include <cassert> … … 32 31 #include <QSemaphore> 33 32 33 using namespace pacpus; 34 34 using namespace std; 35 36 namespace pacpus {37 35 38 36 DECLARE_STATIC_LOGGER("pacpus.core.DbtPlyFileManager"); … … 348 346 } 349 347 } 350 351 } // namespace pacpus -
trunk/src/DBITEPlayerLib/DbtPlyTrigger.cpp
r3 r31 9 9 //////////////////////////////////////////////////////////////////////////////// 10 10 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> 14 14 15 15 namespace pacpus { -
trunk/src/DBITEPlayerLib/DbtPlyUserInterface.cpp
r3 r31 10 10 //////////////////////////////////////////////////////////////////////////////// 11 11 12 #include "DbitePlayer/DbtPlyUserInterface.h" 12 #include <Pacpus/DbitePlayer/DbtPlyUserInterface.h> 13 #include <Pacpus/kernel/ComponentManager.h> 14 #include <Pacpus/kernel/Log.h> 13 15 14 16 #include <cassert> … … 24 26 #include <qtablewidget.h> 25 27 26 #include "kernel/ComponentManager.h"27 #include "kernel/Log.h"28 29 28 namespace pacpus { 30 29 -
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 */ 5 10 6 #include "kernel/DbiteException.h"11 #include <Pacpus/kernel/DbiteException.h> 7 12 8 13 using 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> 7 15 8 16 #include <cassert> … … 12 20 #include <sstream> 13 21 14 #include "kernel/DbiteException.h" 15 #include "kernel/DbiteFileTypes.h" 16 #include "kernel/Log.h" 17 18 namespace pacpus { 19 22 using namespace pacpus; 20 23 using namespace std; 21 24 … … 25 28 DECLARE_STATIC_LOGGER("pacpus.core.DbiteFile"); 26 29 27 VariableDataSizeTag VariableDataSize; 28 ReadModeTag ReadMode; 29 WriteModeTag WriteMode; 30 DiagnoseModeTag DiagnoseMode; 30 namespace pacpus 31 { 32 VariableDataSizeTag VariableDataSize; 33 ReadModeTag ReadMode; 34 WriteModeTag WriteMode; 35 DiagnoseModeTag DiagnoseMode; 36 } 31 37 32 38 bool doesFileExist(const string & path); … … 797 803 return fileExist; 798 804 } 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 */ 9 10 10 11 #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 */ 9 10 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> 15 15 16 16 #include <cassert> 17 17 #include <QString> 18 18 19 namespace pacpus { 19 using namespace pacpus; 20 20 21 21 DECLARE_STATIC_LOGGER("pacpus.core.ComponentFactoryBase"); … … 61 61 } 62 62 } 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> 4 14 5 15 using 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> 2 12 3 13 #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 */ 10 10 11 #include "kernel/XmlComponentConfig.h" 11 #include <Pacpus/kernel/XmlComponentConfig.h> 12 #include <Pacpus/kernel/Log.h> 13 #include <Pacpus/kernel/XmlConfigFile.h> 12 14 13 #include "kernel/Log.h" 14 #include "kernel/XmlConfigFile.h" 15 16 namespace pacpus { 17 15 using namespace pacpus; 18 16 using namespace std; 19 17 … … 142 140 return getProperty(kPropertyComponentType.c_str()); 143 141 } 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> 14 13 15 14 #include <QFile> 16 15 #include <QTextStream> 17 16 18 namespace pacpus { 19 17 using namespace pacpus; 20 18 using namespace std; 21 19 … … 209 207 } 210 208 } 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 */ 14 10 15 #include <qapplication.h> 16 //#include <qpluginloader.h> 11 #include <QApplication> 17 12 18 13 #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 21 17 #ifdef WIN32 22 18 # 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 1 11 // Includes, pacpus. 2 12 #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 1 11 // Includes, pacpus. 2 12 #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 1 11 #include <cassert> 2 #include <cstdlib> // exit12 #include <cstdlib> 3 13 #include <iomanip> 4 14 5 #include "PacpusTools/PosixShMem.h"6 #include "kernel/Log.h"15 #include <Pacpus/PacpusTools/PosixShMem.h> 16 #include <Pacpus/kernel/Log.h> 7 17 8 18 DECLARE_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 */ 11 10 12 #include "PacpusTools/Win32ShMem.h" 11 #include <Pacpus/PacpusTools/Win32ShMem.h> 12 #include <Pacpus/kernel/Log.h> 13 13 14 14 #include <sstream> 15 15 #include <windows.h> 16 16 17 #include "kernel/Log.h"18 17 19 18 DECLARE_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 2 11 #include <fstream> 3 4 #include "PacpusTools/geodesie.h" 12 #include <Pacpus/PacpusTools/geodesie.h> 5 13 6 14 #ifdef _MSC_VER -
trunk/src/PacpusTools/src/matrice.cpp
r3 r31 1 1 /// 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> 4 13 5 14 #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 */ 16 10 17 11 #ifdef WIN32 18 #include <windows.h>12 #include <windows.h> 19 13 #endif 20 14 21 #include "kernel/road_time.h"15 #include <Pacpus/kernel/road_time.h> 22 16 23 17 #include <memory.h>
Note:
See TracChangeset
for help on using the changeset viewer.