TRefCountPtr

Inheritance Hierarchy

TRefCountPtr

TUniformBufferRef

Syntax

template<typename ReferencedType>
class TRefCountPtr

Remarks

A smart pointer to an object which implements AddRef/Release.

Constructors

Name Description

Public function

TRefCountPtr()

Public function

TRefCountPtr

(
    const TRefCountPtr & Copy
)

Public function

TRefCountPtr

(
    TRefCountPtr && Copy
)

Public function

TRefCountPtr

(
    ReferencedType* InReference,
    bool bAddRef
)

Destructors

Name Description

Public function

~TRefCountPtr()

Functions

Name Description

Public function

ReferencedTy...

 

GetInitReference()

Public function

uint32

 

GetRefCount()

Public function Const

ReferencedTy...

 

GetReference()

Public function Const

bool

 

IsValid()

Public function

void

 

SafeRelease()

Public function

void

 

Swap

(
    TRefCountPtr & InPtr
)

Operators

Name Description

Public function Const

 

operator ReferenceType()

Public function

TRefCountPtr ...

 

operator=

(
    ReferencedType* InReference
)

Public function

TRefCountPtr ...

 

operator=

(
    const TRefCountPtr & InPtr
)

Public function

TRefCountPtr ...

 

operator=

(
    TRefCountPtr && InPtr
)

Public function Const

ReferencedTy...

 

operator->()

Typedefs

Name

Description

ReferenceType

References

Module

Core

Header

Runtime/Core/Public/Templates/RefCounting.h