summaryrefslogtreecommitdiff
path: root/ace/adapter/ace/Memory_Pool.h
blob: 1fab15e7224cfd60e60a28ec243452299ff41894 (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
// $Id$

#ifndef ACE_ADAPTER_MEMORY_POOL_H
#define ACE_ADAPTER_MEMORY_POOL_H
#include "ace/pre.h"

#include "../../Memory_Pool.h"

#if !defined (ACE_LACKS_SBRK)

class ACE_Sbrk_Memory_Pool_W : ACE_Sbrk_Memory_Pool
{
public:
  ACE_Sbrk_Memory_Pool_W (const wchar_t *backing_store_name = 0,
                          const OPTIONS *options = 0)
    : ACE_Sbrk_Memory_Pool (ACE_TEXT_WCHAR_TO_CHAR (backing_store_name), options)
  {}

  virtual ~ACE_Sbrk_Memory_Pool_W (void)
  {}
}
#endif /* !ACE_LACKS_SBRK */

#if !defined (ACE_LACKS_SYSV_SHMEM)

class ACE_Shared_Memory_Pool_W : public ACE_Shared_Memory_Pool
{
public:
  ACE_Shared_Memory_Pool_W (const wchar_t *backing_store_name = 0,
                            const OPTIONS *options = 0)
    : ACE_Shared_Memory_Pool (ACE_TEXT_WCHAR_TO_CHAR (backing_store_name), options)
  {}

  virtual ~ACE_Shared_Memory_Pool_W (void)
  {}

};
#endif /* !ACE_LACKS_SYSV_SHMEM */

class ACE_Local_Memory_Pool_W : public ACE_Local_Memory_Pool
{
public:
  ACE_Local_Memory_Pool_W (const wchar_t *backing_store_name = 0,
                           const OPTIONS *options = 0)
    : ACE_Local_Memory_Pool (ACE_TEXT_WCHAR_TO_CHAR (backing_store_name), options)
  {}

  virtual ~ACE_Local_Memory_Pool_W (void)
  {}
};

class ACE_MMAP_Memory_Pool_W : public ACE_MMAP_Memory_Pool
{
public:
  ACE_MMAP_Memory_Pool_W (const wchar_t *backing_store_name = 0,
                          const OPTIONS *options = 0)
    : ACE_MMAP_Memory_Pool (ACE_TEXT_WCHAR_TO_CHAR (backing_store_name), options)
  {}

  virtual ~ACE_MMAP_Memory_Pool_W (void)
  {}
};

class ACE_Lite_MMAP_Memory_Pool_W : public ACE_Lite_MMAP_Memory_Pool
{
public:
  ACE_Lite_MMAP_Memory_Pool_W (const wchar_t *backing_store_name = 0,
                               const OPTIONS *options = 0)
    : ACE_Lite_MMAP_Memory_Pool (ACE_TEXT_WCHAR_TO_CHAR (backing_store_name), options)
  {}

  virtual ~ACE_Lite_MMAP_Memory_Pool_W (void)
  {}
};

#if defined (ACE_WIN32)

class ACE_Pagefile_Memory_Pool_W : public ACE_Pagefile_Memory_Pool
{
public:
  ACE_Pagefile_Memory_Pool_W (const wchar_t *backing_store_name = 0,
                              const OPTIONS *options = 0)
    : ACE_Pagefile_Memory_Pool (ACE_TEXT_WCHAR_TO_CHAR (backing_store_name), options)
  {}
};

#endif /* ACE_WIN32 */

#include "ace/post.h"
#endif /* ACE_ADAPTER_MEMORY_POOL_H */