Flutter Engine
The Flutter Engine
|
#include <GrD3DTypes.h>
Public Types | |
using | element_type = T |
Public Member Functions | |
constexpr | gr_cp () |
constexpr | gr_cp (std::nullptr_t) |
gr_cp (const gr_cp< T > &that) | |
gr_cp (gr_cp< T > &&that) | |
gr_cp (T *obj) | |
~gr_cp () | |
gr_cp< T > & | operator= (const gr_cp< T > &that) |
gr_cp< T > & | operator= (gr_cp< T > &&that) |
operator bool () const | |
T * | get () const |
T * | operator-> () const |
T ** | operator& () |
void | reset (T *object=nullptr) |
void | retain (T *object) |
T * | release () |
Definition at line 48 of file GrD3DTypes.h.
Definition at line 50 of file GrD3DTypes.h.
Definition at line 52 of file GrD3DTypes.h.
Definition at line 53 of file GrD3DTypes.h.
Shares the underlying object by calling AddRef(), so that both the argument and the newly created gr_cp both have a reference to it.
Definition at line 59 of file GrD3DTypes.h.
Move the underlying object from the argument to the newly created gr_cp. Afterwards only the new gr_cp will have a reference to the object, and the argument will point to null. No call to AddRef() or Release() will be made.
Definition at line 66 of file GrD3DTypes.h.
Adopt the bare object into the newly created gr_cp. No call to AddRef() or Release() will be made.
Definition at line 72 of file GrD3DTypes.h.
Calls Release() on the underlying object pointer.
Definition at line 79 of file GrD3DTypes.h.
Definition at line 108 of file GrD3DTypes.h.
Definition at line 106 of file GrD3DTypes.h.
Definition at line 110 of file GrD3DTypes.h.
Definition at line 109 of file GrD3DTypes.h.
Shares the underlying object referenced by the argument by calling AddRef() on it. If this gr_cp previously had a reference to an object (i.e. not null) it will call Release() on that object.
Definition at line 89 of file GrD3DTypes.h.
Move the underlying object from the argument to the gr_cp. If the gr_cp previously held a reference to another object, Release() will be called on that object. No call to AddRef() will be made.
Definition at line 101 of file GrD3DTypes.h.
Return the original object, and set the internal object to nullptr. The caller must assume ownership of the object, and manage its reference count directly. No call to Release() will be made.
Definition at line 137 of file GrD3DTypes.h.
Adopt the new object, and call Release() on any previously held object (if not null). No call to AddRef() will be made.
Definition at line 116 of file GrD3DTypes.h.
Shares the new object by calling AddRef() on it. If this gr_cp previously had a reference to an object (i.e. not null) it will call Release() on that object.
Definition at line 126 of file GrD3DTypes.h.