Project Class Reference

#include <ProjectArray.h>

List of all members.

Public Types

enum  Status {
  FINISHED = 0, WAITING, RUNNING, FAILED,
  MISSING, PAUSED
}
enum  Target { STITCHING = 0, DETECTING }

Public Member Functions

 Project (wxString pth, wxString pfx, Project::Target newTarget=STITCHING)
 Project (wxString command)
wxString GetStatusText ()
PanoramaOptions ReadOptions (wxString projectFile)
void ResetOptions ()

Public Attributes

long id
Status status
Target target
wxString path
wxString prefix
wxDateTime modDate
HuginBase::PanoramaOptions options
bool skip
bool isAligned

Static Public Attributes

long idGenerator = 1


Member Enumeration Documentation

enum Project::Status
 

Enumeration values:
FINISHED 
WAITING 
RUNNING 
FAILED 
MISSING 
PAUSED 

Definition at line 47 of file ProjectArray.h.

enum Project::Target
 

Enumeration values:
STITCHING 
DETECTING 

Definition at line 56 of file ProjectArray.h.


Constructor & Destructor Documentation

Project::Project wxString  pth,
wxString  pfx,
Project::Target  newTarget = STITCHING
 

Definition at line 36 of file ProjectArray.cpp.

References idGenerator, isAligned, modDate, options, path, prefix, ReadOptions(), skip, status, and target.

Project::Project wxString  command  ) 
 

Definition at line 54 of file ProjectArray.cpp.

References idGenerator, isAligned, path, skip, status, and target.


Member Function Documentation

wxString Project::GetStatusText  ) 
 

Definition at line 65 of file ProjectArray.cpp.

References FAILED, FINISHED, MISSING, PAUSED, RUNNING, and WAITING.

Referenced by ProjectListBox::GetAttributeString(), Batch::ListBatch(), and ProjectListBox::UpdateStatus().

PanoramaOptions Project::ReadOptions wxString  projectFile  ) 
 

Definition at line 86 of file ProjectArray.cpp.

References HuginBase::PanoramaOptions::enblendOptions, HuginBase::PanoramaOptions::enfuseOptions, getDefaultOutputName(), HuginBase::Panorama::getNrOfCtrlPoints(), HuginBase::Panorama::getNrOfImages(), HuginBase::Panorama::getOptions(), HUGIN_CONV_FILENAME, makefile::ifstream, isAligned, PT::PanoramaMemento::loadPTScript(), prefix, HuginBase::Panorama::setMemento(), and HuginBase::Panorama::setOptions().

Referenced by Project(), and ResetOptions().

void Project::ResetOptions  ) 
 

Definition at line 135 of file ProjectArray.cpp.

References modDate, options, path, and ReadOptions().

Referenced by BatchFrame::OnUpdateListBox().


Member Data Documentation

long Project::id
 

Definition at line 65 of file ProjectArray.h.

Referenced by ProjectListBox::AppendProject(), ProjectListBox::GetAttributeString(), Batch::ListBatch(), and BatchFrame::OnUpdateListBox().

long Project::idGenerator = 1 [static]
 

Definition at line 34 of file ProjectArray.cpp.

Referenced by Project().

bool Project::isAligned
 

Definition at line 81 of file ProjectArray.h.

Referenced by BatchFrame::AddDirToList(), Project(), and ReadOptions().

wxDateTime Project::modDate
 

Definition at line 75 of file ProjectArray.h.

Referenced by ProjectListBox::GetAttributeString(), BatchFrame::OnUpdateListBox(), Project(), and ResetOptions().

HuginBase::PanoramaOptions Project::options
 

Definition at line 77 of file ProjectArray.h.

Referenced by ProjectListBox::GetAttributeString(), Project(), and ResetOptions().

wxString Project::path
 

Definition at line 71 of file ProjectArray.h.

Referenced by ProjectListBox::AppendProject(), ProjectListBox::GetAttributeString(), Batch::ListBatch(), BatchFrame::OnUpdateListBox(), Project(), and ResetOptions().

wxString Project::prefix
 

Definition at line 73 of file ProjectArray.h.

Referenced by ProjectListBox::GetAttributeString(), Batch::ListBatch(), Project(), and ReadOptions().

bool Project::skip
 

Definition at line 79 of file ProjectArray.h.

Referenced by BatchFrame::OnUpdateListBox(), and Project().

Status Project::status
 

Definition at line 67 of file ProjectArray.h.

Referenced by ProjectListBox::GetAttributeString(), Batch::GetStatus(), Batch::OnProcessTerminate(), and Project().

Target Project::target
 

Definition at line 69 of file ProjectArray.h.

Referenced by BatchFrame::AddDirToList(), ProjectListBox::GetAttributeString(), ProjectListBox::GetSelectedProjectTarget(), BatchFrame::OnUpdateListBox(), and Project().


The documentation for this class was generated from the following files:
Generated on Thu Aug 21 01:25:48 2014 for Hugintrunk by  doxygen 1.3.9.1