MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
Structure containing information on allocated data and the number of references to this data. More...
#include <mdsSHMData.h>
Public Member Functions | |
void | resize (tSize Size) |
Resizes the data. | |
SRefInfo (tSize Size) | |
Constructor that allocates a given size of data. | |
SRefInfo (mds::sys::CSharedMem *pSharedMem, tDataPtr pBegin, tSize Size) | |
Constructor that allocates a given size of data. | |
~SRefInfo () | |
Destructor. | |
Public Attributes | |
int | m_iReferences |
The number of references to the data. | |
tDataPtr | m_pData |
Pointer to the allocated data. | |
tSize | m_Size |
Size of the allocated data. | |
mds::sys::CSharedMemPtr | m_spSharedMem |
Shared memory. |
Structure containing information on allocated data and the number of references to this data.
CSHMData::SRefInfo::SRefInfo | ( | tSize | Size | ) |
Constructor that allocates a given size of data.
CSHMData::SRefInfo::SRefInfo | ( | mds::sys::CSharedMem * | pSharedMem, |
tDataPtr | pBegin, | ||
tSize | Size | ||
) |
Constructor that allocates a given size of data.
CSHMData::SRefInfo::~SRefInfo | ( | ) |
Destructor.
void CSHMData::SRefInfo::resize | ( | tSize | Size | ) |
Resizes the data.
int mds::base::CSHMData< T >::SRefInfo::m_iReferences |
The number of references to the data.
tDataPtr mds::base::CSHMData< T >::SRefInfo::m_pData |
Pointer to the allocated data.
tSize mds::base::CSHMData< T >::SRefInfo::m_Size |
Size of the allocated data.
mds::sys::CSharedMemPtr mds::base::CSHMData< T >::SRefInfo::m_spSharedMem |
Shared memory.