Indirection operator∗
for getting the sample value.

Note: The behavior is undefined if the underlying sample is not valid, i.e. Get() == nullptr
or SamplePtr::GetProfileCheckStatus()
returns E2ECheckStatus::Error
.

Caution: It is unsafe to call this function after the SampleAllocateePtr
has been reset.
Syntax
template<…>
SampleType amsr::socal::r20_11::events::SamplePtr<…>::operator*() const
Returns
The sample value
Preconditions
Must NOT be called on
SamplePtrs
created via default constructor prior to being swapped with a validSamplePtr
,SamplePtrs
created via explicit constructor taking a nullptr,- Reset
SamplePtrs
, - E2E related
SamplePtrs
ifSamplePtr::GetProfileCheckStatus()
returnsE2ECheckStatus::Error
.
Thread-safety, Reentrance, Result Delivery
- Threadsafe : TRUE for same class instance, TRUE for different instances.
- Reentrant : TRUE for same class instance, TRUE for different instances.
- Synchronous : TRUE.