небольшая чистка и улучшение кода, попытка исправить picloud
This commit is contained in:
@@ -498,10 +498,6 @@ protected:
|
||||
//! \~english Function executed when thread read some data, default implementation execute external callback "ret_func_"
|
||||
//! \~russian Метод вызывается после каждого успешного потокового чтения, по умолчанию вызывает callback "ret_func_"
|
||||
virtual bool threadedRead(const uchar * readed, ssize_t size);
|
||||
|
||||
//! \~english Function executed after PIThread::stop() and PIThread::interrupt() of read thread
|
||||
//! \~russian Метод вызывается после PIThread::stop() и PIThread::interrupt() потока чтения
|
||||
virtual void stopThreadedReadDevice() {}
|
||||
|
||||
//! \~english Reimplement to construct full unambiguous string, describes this device.
|
||||
//! Default implementation returns \a path()
|
||||
@@ -549,10 +545,6 @@ protected:
|
||||
bool opened_ = false;
|
||||
void * ret_data_ = nullptr;
|
||||
|
||||
//! \~english Set this flag while blocking operations
|
||||
//! \~russian Устанавливайте этот флаг во время блокирующих операций
|
||||
std::atomic_bool reading_now;
|
||||
|
||||
private:
|
||||
EVENT_HANDLER(void, read_func);
|
||||
EVENT_HANDLER(void, write_func);
|
||||
|
||||
Reference in New Issue
Block a user