Check if the container currently holds any data.
- Returns
- true if data is present, false otherwise
Implements MayaFlux::Kakshya::NDDataContainer.
Definition at line 438 of file WindowContainer.cpp.
439{
440 bool result = false;
443 return;
444 result = std::visit([](
const auto& v) {
return !v.empty(); },
m_processed_data[0]);
445 });
446 return result;
447}
Memory::Seqlock m_data_lock
std::vector< DataVariant > m_processed_data
bool seqlock_read_void(const Seqlock &lock, uint32_t max_attempts, Fn &&fn)
Invoke a void read functor under a Seqlock with a bounded retry count.
References m_data_lock, and m_processed_data.