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.

Namespaces

namespace  HuginQueue

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...

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


Generated on 25 Apr 2018 for Hugintrunk by  doxygen 1.4.7