Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
Public Types | Public Member Functions | List of all members
jau::math::util::SyncMatrices4< Value_type, > Class Template Referenceabstract

SyncBuffer interface with multiple underlying Matrix4. More...

#include <syncbuffer.hpp>

Inheritance diagram for jau::math::util::SyncMatrices4< Value_type, >:
Collaboration diagram for jau::math::util::SyncMatrices4< Value_type, >:

Public Types

typedef Matrix4< value_type, std::is_floating_point_v< Value_type > > Mat4
 
typedef Value_type value_type
 

Public Member Functions

const void * buffer () const noexcept override
 Return the underlying data buffer. More...
 
size_t elementCount () const noexcept override
 Returns element count, total byte size = elementSize() * elementCount() More...
 
size_t elementSize () const noexcept override
 Returns element size in bytes. More...
 
const float * floats () const noexcept
 
virtual const Mat4matrices () const noexcept=0
 Return the underlying Mat4 pointer, used to synchronize via action() to the buffer(). More...
 
virtual size_t matrixCount () const noexcept=0
 Return the number of Mat4 referenced by matrices() More...
 
- Public Member Functions inherited from jau::math::util::SyncBuffer
virtual ~SyncBuffer () noexcept=default
 
virtual sync_action_taction () noexcept=0
 Return the defined sync_action_t. More...
 
virtual const void * buffer () const noexcept=0
 Return the underlying data buffer. More...
 
virtual size_t elementCount () const noexcept=0
 Returns element count, total byte size = elementSize() * elementCount() More...
 
virtual size_t elementSize () const noexcept=0
 Returns element size in bytes. More...
 
SyncBuffersync () noexcept
 Synchronizes the underlying data before usage. More...
 

Detailed Description

template<typename Value_type, std::enable_if_t< std::is_floating_point_v< Value_type >, bool > = true>
class jau::math::util::SyncMatrices4< Value_type, >

SyncBuffer interface with multiple underlying Matrix4.

Definition at line 111 of file syncbuffer.hpp.

Member Typedef Documentation

◆ value_type

template<typename Value_type , std::enable_if_t< std::is_floating_point_v< Value_type >, bool > = true>
typedef Value_type jau::math::util::SyncMatrices4< Value_type, >::value_type

Definition at line 113 of file syncbuffer.hpp.

◆ Mat4

template<typename Value_type , std::enable_if_t< std::is_floating_point_v< Value_type >, bool > = true>
typedef Matrix4<value_type, std::is_floating_point_v<Value_type> > jau::math::util::SyncMatrices4< Value_type, >::Mat4

Definition at line 114 of file syncbuffer.hpp.

Member Function Documentation

◆ matrices()

template<typename Value_type , std::enable_if_t< std::is_floating_point_v< Value_type >, bool > = true>
virtual const Mat4 * jau::math::util::SyncMatrices4< Value_type, >::matrices ( ) const
pure virtualnoexcept

Return the underlying Mat4 pointer, used to synchronize via action() to the buffer().

Here is the caller graph for this function:

◆ matrixCount()

template<typename Value_type , std::enable_if_t< std::is_floating_point_v< Value_type >, bool > = true>
virtual size_t jau::math::util::SyncMatrices4< Value_type, >::matrixCount ( ) const
pure virtualnoexcept

Return the number of Mat4 referenced by matrices()

Here is the caller graph for this function:

◆ floats()

template<typename Value_type , std::enable_if_t< std::is_floating_point_v< Value_type >, bool > = true>
const float * jau::math::util::SyncMatrices4< Value_type, >::floats ( ) const
inlinenoexcept

Definition at line 121 of file syncbuffer.hpp.

Here is the caller graph for this function:

◆ buffer()

template<typename Value_type , std::enable_if_t< std::is_floating_point_v< Value_type >, bool > = true>
const void * jau::math::util::SyncMatrices4< Value_type, >::buffer ( ) const
inlineoverridevirtualnoexcept

Return the underlying data buffer.

Implements jau::math::util::SyncBuffer.

Definition at line 122 of file syncbuffer.hpp.

◆ elementSize()

template<typename Value_type , std::enable_if_t< std::is_floating_point_v< Value_type >, bool > = true>
size_t jau::math::util::SyncMatrices4< Value_type, >::elementSize ( ) const
inlineoverridevirtualnoexcept

Returns element size in bytes.

Implements jau::math::util::SyncBuffer.

Definition at line 123 of file syncbuffer.hpp.

◆ elementCount()

template<typename Value_type , std::enable_if_t< std::is_floating_point_v< Value_type >, bool > = true>
size_t jau::math::util::SyncMatrices4< Value_type, >::elementCount ( ) const
inlineoverridevirtualnoexcept

Returns element count, total byte size = elementSize() * elementCount()

Implements jau::math::util::SyncBuffer.

Definition at line 124 of file syncbuffer.hpp.


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