Changeset 31 in pacpusframework for trunk/include/Pacpus
- Timestamp:
- Jan 8, 2013, 6:10:10 PM (12 years ago)
- 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 */ 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
Note:
See TracChangeset
for help on using the changeset viewer.