Photosine 0.5
Loading...
Searching...
No Matches

#include <BackendTests.h>

Inheritance diagram for Tests::BackendTests:

Public Member Functions

 BackendTests ()
 ~BackendTests ()
void returnThreadProcess ()
void run () override
juce::ValueTree fillDummyValueTree ()
void callback (ImageProcessing::ImageProcessorMat mat)
void processImage ()
void processVideo ()
void videoCallback (ImageProcessing::ImageProcessorMat mat)
void cancelProcess ()

Private Member Functions

 JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (BackendTests)

Private Attributes

juce::ValueTree dummyValueTree
cv::Mat tempMat
cv::VideoWriter movFile
bool fileWritable
int height
int width
int frameCount
int nextFrame = 0
float frameRate
bool writeDone = false
bool processDone = false
bool readDone = false
std::mutex readDoneMutex
bool cancel = false
std::mutex cancelMutex
bool lock = true
juce::MemoryMappedFile * outputCache
juce::Array< ImageProcessing::ImageProcessorMatcompletedImages
std::mutex completedImagesMutex
std::condition_variable returnThreadShouldRunCV
std::unique_ptr< ProgressDialogWindowprogressDialog
std::mutex processorMutex

Constructor & Destructor Documentation

◆ BackendTests()

Tests::BackendTests::BackendTests ( )
inline

◆ ~BackendTests()

Tests::BackendTests::~BackendTests ( )
inline

Member Function Documentation

◆ callback()

void Tests::BackendTests::callback ( ImageProcessing::ImageProcessorMat mat)
inline

◆ cancelProcess()

void Tests::BackendTests::cancelProcess ( )
inline

◆ fillDummyValueTree()

juce::ValueTree Tests::BackendTests::fillDummyValueTree ( )
inline

◆ JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR()

Tests::BackendTests::JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR ( BackendTests )
private

◆ processImage()

void Tests::BackendTests::processImage ( )
inline

◆ processVideo()

void Tests::BackendTests::processVideo ( )
inline

◆ returnThreadProcess()

void Tests::BackendTests::returnThreadProcess ( )
inline

◆ run()

void Tests::BackendTests::run ( )
inlineoverride

◆ videoCallback()

void Tests::BackendTests::videoCallback ( ImageProcessing::ImageProcessorMat mat)
inline

Member Data Documentation

◆ cancel

bool Tests::BackendTests::cancel = false
private

◆ cancelMutex

std::mutex Tests::BackendTests::cancelMutex
private

◆ completedImages

juce::Array<ImageProcessing::ImageProcessorMat> Tests::BackendTests::completedImages
private

◆ completedImagesMutex

std::mutex Tests::BackendTests::completedImagesMutex
private

◆ dummyValueTree

juce::ValueTree Tests::BackendTests::dummyValueTree
private

◆ fileWritable

bool Tests::BackendTests::fileWritable
private

◆ frameCount

int Tests::BackendTests::frameCount
private

◆ frameRate

float Tests::BackendTests::frameRate
private

◆ height

int Tests::BackendTests::height
private

◆ lock

bool Tests::BackendTests::lock = true
private

◆ movFile

cv::VideoWriter Tests::BackendTests::movFile
private

◆ nextFrame

int Tests::BackendTests::nextFrame = 0
private

◆ outputCache

juce::MemoryMappedFile* Tests::BackendTests::outputCache
private

◆ processDone

bool Tests::BackendTests::processDone = false
private

◆ processorMutex

std::mutex Tests::BackendTests::processorMutex
private

◆ progressDialog

std::unique_ptr<ProgressDialogWindow> Tests::BackendTests::progressDialog
private

◆ readDone

bool Tests::BackendTests::readDone = false
private

◆ readDoneMutex

std::mutex Tests::BackendTests::readDoneMutex
private

◆ returnThreadShouldRunCV

std::condition_variable Tests::BackendTests::returnThreadShouldRunCV
private

◆ tempMat

cv::Mat Tests::BackendTests::tempMat
private

◆ width

int Tests::BackendTests::width
private

◆ writeDone

bool Tests::BackendTests::writeDone = false
private

The documentation for this class was generated from the following file:
  • /Users/cliftonmarien/Documents/Photosine/Photosine/Source/Tests/BackendTests.h