QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
GstHw::MapDiagnostics Struct Reference

One-shot warning flags per failure cause; paths with extra causes (DMABuf, D3D, IOSurface) derive and add members. More...

#include <GstHwVideoBuffer.h>

Public Member Functions

void reset () noexcept

Public Attributes

std::atomic< bool > loggedFirstSuccess {false}
std::atomic< bool > loggedNullSample {false}
std::atomic< bool > loggedWrongThread {false}
std::atomic< bool > loggedBadBackend {false}
std::atomic< bool > loggedNullBuffer {false}
std::atomic< bool > loggedTextureCreateFail {false}

Detailed Description

One-shot warning flags per failure cause; paths with extra causes (DMABuf, D3D, IOSurface) derive and add members.

Definition at line 24 of file GstHwVideoBuffer.h.

Member Function Documentation

◆ reset()

void GstHw::MapDiagnostics::reset ( )
inlinenoexcept

Re-arms every flag, so a recreated device or scene graph reports its failures again. A deriving struct's reset() calls this and re-arms its own.

Definition at line 35 of file GstHwVideoBuffer.h.

References loggedBadBackend, loggedFirstSuccess, loggedNullBuffer, loggedNullSample, loggedTextureCreateFail, and loggedWrongThread.

Member Data Documentation

◆ loggedBadBackend

std::atomic<bool> GstHw::MapDiagnostics::loggedBadBackend {false}

Definition at line 29 of file GstHwVideoBuffer.h.

Referenced by GstHwVideoBuffer::checkMapPreconditions(), and reset().

◆ loggedFirstSuccess

std::atomic<bool> GstHw::MapDiagnostics::loggedFirstSuccess {false}

Definition at line 26 of file GstHwVideoBuffer.h.

Referenced by GstHwFrameTexturesBase::finishMap(), and reset().

◆ loggedNullBuffer

std::atomic<bool> GstHw::MapDiagnostics::loggedNullBuffer {false}

Definition at line 30 of file GstHwVideoBuffer.h.

Referenced by GstHwVideoBuffer::checkMapPreconditions(), and reset().

◆ loggedNullSample

std::atomic<bool> GstHw::MapDiagnostics::loggedNullSample {false}

Definition at line 27 of file GstHwVideoBuffer.h.

Referenced by GstHwVideoBuffer::checkMapPreconditions(), and reset().

◆ loggedTextureCreateFail

std::atomic<bool> GstHw::MapDiagnostics::loggedTextureCreateFail {false}

Definition at line 31 of file GstHwVideoBuffer.h.

Referenced by GstHwFrameTexturesBase::finishMap(), and reset().

◆ loggedWrongThread

std::atomic<bool> GstHw::MapDiagnostics::loggedWrongThread {false}

Definition at line 28 of file GstHwVideoBuffer.h.

Referenced by GstHwVideoBuffer::checkMapPreconditions(), and reset().


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