Member access operator -> for accessing the values inside the sample.

notice

The behavior is undefined if the underlying sample is not valid, i.e. get() == nullptr. The SampleAllocateePtr(s) returned by the SkeletonEvent::Allocate API will always contain a valid sample, but it is still unsafe to call this function after the SampleAllocateePtr has been reset.

Syntax

template<typename SampleType>
SampleDataType* ara::com::SampleAllocateePtr<SampleType>::operator->() const

Returns

Pointer to the preallocated event sample.

Precondition

SampleAllocateePtr::get() must return a valid pointer.

Thread-safety, Reentrance, Result Delivery

  • Threadsafe : FALSE for same class instance, TRUE for different instances
  • Reentrant : FALSE for same class instance, TRUE for different instances
  • Synchronous : TRUE