Cogs.Core
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Cogs::Core::EchoSounder::SwathPathChunks Class Reference

Public Member Functions

 SwathPathChunks (uint32_t preferredExtent, uint32_t skirtSize)
 
void clear ()
 
bool update (const SwathPathResamplingPositions &positions)
 
const uint32_t getGeneration () const
 
const Collections::FixedIndexQueue< SwathPathChunk, uint32_t > & getChunks () const
 

Private Member Functions

bool retireEvictedPositions (const SwathPathResamplingPositions &positions)
 
bool seedIfQueueEmpty (const SwathPathResamplingPositions &positions)
 
bool tryGrowMoreRecent (const SwathPathResamplingPositions &positions)
 
bool tryGrowLessRecent (const SwathPathResamplingPositions &positions)
 

Private Attributes

Collections::FixedIndexQueue< SwathPathChunk, uint32_t > chunks
 
uint32_t preferredExtent
 
uint32_t skirtSize
 
uint32_t resamplingPosGen = 0
 
uint32_t generation = 0
 

Detailed Description

Definition at line 42 of file SwathPathChunks.h.

Constructor & Destructor Documentation

◆ SwathPathChunks()

Cogs::Core::EchoSounder::SwathPathChunks::SwathPathChunks ( uint32_t  preferredExtent,
uint32_t  skirtSize 
)

Definition at line 16 of file SwathPathChunks.cpp.

Member Function Documentation

◆ clear()

void Cogs::Core::EchoSounder::SwathPathChunks::clear ( )

Definition at line 22 of file SwathPathChunks.cpp.

◆ getChunks()

const Collections::FixedIndexQueue< SwathPathChunk, uint32_t > & Cogs::Core::EchoSounder::SwathPathChunks::getChunks ( ) const
inline

Definition at line 53 of file SwathPathChunks.h.

◆ getGeneration()

const uint32_t Cogs::Core::EchoSounder::SwathPathChunks::getGeneration ( ) const
inline

Definition at line 51 of file SwathPathChunks.h.

◆ retireEvictedPositions()

bool Cogs::Core::EchoSounder::SwathPathChunks::retireEvictedPositions ( const SwathPathResamplingPositions positions)
private

Definition at line 29 of file SwathPathChunks.cpp.

◆ seedIfQueueEmpty()

bool Cogs::Core::EchoSounder::SwathPathChunks::seedIfQueueEmpty ( const SwathPathResamplingPositions positions)
private

Definition at line 43 of file SwathPathChunks.cpp.

◆ tryGrowLessRecent()

bool Cogs::Core::EchoSounder::SwathPathChunks::tryGrowLessRecent ( const SwathPathResamplingPositions positions)
private

Definition at line 135 of file SwathPathChunks.cpp.

◆ tryGrowMoreRecent()

bool Cogs::Core::EchoSounder::SwathPathChunks::tryGrowMoreRecent ( const SwathPathResamplingPositions positions)
private

Definition at line 70 of file SwathPathChunks.cpp.

◆ update()

bool Cogs::Core::EchoSounder::SwathPathChunks::update ( const SwathPathResamplingPositions positions)

Definition at line 164 of file SwathPathChunks.cpp.

Member Data Documentation

◆ chunks

Collections::FixedIndexQueue<SwathPathChunk, uint32_t> Cogs::Core::EchoSounder::SwathPathChunks::chunks
private

Definition at line 56 of file SwathPathChunks.h.

◆ generation

uint32_t Cogs::Core::EchoSounder::SwathPathChunks::generation = 0
private

Definition at line 60 of file SwathPathChunks.h.

◆ preferredExtent

uint32_t Cogs::Core::EchoSounder::SwathPathChunks::preferredExtent
private

Definition at line 57 of file SwathPathChunks.h.

◆ resamplingPosGen

uint32_t Cogs::Core::EchoSounder::SwathPathChunks::resamplingPosGen = 0
private

Definition at line 59 of file SwathPathChunks.h.

◆ skirtSize

uint32_t Cogs::Core::EchoSounder::SwathPathChunks::skirtSize
private

Definition at line 58 of file SwathPathChunks.h.


The documentation for this class was generated from the following files: