nlib
|
An accessor class that can access the handle instance as if it is a pointer. It becomes available after it is specified by the HandlerMaker
class.
More...
#include "nn/nlib/HandleMaker.h"
Public Member Functions | |
HandleAccess () noexcept | |
Instantiates the object with default parameters (default constructor). | |
void | DetachHandleBody () noexcept |
Detaches a handle from the handle instance. More... | |
An accessor class that can access the handle instance as if it is a pointer. It becomes available after it is specified by the HandlerMaker
class.
HBODY | Handle instance type. |
Definition at line 77 of file HandleMaker.h.
|
noexcept |
Detaches a handle from the handle instance.
HandleTable
. Once they have been released, no handle will be able to access the handle instance. For this reason, this function should be used only immediately before closing handle instances. HandleAccess
objects for the relevant handle are destructed and then handle_maker::DestroyHandleBody()
is called to release the handle instances. Definition at line 114 of file HandleMaker.h.
© 2012-2016 Nintendo Co., Ltd. All rights reserved.