Cogs.Core
Public Attributes | List of all members
Cogs::Core::EchoSounder::OctProviderPersistent Struct Reference

#include <OctProviderSystem.h>

Public Attributes

Contextcontext = nullptr
 
std::vector< unsigned > taskCount
 Number of tasks to split each request into.
 
std::vector< Volumetric::TileResponse * > responses
 List of responses to be processed by tile builder.
 
std::vector< CachedBeamGroupgroupCache
 Beam group data cached while tile builder task is running.
 
std::unordered_map< uint64_t, std::unique_ptr< CachedPing > > pingCache
 Cache of beam data for both while tile builder is running, and between runs to avoid re-copying and re-linearizing data.
 
std::vector< std::unique_ptr< CachedPing > > pingCacheUnused
 
std::vector< CachedPing * > needsLinearization
 List of new pings that must be linearized next time tile builder runs.
 
bool tasksRunning = false
 True if the tile builder is running.
 
bool tainted = false
 True if the groups or data have changed to an extent that responses in flight and all cached data must be discarded.
 

Detailed Description

Store made made persistent through the lifetime of the tile-builder task. Note that a tile-builder task may out-live the associated component (and data).

Definition at line 80 of file OctProviderSystem.h.

Member Data Documentation

◆ context

Context* Cogs::Core::EchoSounder::OctProviderPersistent::context = nullptr

Definition at line 82 of file OctProviderSystem.h.

◆ groupCache

std::vector<CachedBeamGroup> Cogs::Core::EchoSounder::OctProviderPersistent::groupCache

Beam group data cached while tile builder task is running.

Definition at line 91 of file OctProviderSystem.h.

◆ needsLinearization

std::vector<CachedPing*> Cogs::Core::EchoSounder::OctProviderPersistent::needsLinearization

List of new pings that must be linearized next time tile builder runs.

Definition at line 98 of file OctProviderSystem.h.

◆ pingCache

std::unordered_map<uint64_t, std::unique_ptr<CachedPing> > Cogs::Core::EchoSounder::OctProviderPersistent::pingCache

Cache of beam data for both while tile builder is running, and between runs to avoid re-copying and re-linearizing data.

Definition at line 94 of file OctProviderSystem.h.

◆ pingCacheUnused

std::vector<std::unique_ptr<CachedPing> > Cogs::Core::EchoSounder::OctProviderPersistent::pingCacheUnused

Definition at line 95 of file OctProviderSystem.h.

◆ responses

std::vector<Volumetric::TileResponse*> Cogs::Core::EchoSounder::OctProviderPersistent::responses

List of responses to be processed by tile builder.

Definition at line 88 of file OctProviderSystem.h.

◆ tainted

bool Cogs::Core::EchoSounder::OctProviderPersistent::tainted = false

True if the groups or data have changed to an extent that responses in flight and all cached data must be discarded.

Definition at line 104 of file OctProviderSystem.h.

◆ taskCount

std::vector<unsigned> Cogs::Core::EchoSounder::OctProviderPersistent::taskCount

Number of tasks to split each request into.

Definition at line 85 of file OctProviderSystem.h.

◆ tasksRunning

bool Cogs::Core::EchoSounder::OctProviderPersistent::tasksRunning = false

True if the tile builder is running.

Definition at line 101 of file OctProviderSystem.h.


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