OGLplus  (0.59.0) a C++ wrapper for rendering APIs

eagine::oalp::al_api_traits Class Reference

Policy customizing the generic C-API wrappers for the AL API. More...

#include <oalplus/al_api/api_traits.hpp>

Public Types

template<typename R >
using no_result = al_no_result< R >
 Alias for result type of currently unavailable functions.
 
template<typename R >
using result = al_result< R >
 Alias for result type of functions.
 
template<typename R >
using opt_result = al_opt_result< R >
 Alias for result type of optionally available functions.
 

Public Member Functions

template<typename Api , typename Type >
auto load_constant (Api &api, string_view name, type_identity< Type >) -> std::tuple< Type, bool >
 Loads an AL constant with the specified name and Type.
 
template<typename Api , typename Tag , typename Signature >
auto link_function (Api &api, Tag, string_view name, type_identity< Signature >) -> std::add_pointer_t< Signature >
 Links an AL function with the specified name and Signature.
 

Detailed Description

Policy customizing the generic C-API wrappers for the AL API.

See also
default_c_api_traits

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

Copyright © 2015-2021 Matúš Chochlík.
<chochlik -at -gmail.com>
Documentation generated on Tue Apr 13 2021 by Doxygen (version 1.8.17).