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

◆ DcppShared() [2/3]

DcppShared::DcppShared ( const SdsId Template,
StatusType *const  status,
const SharedType  Type = Create,
const int  CreateIt = true,
const char *const  Name = "",
const int  Key = 0,
void *const  Address = 0 
)
inline

Shared memory segment constructor - for an SDS structure.

This version takes an SDS ID, which represents the structure to be stored in the shared memory segment.

See also
DitsDefineSdsShared()
Parameters
TemplateThe SdsId which contains the template structure. This is often a structure which has been created but does not contain data as yet - it has not been defined, which when large arrays are involved, means is does not take up much space as yet. It will be exported into the shared memory segment with this data defined.
statusInherited status.
TypeThe type of the shared memory segement.
CreateItIf set true, the segement is created.
NameThe name of the shared memory segement, if required.
KeyThe Key for the shared memory segement, if required.
AddressThe address of the shared memory segment, if required.

References SdsId::ShallowCopy().