highlighter application
1.1
HCE project utils : highlighter
|
#include <CrossThreadBuf.hpp>
Classes | |
class | ResElement |
Public Member Functions | |
CrossThreadBuf () | |
void | addInOutData (ResElement &inOutDataElem) |
unsigned int | elemsCount () const |
bool | isTaskFinished () const |
void | setIsSendWordsMapBack (bool _isSendWordsMapBack) |
bool | getIsSendWordsMapBack () const |
ResElement & | getElem (unsigned int index) |
std::string & | getIntData (unsigned int &index, unsigned long long &id, unsigned long long &resCrc) |
void | setOutData (std::string &outData, unsigned int highlightCounter, unsigned int index) |
void | setTimeout (unsigned int _timeOut) |
unsigned int | getRestTimeout () |
void | waitCv () |
void | waitCv (long milliseconds) |
void | signal () |
void | lock () |
void | unlock () |
~CrossThreadBuf () |
Protected Attributes | |
Poco::FastMutex | mutex |
Poco::FastMutex | cvMutex |
Poco::Condition | cv |
Poco::Timestamp | tStart |
Poco::Timestamp | tCurr |
std::vector< ResElement > | inOutData |
unsigned int | timeOut |
unsigned int | processingCount |
unsigned int | finishedCount |
bool | isSendWordsMapBack |
Definition at line 31 of file CrossThreadBuf.hpp.
|
inline |
Definition at line 81 of file CrossThreadBuf.hpp.
|
inline |
Definition at line 97 of file CrossThreadBuf.hpp.
|
inline |
Definition at line 82 of file CrossThreadBuf.hpp.
|
inline |
Definition at line 83 of file CrossThreadBuf.hpp.
CrossThreadBuf::ResElement & CrossThreadBuf::getElem | ( | unsigned int | index | ) |
Definition at line 16 of file CrossThreadBuf.cpp.
std::string & CrossThreadBuf::getIntData | ( | unsigned int & | index, |
unsigned long long & | id, | ||
unsigned long long & | resCrc | ||
) |
Definition at line 25 of file CrossThreadBuf.cpp.
|
inline |
Definition at line 86 of file CrossThreadBuf.hpp.
unsigned int CrossThreadBuf::getRestTimeout | ( | ) |
CrossThreadBuf::getRestTimeout method. Calcs and returs rest of timeout, that was set in the previous setTimeout method call
Definition at line 60 of file CrossThreadBuf.cpp.
|
inline |
Definition at line 84 of file CrossThreadBuf.hpp.
|
inline |
Definition at line 95 of file CrossThreadBuf.hpp.
|
inline |
Definition at line 85 of file CrossThreadBuf.hpp.
void CrossThreadBuf::setOutData | ( | std::string & | outData, |
unsigned int | highlightCounter, | ||
unsigned int | index | ||
) |
Definition at line 38 of file CrossThreadBuf.cpp.
void CrossThreadBuf::setTimeout | ( | unsigned int | _timeOut | ) |
Definition at line 50 of file CrossThreadBuf.cpp.
void CrossThreadBuf::signal | ( | ) |
Definition at line 93 of file CrossThreadBuf.cpp.
|
inline |
Definition at line 96 of file CrossThreadBuf.hpp.
void CrossThreadBuf::waitCv | ( | ) |
Definition at line 73 of file CrossThreadBuf.cpp.
void CrossThreadBuf::waitCv | ( | long | milliseconds | ) |
Definition at line 80 of file CrossThreadBuf.cpp.
|
protected |
Definition at line 72 of file CrossThreadBuf.hpp.
|
protected |
Definition at line 71 of file CrossThreadBuf.hpp.
|
protected |
Definition at line 78 of file CrossThreadBuf.hpp.
|
protected |
Definition at line 75 of file CrossThreadBuf.hpp.
|
protected |
Definition at line 79 of file CrossThreadBuf.hpp.
|
protected |
Definition at line 70 of file CrossThreadBuf.hpp.
|
protected |
Definition at line 77 of file CrossThreadBuf.hpp.
|
protected |
Definition at line 74 of file CrossThreadBuf.hpp.
|
protected |
Definition at line 76 of file CrossThreadBuf.hpp.
|
protected |
Definition at line 73 of file CrossThreadBuf.hpp.