OTB  6.7.0
Orfeo Toolbox
Public Slots | Signals | Public Member Functions | Public Attributes | Private Slots | Private Member Functions | Private Attributes | List of all members
otb::Wrapper::QtWidgetModel Class Reference

#include <otbWrapperQtWidgetModel.h>

+ Inheritance diagram for otb::Wrapper::QtWidgetModel:
+ Collaboration diagram for otb::Wrapper::QtWidgetModel:

Public Slots

void ExecuteAndWriteOutputSlot ()
 
void NotifyUpdate ()
 

Signals

void ExceptionRaised (QString what)
 
void SetApplicationReady (bool)
 
void SetProgressReportBegin ()
 
void SetProgressReportDone (int status=0)
 
void UpdateGui ()
 

Public Member Functions

ApplicationGetApplication ()
 
QtLogOutput::Pointer GetLogOutput ()
 
bool IsRunning () const
 
 QtWidgetModel (Application *app)
 
void SendLogDEBUG (const std::string &mes)
 
void SendLogINFO (const std::string &mes)
 
void SendLogWARNING (const std::string &mes)
 
void Stop ()
 
 ~QtWidgetModel () override
 

Public Attributes

Application::Pointer m_Application
 

Private Slots

void OnApplicationExecutionDone (int status)
 

Private Member Functions

void operator= (const QtWidgetModel &)=delete
 
 QtWidgetModel (const QtWidgetModel &)=delete
 

Private Attributes

bool m_IsRunning
 
QtLogOutput::Pointer m_LogOutput
 
AppliThreadm_taskAppli
 

Detailed Description

Definition at line 84 of file otbWrapperQtWidgetModel.h.

Constructor & Destructor Documentation

otb::Wrapper::QtWidgetModel::QtWidgetModel ( Application app)
otb::Wrapper::QtWidgetModel::~QtWidgetModel ( )
override
otb::Wrapper::QtWidgetModel::QtWidgetModel ( const QtWidgetModel )
privatedelete

Member Function Documentation

void otb::Wrapper::QtWidgetModel::ExceptionRaised ( QString  what)
signal

Signal emitted when an exception has been raised by an otb::Application and is caught by the calling QThread.

Parameters
whatThe std::exception::what() which is forwarded to listeners.
void otb::Wrapper::QtWidgetModel::ExecuteAndWriteOutputSlot ( )
slot

Slot called when execution is requested (e.g. by otb::Wrapper::QtWidgetView).

Application* otb::Wrapper::QtWidgetModel::GetApplication ( )
inline

Definition at line 92 of file otbWrapperQtWidgetModel.h.

QtLogOutput::Pointer otb::Wrapper::QtWidgetModel::GetLogOutput ( )
inline

Definition at line 97 of file otbWrapperQtWidgetModel.h.

bool otb::Wrapper::QtWidgetModel::IsRunning ( ) const
void otb::Wrapper::QtWidgetModel::NotifyUpdate ( )
slot

Slots called every time one of the widget needs to be updated (e.g. by specialized parameter widgets).

void otb::Wrapper::QtWidgetModel::OnApplicationExecutionDone ( int  status)
privateslot
Parameters
status
void otb::Wrapper::QtWidgetModel::operator= ( const QtWidgetModel )
privatedelete
void otb::Wrapper::QtWidgetModel::SendLogDEBUG ( const std::string &  mes)

Logger debug message sender

void otb::Wrapper::QtWidgetModel::SendLogINFO ( const std::string &  mes)

Logger info message sender

void otb::Wrapper::QtWidgetModel::SendLogWARNING ( const std::string &  mes)

Logger warning message sender

void otb::Wrapper::QtWidgetModel::SetApplicationReady ( bool  )
signal
void otb::Wrapper::QtWidgetModel::SetProgressReportBegin ( )
signal
void otb::Wrapper::QtWidgetModel::SetProgressReportDone ( int  status = 0)
signal

Signal emitted when execution otb::Application has finished.

Parameters
statusThe result status of the otb::application (-1 when an exception has occurred).
void otb::Wrapper::QtWidgetModel::Stop ( )
void otb::Wrapper::QtWidgetModel::UpdateGui ( )
signal

Member Data Documentation

Application::Pointer otb::Wrapper::QtWidgetModel::m_Application

Definition at line 171 of file otbWrapperQtWidgetModel.h.

bool otb::Wrapper::QtWidgetModel::m_IsRunning
private

Definition at line 168 of file otbWrapperQtWidgetModel.h.

QtLogOutput::Pointer otb::Wrapper::QtWidgetModel::m_LogOutput
private

Definition at line 164 of file otbWrapperQtWidgetModel.h.

AppliThread* otb::Wrapper::QtWidgetModel::m_taskAppli
private

Definition at line 166 of file otbWrapperQtWidgetModel.h.


The documentation for this class was generated from the following file: