source: pacpusframework/trunk/include/Pacpus/PacpusTools/ShMem.h@ 57

Last change on this file since 57 was 31, checked in by sgosseli, 12 years ago

Huge commit: use the new includes style in all the files, add the license header in all the headers, and in some cpp.

File size: 761 bytes
Line 
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_SHMEM_H
12#define DEF_PACPUS_SHMEM_H
13
14#ifdef WIN32
15# include "Win32ShMem.h"
16# define ShMemType Win32ShMem
17#else
18# include "PosixShMem.h"
19# define ShMemType PosixShMem
20#endif
21
22namespace pacpus {
23
24class ShMem
25 : public ShMemType
26{
27public:
28 ShMem(const char * name, int size)
29 : ShMemType(name, size)
30 {
31 }
32
33 ~ShMem()
34 {
35 }
36
37protected:
38private:
39};
40
41} // namespace pacpus
42
43#endif // DEF_PACPUS_SHMEM_H
Note: See TracBrowser for help on using the repository browser.