Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
|
SyncBuffer interface with multiple underlying Matrix4. More...
#include <syncbuffer.hpp>
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 Mat4 * | matrices () 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_t & | action () 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... | |
SyncBuffer & | sync () noexcept |
Synchronizes the underlying data before usage. More... | |
SyncBuffer interface with multiple underlying Matrix4.
Definition at line 111 of file syncbuffer.hpp.
typedef Value_type jau::math::util::SyncMatrices4< Value_type, >::value_type |
Definition at line 113 of file syncbuffer.hpp.
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.
|
pure virtualnoexcept |
|
pure virtualnoexcept |
|
inlinenoexcept |
|
inlineoverridevirtualnoexcept |
Return the underlying data buffer.
Implements jau::math::util::SyncBuffer.
Definition at line 122 of file syncbuffer.hpp.
|
inlineoverridevirtualnoexcept |
Returns element size in bytes.
Implements jau::math::util::SyncBuffer.
Definition at line 123 of file syncbuffer.hpp.
|
inlineoverridevirtualnoexcept |
Returns element count, total byte size = elementSize() * elementCount()
Implements jau::math::util::SyncBuffer.
Definition at line 124 of file syncbuffer.hpp.