Smart pointer template to manage dynamically allocated resources of any type, ensuring safe memory management. Behaves similar to std::unique_ptr.

Syntax

amsr::socal::r20_11::events::SamplePtr<…>

Constructor

SamplePtr()

Deconstructor

~SamplePtr()

Member functions

Name

Description

Access

Get()

Gets the pointer to the stored sample.

Public

GetTimeStamp()

Gets the timestamp value of the stored sample, if enabled.

Public

GetProfileCheckStatus()

Gets the end 2 end protection check result of the stored sample.

Public

Swap()

Swaps the managed object.

Public

Reset()

Resets the managed object.

Public

bool()

Checks if the stored pointer is null.

Public

operator=()

Move assigns the SamplePtr.

Public

operator*()

Indirection operator∗ for getting the sample value.

Public

operator->()

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

Public