OpenWalnut
1.5.0dev
|
Event signalling a finished asynchronous load job. More...
#include <WLoadFinishedEvent.h>
Public Member Functions | |
WLoadFinishedEvent (boost::filesystem::path filename, std::vector< std::string > errors, std::vector< std::string > warnings) | |
Creates a new event instance denoting that a asynchronous load was finished. More... | |
virtual | ~WLoadFinishedEvent () |
Destructor. More... | |
const std::vector< std::string > & | getErrors () const |
Returns the list of errors. More... | |
const std::vector< std::string > & | getWarnings () const |
Returns the list of warnings. More... | |
std::string | getFilename () const |
The filename of the file loaded. More... | |
Private Attributes | |
boost::filesystem::path | m_filename |
The filename of the file loaded. More... | |
std::vector< std::string > | m_errors |
The error list. More... | |
std::vector< std::string > | m_warnings |
The warnings list. More... | |
Event signalling a finished asynchronous load job.
Definition at line 38 of file WLoadFinishedEvent.h.
WLoadFinishedEvent::WLoadFinishedEvent | ( | boost::filesystem::path | filename, |
std::vector< std::string > | errors, | ||
std::vector< std::string > | warnings | ||
) |
Creates a new event instance denoting that a asynchronous load was finished.
filename | the filename of the file that was loaded |
errors | the list of errors. Can be empty. |
warnings | the list of warnings. Can be empty. |
Definition at line 32 of file WLoadFinishedEvent.cpp.
|
virtual |
Destructor.
Definition at line 41 of file WLoadFinishedEvent.cpp.
const std::vector< std::string > & WLoadFinishedEvent::getErrors | ( | ) | const |
Returns the list of errors.
Definition at line 46 of file WLoadFinishedEvent.cpp.
References m_errors.
Referenced by WMainWindow::event().
std::string WLoadFinishedEvent::getFilename | ( | ) | const |
The filename of the file loaded.
Definition at line 56 of file WLoadFinishedEvent.cpp.
References m_filename.
Referenced by WMainWindow::event().
const std::vector< std::string > & WLoadFinishedEvent::getWarnings | ( | ) | const |
Returns the list of warnings.
Definition at line 51 of file WLoadFinishedEvent.cpp.
References m_warnings.
Referenced by WMainWindow::event().
|
private |
|
private |
The filename of the file loaded.
Definition at line 81 of file WLoadFinishedEvent.h.
Referenced by getFilename().
|
private |