Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
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

 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 More...
 
void HuginQueue::CleanQueue (CommandQueue *queue)
 clean the queue, delete all entries, but not the queue itself More...
 
wxString HuginQueue::GetInternalProgram (const wxString &bindir, const wxString &name)
 return path and name of external program, which comes bundled with Hugin More...
 
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 More...
 
wxString HuginQueue::wxStringFromCDouble (double val, int precision=-1)
 convert double to wxString, it is always using a '. More...
 
const wxString HuginQueue::GetSettingString (wxConfigBase *setting, const wxString &name, const wxString defaultValue=wxEmptyString)
 read a string from setting and remove all whitespaces More...
 
const wxString HuginQueue::GetSettingStringTranslated (wxConfigBase *setting, const wxString &name, const wxString defaultValue=wxEmptyString)
 read a translated string from settings and remove all whitespaces More...
 
const wxString HuginQueue::GetConfigTempDir (const wxConfigBase *config)
 return the temp dir from the preferences, ensure that it ends with path separator More...
 

Detailed Description

basic classes and function for queuing commands in wxWidgets

Author
T. Modes

Definition in file Executor.cpp.