Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Typedefs | Functions
Executor.h File Reference

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

#include <hugin_shared.h>
#include <vector>
#include <wx/string.h>
#include <wx/config.h>
#include "base_wx/wxPlatform.h"
Include dependency graph for Executor.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  HuginQueue::NormalCommand
 normal command for queue, processing is stopped if an error occurred in program More...
 
class  HuginQueue::OptionalCommand
 optional command for queue, processing of queue is always continued, also if an error occurred More...
 

Namespaces

 HuginQueue
 

Typedefs

typedef std::vector
< NormalCommand * > 
HuginQueue::CommandQueue
 

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...
 
template<class str >
str HuginQueue::wxEscapeFilename (const str &arg)
 special escaping routine for CommandQueues 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.h.