Skip to content

Class QAccelPlot::Internal::InspectionCache

ClassList > QAccelPlot > Internal > InspectionCache

Builds an InspectionIndex on a worker thread from a snapshot of a series' records.

  • #include <InspectionCache.hpp>

Inherits the following classes: QObject

Inheritance diagram

flowchart TB
  classQAccelPlot_1_1Internal_1_1InspectionCache["QAccelPlot::Internal::InspectionCache"]

  external_base_classQAccelPlot_1_1Internal_1_1InspectionCache_1["QObject"]
  external_base_classQAccelPlot_1_1Internal_1_1InspectionCache_1 --> classQAccelPlot_1_1Internal_1_1InspectionCache

Classes

Type Name
class Host
Series-side callbacks; all are invoked on the series' thread.

Public Functions

Type Name
InspectionCache (Host & host)
const InspectionIndex * index () const
Returns the index for the current records, or null while none is ready.
void invalidate ()
Drops the index, the request for one, and pending work.
void request ()
Starts building an index unless one is ready or already in progress.
bool requested () const
~InspectionCache () override

Public Functions Documentation

function InspectionCache

explicit QAccelPlot::Internal::InspectionCache::InspectionCache (
    Host & host
) 

function index

Returns the index for the current records, or null while none is ready.

const InspectionIndex * QAccelPlot::Internal::InspectionCache::index () const


function invalidate

Drops the index, the request for one, and pending work.

void QAccelPlot::Internal::InspectionCache::invalidate () 


function request

Starts building an index unless one is ready or already in progress.

void QAccelPlot::Internal::InspectionCache::request () 


function requested

bool QAccelPlot::Internal::InspectionCache::requested () const

function ~InspectionCache

QAccelPlot::Internal::InspectionCache::~InspectionCache () override


The documentation for this class was generated from the following file QAccelPlot/src/QAccelPlot/inspection/internal/InspectionCache.hpp