AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface

◆ BulkData() [3/5]

drama::BulkData::BulkData ( std::weak_ptr< Task theTask,
const DitsBulkReportInfoType info 
)

Define a bulk data shared memory segment based on a DitsBulkReportInfoType item.

This constructor is not normally invoked by user code, instead it is used by the BulkDataArg class implementation.

This constructor is used to create a drama::BulkData item from details that have been returned by DitsBulkArgInfo(). These are used with the DRAMA C interface to allow action code to access bulk data arguments. This class provides a C++ interfaces.

The memory is not released or deleted when this item is destroyed, through the task which sent the message containing the bulk data is told that the item has been released

Parameters
theTaskThe DRAMA Task we are part of. This is passed by pointer, but BulkData is not taking ownership of the subject object, which must continue to exist until the BulkData object is destroyed.
infoDetails returned by DitsBulkArgInfo().