Code::Blocks
SVN r11506
|
#include <filemanager.h>
Public Member Functions | |
LoaderBase () | |
~LoaderBase () override | |
void | operator() () override |
wxString | FileName () const |
bool | Sync () |
char * | GetData () |
size_t | GetLength () |
Public Member Functions inherited from AbstractJob | |
AbstractJob () | |
virtual | ~AbstractJob () |
Protected Member Functions | |
void | Ready () |
Protected Attributes | |
wxString | fileName |
char * | data |
size_t | len |
Private Member Functions | |
void | WaitReady () |
Private Attributes | |
wxSemaphore | sem |
bool | wait |
Definition at line 31 of file filemanager.h.
|
inline |
Definition at line 56 of file filemanager.h.
|
override |
Definition at line 30 of file filemanager.cpp.
References data, and WaitReady().
|
inline |
Definition at line 59 of file filemanager.h.
Referenced by EditorLexerLoader::Load(), and Tokenizer::ReadFile().
char * LoaderBase::GetData | ( | ) |
Definition at line 42 of file filemanager.cpp.
References data, and WaitReady().
Referenced by EncodingDetector::EncodingDetector(), EditorLexerLoader::Load(), CodeBlocksApp::OnInit(), cbEditor::Open(), and Tokenizer::ReadFile().
size_t LoaderBase::GetLength | ( | ) |
Definition at line 48 of file filemanager.cpp.
References len, and WaitReady().
Referenced by EncodingDetector::EncodingDetector(), cbEditor::Open(), and Tokenizer::ReadFile().
|
inlineoverridevirtual |
Implements AbstractJob.
Reimplemented in EditorReuser, NullLoader, URLLoader, and FileLoader.
Definition at line 58 of file filemanager.h.
|
inlineprotected |
Definition at line 50 of file filemanager.h.
References wxSemaphore::Post().
Referenced by FileLoader::operator()(), and URLLoader::operator()().
bool LoaderBase::Sync | ( | ) |
Definition at line 36 of file filemanager.cpp.
References data, and WaitReady().
Referenced by ParserThread::~ParserThread().
|
inlineprivate |
Definition at line 36 of file filemanager.h.
References wxSemaphore::Wait().
Referenced by GetData(), GetLength(), Sync(), and ~LoaderBase().
|
protected |
Definition at line 47 of file filemanager.h.
Referenced by GetData(), FileLoader::operator()(), URLLoader::operator()(), Sync(), and ~LoaderBase().
|
protected |
Definition at line 43 of file filemanager.h.
Referenced by FileLoader::operator()(), and URLLoader::operator()().
|
protected |
Definition at line 48 of file filemanager.h.
Referenced by GetLength(), FileLoader::operator()(), and URLLoader::operator()().
|
private |
Definition at line 33 of file filemanager.h.
|
private |
Definition at line 34 of file filemanager.h.