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

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

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

#include <oalplus/alut_api/c_api.hpp>

Public Types

using api_traits = ApiTraits
 Alias for the API traits policy type passed as template argument.
 
using enum_type = typename alut_types::enum_type
 Alias for enumeration type.
 
using char_type = typename alut_types::char_type
 Alias for string character type.
 
using bool_type = typename alut_types::bool_type
 Alias for boolean type.
 
using int_type = typename alut_types::int_type
 Alias for signed integer type.
 
using uint_type = typename alut_types::uint_type
 Alias for unsigned integer type.
 
using name_type = typename alut_types::name_type
 Alias for object handle type.
 
using size_type = typename alut_types::size_type
 Alias for integer type used to store sizes and counts.
 
using float_type = typename alut_types::float_type
 Alias for floating-point type.
 
using void_ptr_type = typename alut_types::void_ptr_type
 Untyped non-const pointer type.
 
using const_void_ptr_type = typename alut_types::const_void_ptr_type
 Untyped const pointer type.
 
template<typename Signature , c_api_function_ptr< api_traits, nothing_t, Signature > Function>
using alut_api_function = eagine::opt_c_api_function< api_traits, nothing_t, Signature, Function, has_api, bool(Function)>
 Alias for ALUT C-API function wrapper template.
 

Public Attributes

alut_api_function< enum_type(), nullptr > GetError
 
alut_api_function< const char_type *(enum_type), nullptr > GetErrorString
 
alut_api_function< bool_type(int *, char **), nullptr > Init
 
alut_api_function< bool_type(int *, char **), nullptr > InitWithoutContext
 
alut_api_function< name_type(const char *), nullptr > CreateBufferFromFile
 
alut_api_function< name_type(const_void_ptr_type, size_type), nullptr > CreateBufferFromFileImage
 
alut_api_function< name_type(), nullptr > CreateBufferHelloWorld
 
alut_api_function< name_type(enum_type, float_type, float_type, float_type), nullptr > CreateBufferWaveform
 
alut_api_function< bool_type(), nullptr > Exit
 

Detailed Description

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

Class wrapping the C-functions from the ALUT API.

See also
basic_alut_constants
basic_alut_operations

Member Data Documentation

◆ CreateBufferFromFile

template<typename ApiTraits >
eagine::oalp::basic_alut_c_api< ApiTraits >::CreateBufferFromFile

Wrapper for alutCreateBufferFromFile

◆ CreateBufferFromFileImage

template<typename ApiTraits >
eagine::oalp::basic_alut_c_api< ApiTraits >::CreateBufferFromFileImage

Wrapper for alutGetErroteBufferFromFileImager

◆ CreateBufferHelloWorld

template<typename ApiTraits >
eagine::oalp::basic_alut_c_api< ApiTraits >::CreateBufferHelloWorld

Wrapper for alutCreateBufferHelloWorld

◆ CreateBufferWaveform

template<typename ApiTraits >
eagine::oalp::basic_alut_c_api< ApiTraits >::CreateBufferWaveform

Wrapper for alutCreateBufferWaveform

◆ Exit

template<typename ApiTraits >
eagine::oalp::basic_alut_c_api< ApiTraits >::Exit

Wrapper for alutExit

◆ GetError

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

Wrapper for alutGetError

◆ GetErrorString

template<typename ApiTraits >
eagine::oalp::basic_alut_c_api< ApiTraits >::GetErrorString

Wrapper for alutGetErrorString

◆ Init

template<typename ApiTraits >
eagine::oalp::basic_alut_c_api< ApiTraits >::Init

Wrapper for alutInit

◆ InitWithoutContext

template<typename ApiTraits >
eagine::oalp::basic_alut_c_api< ApiTraits >::InitWithoutContext

Wrapper for alutInitWithoutContext


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