Ember
Loading...
Searching...
No Matches
DialogProgressCallback Class Reference
Inheritance diagram for DialogProgressCallback:
EmberCore::IParseProgressCallback

Public Member Functions

 DialogProgressCallback (wxGauge *gauge, wxStaticText *text, wxDialog *dialog)
bool OnProgress (const EmberCore::String &message, int current, int total) override
 Called to report progress during parsing.
Public Member Functions inherited from EmberCore::IParseProgressCallback
virtual ~IParseProgressCallback ()=default

Private Attributes

wxGauge * m_gauge
wxStaticText * m_text
wxDialog * m_dialog

Detailed Description

Definition at line 28 of file BehaviorTreeProjectDialog.cpp.

Constructor & Destructor Documentation

◆ DialogProgressCallback()

DialogProgressCallback::DialogProgressCallback ( wxGauge * gauge,
wxStaticText * text,
wxDialog * dialog )
inline

Definition at line 30 of file BehaviorTreeProjectDialog.cpp.

Member Function Documentation

◆ OnProgress()

bool DialogProgressCallback::OnProgress ( const EmberCore::String & message,
int current,
int total )
inlineoverridevirtual

Called to report progress during parsing.

Parameters
messageCurrent operation description
currentCurrent step (0-based)
totalTotal steps (use 0 for indeterminate)
Returns
true to continue parsing, false to cancel

Implements EmberCore::IParseProgressCallback.

Definition at line 33 of file BehaviorTreeProjectDialog.cpp.

Member Data Documentation

◆ m_dialog

wxDialog* DialogProgressCallback::m_dialog
private

Definition at line 56 of file BehaviorTreeProjectDialog.cpp.

◆ m_gauge

wxGauge* DialogProgressCallback::m_gauge
private

Definition at line 54 of file BehaviorTreeProjectDialog.cpp.

◆ m_text

wxStaticText* DialogProgressCallback::m_text
private

Definition at line 55 of file BehaviorTreeProjectDialog.cpp.


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