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

◆ DcppShared() [3/3]

DcppShared::DcppShared ( DitsSharedMemInfoType *  Info,
void *  Address = 0,
SdsIdType  ID = 0,
bool  Free = false 
)
inline

Shared memory segment constructor - using existing segment.

This constructor initializes the object from an existing DitsSharedMemInfoType structure. Note, Address will only be known if passed in. Similary for the Sds ID. The SdsdD (if any) and shared memory segement are only released when by this object's destructure if the Free flag is set true.

See also
DitsDefineShared()
DitsDefineSdsShared()
Parameters
InfoThe shared memory details.
AddressThe address of the shared memory segment.
IDThe SDS ID of any structure in the segment.
FreeIf set true, then the shared memory segment and SDS ID are freeed when the object destructor is invoked.

References SdsId::ShallowCopy().