AAO DRAMA C++ Interface (Old style)
DRAMA C++, Depreciated, don't use for new code

◆ SharedType

This enum gives the various shared memory types.

This enum type is used with the DcppShared constructor to select the type of shared memory segment. The value of the argument of this type determines how some of the other arguments are used.

See DitsDefineShared() for full details on this, refering to the enum value constants.

Enumerator
Create 

Default type, most suitable for the current machine.

The Name, Key and Address arguments to the constructor are ignored as it CreateIt, which is assumed to be true

Gblsec 

Appropiate for VMS only.

Creates a VME global page section with name specified by the Name field. Key and Address are ignored

Global 

Appropriate for VxWorks.

The mapped section is just and area of memory, starting at a specified address. If CreateIt is true, Address is ignored and the memory allocated. If CreateIt is false, then Address specifies the address of the memory

ShMem 

Create Unix System V shared memory.

Key specifies the shared memory key and Name should be the Null string, and Address is ignored.

MMap 

Create a unix mapped section.

Name should be the full name of the file. Key and Address are ignored.