nlib
|
Defines the HandlerMaker, HandleAccess, and handle_maker namespaces. More...
#include "nn/nlib/Config.h"
Go to the source code of this file.
Classes | |
struct | nn::nlib::handle_maker::NumHandle< HBODY > |
A total number of handles that access the HBODY type can be obtained through the data member size of the size_t type static const. More... | |
struct | nn::nlib::HandleTable< HBODY > |
A table referencing handle instances used by the HandlerMaker class. More... | |
class | nn::nlib::HandleMaker< HBODY > |
A class supporting the implementation of handles with a 32-bit integer value. More... | |
class | nn::nlib::HandleAccess< HBODY > |
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... | |
class | nn::nlib::HandleMaker< HBODY > |
A class supporting the implementation of handles with a 32-bit integer value. More... | |
Namespaces | |
nn::nlib | |
Implements common features and features that are highly platform-dependent. Also refer to nlib Platform APIs . nlib_ns is an alias. | |
nn::nlib::handle_maker | |
Namespace in which a function template to customize the HandleMaker class is defined. | |
Functions | |
template<class HBODY > | |
void | nn::nlib::handle_maker::DestroyHandleBody (HBODY *body) noexcept |
Called from the HandleMaker object to destroy a handle instance. More... | |
template<class HBODY > | |
void | nn::nlib::handle_maker::LockHandleBody (HBODY *body) noexcept |
Called when the HandleAccess<HBODY> object is given by HandleMaker<HBODY>::GetHandleAccess() . More... | |
template<class HBODY > | |
void | nn::nlib::handle_maker::UnlockHandleBody (HBODY *body) noexcept |
Executed when the HandleAccess<HBODY> object is destructed. More... | |
template<class HBODY > | |
bool | nn::nlib::handle_maker::IsHandleBodyEnabled (HBODY *body) noexcept |
Returns if the handle instance is valid or not. More... | |
Defines the HandlerMaker, HandleAccess, and handle_maker namespaces.
Definition in file HandleMaker.h.
© 2013, 2014, 2015 Nintendo Co., Ltd. All rights reserved.