#include <huginApp.h>
Public Member Functions | |
| huginApp () | |
| ctor. | |
| virtual | ~huginApp () |
| dtor. | |
| virtual bool | OnInit () |
| pseudo constructor. | |
| virtual int | OnExit () |
| just for testing purposes | |
| void | relayImageLoaded (ImageReadyEvent &event) |
| Relay image loaded event when the UI thread is ready to process it. | |
| wxLocale & | GetLocale () |
| return currently active locale | |
| wxString | GetWorkDir () |
| const wxString & | GetXRCPath () |
| return the current xrc path | |
| const wxString & | GetDataPath () |
| return the current data path | |
| const wxString & | GetUtilsBinDir () |
Static Public Member Functions | |
| huginApp * | Get () |
| hack.. kind of a pseudo singleton... | |
| MainFrame * | getMainFrame () |
| void | imageLoadedAsync (HuginBase::ImageCache::RequestPtr request, HuginBase::ImageCache::EntryPtr entry) |
| Queue up an image loaded event when an image has just loaded. | |
Private Attributes | |
| wxLocale | locale |
| locale for internationalisation | |
| wxString | m_workDir |
| temporary working directory | |
| MainFrame * | frame |
| Panorama | pano |
| wxString | m_xrcPrefix |
| wxString | m_DataDir |
| wxString | m_utilsBinDir |
Static Private Attributes | |
| huginApp * | m_this = 0 |
it contains the main frame.
Definition at line 92 of file huginApp.h.
|
|
ctor.
Definition at line 126 of file huginApp.cpp. References DEBUG_TRACE. |
|
|
dtor.
Definition at line 132 of file huginApp.cpp. References HuginBase::LensDB::LensDB::Clean(), and DEBUG_TRACE. |
|
|
hack.. kind of a pseudo singleton...
Definition at line 498 of file huginApp.cpp. References DEBUG_ASSERT, DEBUG_FATAL, and m_this. Referenced by PreviewPanel::Create(), CPImageCtrl::Create(), MainFrame::DisplayHelp(), EVT_NOTEBOOK_PAGE_CHANGED(), MainFrame::GetSVMModel(), MainFrame::GetXRCPath(), MainFrame::OnSaveProject(), and MainFrame::RunAssistant(). |
|
|
return the current data path
Definition at line 140 of file huginApp.h. Referenced by MainFrame::GetDataPath(), and MainFrame::GetSVMModel(). |
|
|
return currently active locale
Definition at line 123 of file huginApp.h. Referenced by MainFrame::DisplayHelp(), and EVT_NOTEBOOK_PAGE_CHANGED(). |
|
|
Definition at line 509 of file huginApp.cpp. |
|
|
Definition at line 145 of file huginApp.h. Referenced by MainFrame::OnSaveProject(), and MainFrame::RunAssistant(). |
|
|
Definition at line 128 of file huginApp.h. |
|
|
return the current xrc path
Definition at line 134 of file huginApp.h. Referenced by PreviewPanel::Create(), CPImageCtrl::Create(), EVT_NOTEBOOK_PAGE_CHANGED(), and MainFrame::GetXRCPath(). |
|
||||||||||||
|
Queue up an image loaded event when an image has just loaded.
|
|
|
just for testing purposes
Definition at line 492 of file huginApp.cpp. References DEBUG_TRACE. |
|
|
pseudo constructor. with the ability to fail gracefully. Definition at line 147 of file huginApp.cpp. References CommandHistory::addCommand(), CommandHistory::clear(), containsInvalidCharacters(), DEBUG_DEBUG, DEBUG_ERROR, DEBUG_TRACE, frame, getExePath(), MainFrame::getGLPreview(), MainFrame::GetGuiLevel(), GlobalCmdHist::getInstance(), HuginBase::LensDB::LensDB::GetSingleton(), HUGIN_CONV_FILENAME, HUGIN_LANGUAGE, INSTALL_DATA_DIR, INSTALL_LOCALE_DIR, INSTALL_XRC_DIR, MainFrame::LoadProjectFile(), locale, m_DataDir, m_utilsBinDir, m_workDir, m_xrcPrefix, MainFrame::OnTipOfDay(), pano, registerPTWXDlgFcn(), and RestoreFramePosition(). |
|
|
Relay image loaded event when the UI thread is ready to process it.
Definition at line 518 of file huginApp.cpp. References ImageReadyEvent::entry, and ImageReadyEvent::request. |
|
|
Definition at line 162 of file huginApp.h. Referenced by getMainFrame(), and OnInit(). |
|
|
locale for internationalisation
Definition at line 157 of file huginApp.h. Referenced by OnInit(). |
|
|
Definition at line 173 of file huginApp.h. Referenced by OnInit(). |
|
|
Definition at line 547 of file huginApp.cpp. Referenced by Get(), and getMainFrame(). |
|
|
Definition at line 175 of file huginApp.h. Referenced by OnInit(). |
|
|
temporary working directory
Definition at line 160 of file huginApp.h. Referenced by OnInit(). |
|
|
Definition at line 171 of file huginApp.h. Referenced by OnInit(). |
|
|
Definition at line 168 of file huginApp.h. Referenced by OnInit(). |
1.3.9.1