Skip to content

File plugin.cpp

FileList > ada > mesh_decompression_grey > plugin.cpp

Go to the source code of this file

  • #include "plugin.hpp"
  • #include "illixr/concurrentqueue/readwritequeue/readerwritercircularbuffer.h"
  • #include <mutex>
  • #include <queue>
  • #include <spdlog/spdlog.h>
  • #include <thread>

Public Types

Type Name
typedef moodycamel::BlockingReaderWriterCircularBuffer< std::shared_ptr< const mesh_type > > b_queue

Public Attributes

Type Name
std::string data_path_
std::atomic< bool > done_ = {false}
std::vector< b_queue > queue_
std::mutex writer_mutex_

Public Functions

Type Name
void decompress (const uint idx, std::shared_ptr< switchboard::writer< draco_type > > writer)
unsigned hash_vb (const ILLIXR::VoxelBlockIndex & index)

Public Types Documentation

typedef b_queue

using b_queue =  moodycamel::BlockingReaderWriterCircularBuffer<std::shared_ptr<const mesh_type> >;

Public Attributes Documentation

variable data_path_

std::string data_path_;

variable done_

std::atomic<bool> done_;

variable queue_

std::vector<b_queue> queue_;

variable writer_mutex_

std::mutex writer_mutex_;

Public Functions Documentation

function decompress

void decompress (
    const uint idx,
    std::shared_ptr< switchboard::writer < draco_type > > writer
) 

function hash_vb

unsigned hash_vb (
    const ILLIXR::VoxelBlockIndex & index
) 


The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR/illixr_release/ILLIXR/plugins/ada/mesh_decompression_grey/plugin.cpp