ewmscp
..
|
#include <getlineWithTimeout.h>
Classes | |
class | nocopyLine |
Public Member Functions | |
getlineWithTimeout (std::istream &aStream, char aDelimiter) | |
~getlineWithTimeout () | |
bool | active () |
Private Member Functions | |
void | reader () |
![]() | |
unwindCheck ()=default | |
~unwindCheck ()=default | |
bool | isUnwinding () const |
Private Attributes | |
std::istream & | stream |
char | delimiter |
bool | waitingForData |
std::string | line |
std::mutex | lineMutex |
std::condition_variable | cv |
std::thread | readerThread |
bool | running |
Definition at line 9 of file getlineWithTimeout.h.
|
inline |
Definition at line 33 of file getlineWithTimeout.h.
References reader(), readerThread, and running.
|
inline |
Definition at line 39 of file getlineWithTimeout.h.
References unwindCheck::isUnwinding(), and readerThread.
|
inline |
Definition at line 45 of file getlineWithTimeout.h.
References running.
Referenced by followJsonRequestProvider::followStream().
|
inlineprivate |
Definition at line 18 of file getlineWithTimeout.h.
References cv, delimiter, line, lineMutex, running, stream, and waitingForData.
Referenced by getlineWithTimeout().
|
private |
Definition at line 15 of file getlineWithTimeout.h.
Referenced by getlineWithTimeout::nocopyLine::nocopyLine(), reader(), and getlineWithTimeout::nocopyLine::~nocopyLine().
|
private |
Definition at line 11 of file getlineWithTimeout.h.
Referenced by reader().
|
private |
Definition at line 13 of file getlineWithTimeout.h.
Referenced by getlineWithTimeout::nocopyLine::line(), and reader().
|
private |
Definition at line 14 of file getlineWithTimeout.h.
Referenced by reader().
|
private |
Definition at line 16 of file getlineWithTimeout.h.
Referenced by getlineWithTimeout(), and ~getlineWithTimeout().
|
private |
Definition at line 17 of file getlineWithTimeout.h.
Referenced by active(), getlineWithTimeout(), and reader().
|
private |
Definition at line 10 of file getlineWithTimeout.h.
Referenced by reader().
|
private |
Definition at line 12 of file getlineWithTimeout.h.
Referenced by getlineWithTimeout::nocopyLine::nocopyLine(), reader(), getlineWithTimeout::nocopyLine::timedOut(), and getlineWithTimeout::nocopyLine::~nocopyLine().