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

eagine::oalp::basic_alc_c_api< ApiTraits > Class Template Reference

Class wrapping the C-functions from the ALC API. More...

#include <oalplus/alc_api/c_api.hpp>

Public Types

using api_traits = ApiTraits
 Alias for the API traits policy type passed as template argument.
 
using device_type = typename alc_types::device_type
 Alias for device handle type.
 
using context_type = typename alc_types::context_type
 Alias for context handle type.
 
using enum_type = typename alc_types::enum_type
 Alias for enumeration type.
 
using char_type = typename alc_types::char_type
 Alias for string character type.
 
using bool_type = typename alc_types::bool_type
 Alias for boolean type.
 
using int_type = typename alc_types::int_type
 Alias for signed integer type.
 
using uint_type = typename alc_types::uint_type
 Alias for unsigned integer type.
 
using size_type = typename alc_types::size_type
 Alias for integer type used to store sizes and counts.
 
using void_ptr_type = typename alc_types::void_ptr_type
 Untyped non-const pointer type.
 
template<typename Signature , c_api_function_ptr< api_traits, nothing_t, Signature > Function>
using alc_api_function = eagine::opt_c_api_function< api_traits, nothing_t, Signature, Function, has_api, bool(Function)>
 Alias for ALC C-API function wrapper template.
 

Public Attributes

alc_api_function< enum_type(device_type *), nullptr > GetError
 
alc_api_function< void_ptr_type(device_type *, const char_type *), nullptr > GetProcAddress
 
alc_api_function< enum_type(device_type *, const char_type *), nullptr > GetEnumValue
 
alc_api_function< device_type *(const char_type *), nullptr > OpenDevice
 
alc_api_function< device_type *(const char_type *, uint_type freq, enum_type format, size_type bufsize), nullptr > CaptureOpenDevice
 
alc_api_function< bool_type(device_type *), nullptr > CloseDevice
 
alc_api_function< bool_type(device_type *), nullptr > CaptureCloseDevice
 
alc_api_function< const char_type *(device_type *, enum_type), nullptr > GetString
 
alc_api_function< void(device_type *, enum_type, size_type, int_type *), nullptr > GetIntegerv
 
alc_api_function< bool_type(device_type *, const char_type *), nullptr > IsExtensionPresent
 
alc_api_function< context_type *(device_type *, const int_type *), nullptr > CreateContext
 
alc_api_function< void(context_type *), nullptr > ProcessContext
 
alc_api_function< void(context_type *), nullptr > SuspendContext
 
alc_api_function< void(context_type *), nullptr > DestroyContext
 
alc_api_function< bool_type(context_type *), nullptr > MakeContextCurrent
 
alc_api_function< context_type *(), nullptr > GetCurrentContext
 
alc_api_function< device_type *(context_type *), nullptr > GetContextsDevice
 
alc_api_function< void(device_type *), nullptr > CaptureStart
 
alc_api_function< void(device_type *), nullptr > CaptureStop
 
alc_api_function< void(device_type *, void_ptr_type, size_type), nullptr > CaptureSamples
 

Detailed Description

template<typename ApiTraits>
class eagine::oalp::basic_alc_c_api< ApiTraits >

Class wrapping the C-functions from the ALC API.

See also
basic_alc_constants
basic_alc_operations

Member Data Documentation

◆ CaptureCloseDevice

template<typename ApiTraits >
eagine::oalp::basic_alc_c_api< ApiTraits >::CaptureCloseDevice

Wrapper for alcCaptureCloseDevice

◆ CaptureOpenDevice

template<typename ApiTraits >
eagine::oalp::basic_alc_c_api< ApiTraits >::CaptureOpenDevice

Wrapper for alcCaptureOpenDevice

◆ CaptureSamples

template<typename ApiTraits >
eagine::oalp::basic_alc_c_api< ApiTraits >::CaptureSamples

Wrapper for alcCaptureSamples

◆ CaptureStart

template<typename ApiTraits >
eagine::oalp::basic_alc_c_api< ApiTraits >::CaptureStart

Wrapper for alcCaptureStart

◆ CaptureStop

template<typename ApiTraits >
eagine::oalp::basic_alc_c_api< ApiTraits >::CaptureStop

Wrapper for alcCaptureStop

◆ CloseDevice

template<typename ApiTraits >
eagine::oalp::basic_alc_c_api< ApiTraits >::CloseDevice

Wrapper for alcCloseDevice

◆ CreateContext

template<typename ApiTraits >
eagine::oalp::basic_alc_c_api< ApiTraits >::CreateContext

Wrapper for alcCreateContext

◆ DestroyContext

template<typename ApiTraits >
eagine::oalp::basic_alc_c_api< ApiTraits >::DestroyContext

Wrapper for alcDestroyContext

◆ GetContextsDevice

template<typename ApiTraits >
eagine::oalp::basic_alc_c_api< ApiTraits >::GetContextsDevice

Wrapper for alcGetContextsDevice

◆ GetCurrentContext

template<typename ApiTraits >
eagine::oalp::basic_alc_c_api< ApiTraits >::GetCurrentContext

Wrapper for alcGetCurrentContext

◆ GetEnumValue

template<typename ApiTraits >
eagine::oalp::basic_alc_c_api< ApiTraits >::GetEnumValue

Wrapper for alcGetEnumValue

◆ GetError

template<typename ApiTraits >
eagine::oalp::basic_alc_c_api< ApiTraits >::GetError

Wrapper for alcGetError

◆ GetIntegerv

template<typename ApiTraits >
eagine::oalp::basic_alc_c_api< ApiTraits >::GetIntegerv

Wrapper for alcGetIntegerv

◆ GetProcAddress

template<typename ApiTraits >
eagine::oalp::basic_alc_c_api< ApiTraits >::GetProcAddress

Wrapper for alcGetProcAddress

◆ GetString

template<typename ApiTraits >
eagine::oalp::basic_alc_c_api< ApiTraits >::GetString

Wrapper for alcGetString

◆ IsExtensionPresent

template<typename ApiTraits >
eagine::oalp::basic_alc_c_api< ApiTraits >::IsExtensionPresent

Wrapper for alcIsExtensionPresent

◆ MakeContextCurrent

template<typename ApiTraits >
eagine::oalp::basic_alc_c_api< ApiTraits >::MakeContextCurrent

Wrapper for alcMakeContextCurrent

◆ OpenDevice

template<typename ApiTraits >
eagine::oalp::basic_alc_c_api< ApiTraits >::OpenDevice

Wrapper for alcOpenDevice

◆ ProcessContext

template<typename ApiTraits >
eagine::oalp::basic_alc_c_api< ApiTraits >::ProcessContext

Wrapper for alcProcessContext

◆ SuspendContext

template<typename ApiTraits >
eagine::oalp::basic_alc_c_api< ApiTraits >::SuspendContext

Wrapper for alcSuspendContext


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).