Executor.cpp File Reference

basic classes and function for queuing commands in wxWidgets More...

#include "Executor.h"
#include "hugin_config.h"
#include <iostream>
#include <wx/utils.h>
#include <wx/config.h>
#include <wx/filename.h>
#include <wx/log.h>
#include <wx/translation.h>
#include "base_wx/wxPlatform.h"

Include dependency graph for Executor.cpp:

Go to the source code of this file.

Namespaces

namespace  HuginQueue

Functions

bool HuginQueue::RunCommandsQueue (CommandQueue *queue, size_t threads, bool dryRun)
 execute the given, set environment variable OMP_NUM_THREADS to threads (ignored for 0) after running the function the queue is cleared
void HuginQueue::CleanQueue (CommandQueue *queue)
 clean the queue, delete all entries, but not the queue itself
wxString HuginQueue::GetInternalProgram (const wxString &bindir, const wxString &name)
 return path and name of external program, which comes bundled with Hugin
wxString HuginQueue::GetExternalProgram (wxConfigBase *config, const wxString &bindir, const wxString &name)
 return path and name of external program, which can be overwritten by the user
wxString HuginQueue::wxStringFromCDouble (double val, int precision=-1)
 convert double to wxString, it is always using a '.
const wxString HuginQueue::GetSettingString (wxConfigBase *setting, const wxString &name, const wxString defaultValue=wxEmptyString)
 read a string from setting and remove all whitespaces


Detailed Description

basic classes and function for queuing commands in wxWidgets

Author:
T. Modes

Definition in file Executor.cpp.


Generated on 23 Jan 2018 for Hugintrunk by  doxygen 1.4.7