Pointer to a data sample allocated by the Communication Management implementation. Behaves like std::unique_ptr.

Include

#include <sample_allocatee_ptr.h>

Syntax

ara::com::SampleAllocateePtr<SampleType>

Constructor

SampleAllocateePtr()

Deconstructor

~SampleAllocateePtr()

Member functions

Name

Description

Access

get()

Gets the pointer to the stored sample.

Public

reset()

Resets the managed object.

Public

swap()

Swaps the managed object.

Public

bool()

Checks whether the stored pointer is null.

Public

operator!=

Compares the SampleAllocateePtr with nullptr.

Public

operator*()

Indirection operator∗ for getting the sample value.

Public

operator->()

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

Public

operator=()

Move or nullptr assignment to a SampleAllocateePtr object.

Public