## NAME

ACE_Shared_Memory_Pool_Options - Helper class for Shared Memory Pool constructor options.

## SYNOPSIS

    #include <ace/ACE_Memory_Pool.h>

    class ACE_Shared_Memory_Pool_Options
    {
      public:
        ACE_Shared_Memory_Pool_Options (
            char *base_addr = ACE_DEFAULT_BASE_ADDR,
            size_t max_segments = ACE_DEFAULT_MAX_SEGMENTS,
            size_t file_perms = ACE_DEFAULT_FILE_PERMS,
            off_t minimum_bytes = 0,
            size_t segment_size = ACE_DEFAULT_SEGMENT_SIZE
            );
        char *base_addr_;
        size_t max_segments_;
        off_t minimum_bytes_;
        size_t file_perms_;
        size_t segment_size_;
    };

## DESCRIPTION

This should be a nested class, but that breaks too many compilers.

## Initialization method.

    ACE_Shared_Memory_Pool_Options (
        char *base_addr = ACE_DEFAULT_BASE_ADDR,
        size_t max_segments = ACE_DEFAULT_MAX_SEGMENTS,
        size_t file_perms = ACE_DEFAULT_FILE_PERMS,
        off_t minimum_bytes = 0,
        size_t segment_size = ACE_DEFAULT_SEGMENT_SIZE
        );

    char *base_addr_;

Base address of the memory-mapped backing store.

    size_t max_segments_;

Number of shared memory segments to allocate.

    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.

## AUTHOR

Doug Schmidt and Prashant Jain

## LIBRARY

ace