commore  1.0.6-SNAPSHOT
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SharedMemory.h
Go to the documentation of this file.
1 //
2 // Copyright (c) 2006-2007 Raphael David / CANTOR
3 //
4 
5 
6 #ifndef COMMORE_SHARED_MEMORY_INCLUDED
7 #define COMMORE_SHARED_MEMORY_INCLUDED
8 
9 #include "../Commore.h"
10 
11 namespace commore
12 {
14  {
15  class Impl;
16  //
17  Impl* impl_;
18  SharedMemory(const SharedMemory&);
19  SharedMemory& operator = (const SharedMemory&);
20  public:
21  SharedMemory();
22  SharedMemory(const AChar* name, size_t size);
23  ~SharedMemory();
24  void* get_map();
25  size_t get_size();
26  void* set_map(const AChar* name, size_t size);
27  bool close();
28 
29  bool created();
30  };
31 };
32 
33 #endif
34 
char AChar
Definition: Type.h:65
#define CMREXD
Definition: Compiler.h:22
Definition: SharedMemory.h:13
Definition: SharedMemory.cpp:103