|
◆ 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
-
Template | The 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. |
status | Inherited status. |
Type | The type of the shared memory segement. |
CreateIt | If set true, the segement is created. |
Name | The name of the shared memory segement, if required. |
Key | The Key for the shared memory segement, if required. |
Address | The address of the shared memory segment, if required. |
References SdsId::ShallowCopy().
|