#include <threading.h>
◆ anonymous enum
| Enumerator |
|---|
| STARTED_CALLBACK | |
| FINISHED_CALLBACK | |
◆ Thread()
| colmap::Thread::Thread |
( |
| ) |
|
◆ ~Thread()
| virtual colmap::Thread::~Thread |
( |
| ) |
|
|
virtualdefault |
◆ AddCallback()
| void colmap::Thread::AddCallback |
( |
const int |
id, |
|
|
const std::function< void()> & |
func |
|
) |
| |
◆ BlockIfPaused()
| void colmap::Thread::BlockIfPaused |
( |
| ) |
|
◆ Callback()
| void colmap::Thread::Callback |
( |
const int |
id | ) |
const |
|
protected |
◆ CheckValidSetup()
| bool colmap::Thread::CheckValidSetup |
( |
| ) |
|
◆ GetThreadId()
| std::thread::id colmap::Thread::GetThreadId |
( |
| ) |
const |
|
protected |
◆ GetTimer()
| const class Timer & colmap::Thread::GetTimer |
( |
| ) |
const |
◆ IsFinished()
| bool colmap::Thread::IsFinished |
( |
| ) |
|
◆ IsPaused()
| bool colmap::Thread::IsPaused |
( |
| ) |
|
◆ IsRunning()
| bool colmap::Thread::IsRunning |
( |
| ) |
|
◆ IsStarted()
| bool colmap::Thread::IsStarted |
( |
| ) |
|
◆ IsStopped()
| bool colmap::Thread::IsStopped |
( |
| ) |
|
◆ Pause()
| void colmap::Thread::Pause |
( |
| ) |
|
|
virtual |
◆ RegisterCallback()
| void colmap::Thread::RegisterCallback |
( |
const int |
id | ) |
|
|
protected |
◆ Resume()
| void colmap::Thread::Resume |
( |
| ) |
|
|
virtual |
◆ Run()
| virtual void colmap::Thread::Run |
( |
| ) |
|
|
protectedpure virtual |
◆ SignalInvalidSetup()
| void colmap::Thread::SignalInvalidSetup |
( |
| ) |
|
|
protected |
◆ SignalValidSetup()
| void colmap::Thread::SignalValidSetup |
( |
| ) |
|
|
protected |
◆ Start()
| void colmap::Thread::Start |
( |
| ) |
|
|
virtual |
References colmap::Timer::Restart(), and Wait().
Referenced by colmap::RunAutomaticReconstructor(), colmap::RunBundleAdjuster(), colmap::AutomaticReconstructionController::RunDenseMapper(), colmap::RunExhaustiveMatcher(), colmap::RunFeatureExtractor(), colmap::RunFeatureImporter(), colmap::RunHierarchicalMapper(), colmap::RunImageRectifier(), colmap::RunImageTexturer(), colmap::RunMapper(), colmap::RunPatchMatchStereo(), colmap::RunSequentialMatcher(), colmap::RunSpatialMatcher(), colmap::RunStereoFuser(), colmap::RunTransitiveMatcher(), and colmap::RunVocabTreeMatcher().
◆ Stop()
| void colmap::Thread::Stop |
( |
| ) |
|
|
virtual |
◆ Wait()
| void colmap::Thread::Wait |
( |
| ) |
|
|
virtual |
Referenced by colmap::RunAutomaticReconstructor(), colmap::RunBundleAdjuster(), colmap::AutomaticReconstructionController::RunDenseMapper(), colmap::RunExhaustiveMatcher(), colmap::RunFeatureExtractor(), colmap::RunFeatureImporter(), colmap::RunHierarchicalMapper(), colmap::RunImageRectifier(), colmap::RunImageTexturer(), colmap::RunMapper(), colmap::RunPatchMatchStereo(), colmap::RunSequentialMatcher(), colmap::RunSpatialMatcher(), colmap::RunStereoFuser(), colmap::RunTransitiveMatcher(), colmap::RunVocabTreeMatcher(), and Start().
The documentation for this class was generated from the following files: