Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
|
SyncBuffer interface with a single 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 value_type * | floats () const noexcept |
Return the underlying float data buffer. More... | |
virtual const Mat4 & | matrix () const noexcept=0 |
Return the underlying Mat4, used to synchronize via action() to the buffer(). 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 a single underlying Matrix4.
Definition at line 90 of file syncbuffer.hpp.
typedef Value_type jau::math::util::SyncMatrix4< Value_type, >::value_type |
Definition at line 92 of file syncbuffer.hpp.
typedef Matrix4<value_type, std::is_floating_point_v<Value_type> > jau::math::util::SyncMatrix4< Value_type, >::Mat4 |
Definition at line 93 of file syncbuffer.hpp.
|
pure virtualnoexcept |
|
inlinenoexcept |
Return the underlying float data buffer.
Definition at line 99 of file syncbuffer.hpp.
|
inlineoverridevirtualnoexcept |
Return the underlying data buffer.
Implements jau::math::util::SyncBuffer.
Definition at line 101 of file syncbuffer.hpp.
|
inlineoverridevirtualnoexcept |
Returns element size in bytes.
Implements jau::math::util::SyncBuffer.
Definition at line 102 of file syncbuffer.hpp.
|
inlineoverridevirtualnoexcept |
Returns element count, total byte size = elementSize() * elementCount()
Implements jau::math::util::SyncBuffer.
Definition at line 103 of file syncbuffer.hpp.