summaryrefslogtreecommitdiff
path: root/ace/Shared_Memory_MM.cpp
blob: f66a42784ddd1bbd3439e0745422188f5d783205 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// Shared_Memory_MM.cpp
// $Id$

#define ACE_BUILD_DLL
#include "ace/Shared_Memory_MM.h"

#if !defined (__ACE_INLINE__)
#include "ace/Shared_Memory_MM.i"
#endif /* __ACE_INLINE__ */

ACE_RCSID(ace, Shared_Memory_MM, "$Id$")

ACE_ALLOC_HOOK_DEFINE(ACE_Shared_Memory_MM)

void
ACE_Shared_Memory_MM::dump (void) const
{
  ACE_TRACE ("ACE_Shared_Memory_MM::dump");
}

// Creates a shared memory segment of SIZE bytes.

ACE_Shared_Memory_MM::ACE_Shared_Memory_MM (ACE_HANDLE handle,
					    int length, 
					    int prot, 
					    int share, 
					    char *addr, 
					    off_t pos)
  : shared_memory_ (handle, length, prot, share, addr, pos)
{
  ACE_TRACE ("ACE_Shared_Memory_MM::ACE_Shared_Memory_MM");
}

ACE_Shared_Memory_MM::ACE_Shared_Memory_MM (LPTSTR file_name, 
					    int len, 
					    int flags, 
					    int mode, 
					    int prot, 
					    int share, 
					    char *addr, 
					    off_t pos)
  : shared_memory_ (file_name, len, flags, mode, 
		    prot, share, addr, pos)
{
  ACE_TRACE ("ACE_Shared_Memory_MM::ACE_Shared_Memory_MM");
}

// The "do-nothing" constructor.

ACE_Shared_Memory_MM::ACE_Shared_Memory_MM (void)
{
  ACE_TRACE ("ACE_Shared_Memory_MM::ACE_Shared_Memory_MM");
}