Rebel Fork Framework
Urho3D::GCHandleRef Class Reference

Object that manages lifetime of gc handle. More...

#include <Urho3D/Script/Script.h>

Public Member Functions

 GCHandleRef () noexcept=default
 Construct.
 
 GCHandleRef (void *handle) noexcept
 Construct.
 
 ~GCHandleRef ()
 Destruct.
 
 GCHandleRef (const GCHandleRef &other)
 Copy-construct.
 
 GCHandleRef (GCHandleRef &&other) noexcept
 Move-construct.
 
GCHandleRefoperator= (void *handle)
 Assign from raw gc handle.
 
GCHandleRefoperator= (const GCHandleRef &rhs)
 Copy-assign.
 
GCHandleRefoperator= (GCHandleRef &&rhs) noexcept
 Move-assign.
 
 operator void * () const
 Cast to raw gc handle.
 
void * GetHandle () const
 Get raw gc handle.
 

Private Attributes

void * handle_ = nullptr
 Raw gc handle value.
 

Detailed Description

Object that manages lifetime of gc handle.


The documentation for this class was generated from the following files: