Changeset 31 in pacpusframework for trunk/include/Pacpus/PacpusTools


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