Last change
on this file since 63 was 62, checked in by Marek Kurdej, 12 years ago |
Update: license info.
|
File size:
848 bytes
|
Rev | Line | |
---|
[62] | 1 | // This file is part of the PACPUS framework distributed under the
|
---|
| 2 | // CECILL-C License, Version 1.0.
|
---|
| 3 | //
|
---|
| 4 | /// @author Firstname Surname <firstname.surname@utc.fr>
|
---|
| 5 | /// @date Month, Year
|
---|
| 6 | /// @version $Id$
|
---|
| 7 | /// @copyright Copyright (c) UTC/CNRS Heudiasyc 2006 - 2013. All rights reserved.
|
---|
| 8 | /// @brief Brief description.
|
---|
| 9 | ///
|
---|
| 10 | /// Detailed description.
|
---|
[3] | 11 |
|
---|
[31] | 12 | #ifndef DEF_PACPUS_SHMEM_H
|
---|
| 13 | #define DEF_PACPUS_SHMEM_H
|
---|
[3] | 14 |
|
---|
| 15 | #ifdef WIN32
|
---|
| 16 | # include "Win32ShMem.h"
|
---|
| 17 | # define ShMemType Win32ShMem
|
---|
| 18 | #else
|
---|
| 19 | # include "PosixShMem.h"
|
---|
| 20 | # define ShMemType PosixShMem
|
---|
| 21 | #endif
|
---|
| 22 |
|
---|
| 23 | namespace pacpus {
|
---|
| 24 |
|
---|
| 25 | class ShMem
|
---|
| 26 | : public ShMemType
|
---|
| 27 | {
|
---|
| 28 | public:
|
---|
| 29 | ShMem(const char * name, int size)
|
---|
| 30 | : ShMemType(name, size)
|
---|
| 31 | {
|
---|
| 32 | }
|
---|
| 33 |
|
---|
| 34 | ~ShMem()
|
---|
| 35 | {
|
---|
| 36 | }
|
---|
| 37 |
|
---|
| 38 | protected:
|
---|
| 39 | private:
|
---|
| 40 | };
|
---|
| 41 |
|
---|
| 42 | } // namespace pacpus
|
---|
| 43 |
|
---|
[31] | 44 | #endif // DEF_PACPUS_SHMEM_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.