| Direct-BT v3.3.0-1-gc2d430c
    Direct-BT - Direct Bluetooth Programming. | 
Convenient tuple of a sync_action_t and data buffer. More...
#include <syncbuffer.hpp>
| Public Member Functions | |
| 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... | |
Convenient tuple of a sync_action_t and data buffer.
sync_action_t is used to update the data buffer in case it is derived or must be otherwise transported, defined by the data provider.
Definition at line 62 of file syncbuffer.hpp.
| 
 | virtualdefaultnoexcept | 
| 
 | pure virtualnoexcept | 
Return the defined sync_action_t.
| 
 | pure virtualnoexcept | 
Return the underlying data buffer.
Implemented in jau::math::util::SyncMatrix4< Value_type, >, and jau::math::util::SyncMatrices4< Value_type, >.
| 
 | pure virtualnoexcept | 
Returns element size in bytes.
Implemented in jau::math::util::SyncMatrix4< Value_type, >, and jau::math::util::SyncMatrices4< Value_type, >.
| 
 | pure virtualnoexcept | 
Returns element count, total byte size = elementSize() * elementCount()
Implemented in jau::math::util::SyncMatrix4< Value_type, >, and jau::math::util::SyncMatrices4< Value_type, >.
| 
 | inlinenoexcept | 
Synchronizes the underlying data before usage.
Convenient shortcut for action()() plus chaining.
Definition at line 84 of file syncbuffer.hpp.