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