#include <Shared_Memory_Pool.h>
Public Member Functions | |
ACE_Shared_Memory_Pool_Options (const char *base_addr=ACE_DEFAULT_BASE_ADDR, size_t max_segments=ACE_DEFAULT_MAX_SEGMENTS, size_t file_perms=ACE_DEFAULT_FILE_PERMS, ACE_OFF_T minimum_bytes=0, size_t segment_size=ACE_DEFAULT_SEGMENT_SIZE) | |
Initialization method. | |
Public Attributes | |
const char * | base_addr_ |
Base address of the memory-mapped backing store. | |
size_t | max_segments_ |
Number of shared memory segments to allocate. | |
ACE_OFF_T | minimum_bytes_ |
What the minimum bytes of the initial segment should be. | |
size_t | file_perms_ |
File permissions to use when creating/opening a segment. | |
size_t | segment_size_ |
Shared memory segment size. |
This should be a nested class, but that breaks too many compilers.
Definition at line 42 of file Shared_Memory_Pool.h.
ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_Shared_Memory_Pool_Options::ACE_Shared_Memory_Pool_Options | ( | const char * | base_addr = ACE_DEFAULT_BASE_ADDR , |
|
size_t | max_segments = ACE_DEFAULT_MAX_SEGMENTS , |
|||
size_t | file_perms = ACE_DEFAULT_FILE_PERMS , |
|||
ACE_OFF_T | minimum_bytes = 0 , |
|||
size_t | segment_size = ACE_DEFAULT_SEGMENT_SIZE | |||
) |
Initialization method.
Definition at line 16 of file Shared_Memory_Pool.cpp.
References ACE_TRACE.
00022 : base_addr_ (base_addr), 00023 max_segments_ (max_segments), 00024 minimum_bytes_ (minimum_bytes), 00025 file_perms_ (file_perms), 00026 segment_size_ (segment_size) 00027 { 00028 ACE_TRACE ("ACE_Shared_Memory_Pool_Options::ACE_Shared_Memory_Pool_Options"); 00029 }
const char* ACE_Shared_Memory_Pool_Options::base_addr_ |
Base address of the memory-mapped backing store.
Definition at line 54 of file Shared_Memory_Pool.h.
Referenced by ACE_Shared_Memory_Pool::ACE_Shared_Memory_Pool().
File permissions to use when creating/opening a segment.
Definition at line 63 of file Shared_Memory_Pool.h.
Referenced by ACE_Shared_Memory_Pool::ACE_Shared_Memory_Pool().
Number of shared memory segments to allocate.
Definition at line 57 of file Shared_Memory_Pool.h.
Referenced by ACE_Shared_Memory_Pool::ACE_Shared_Memory_Pool().
What the minimum bytes of the initial segment should be.
Definition at line 60 of file Shared_Memory_Pool.h.
Referenced by ACE_Shared_Memory_Pool::ACE_Shared_Memory_Pool().
Shared memory segment size.
Definition at line 66 of file Shared_Memory_Pool.h.
Referenced by ACE_Shared_Memory_Pool::ACE_Shared_Memory_Pool().