PIIODevice remove init

picloud dispatcher fix
This commit is contained in:
2022-10-23 19:22:36 +03:00
parent 359c7816bc
commit 638f0e0181
8 changed files with 12 additions and 54 deletions

View File

@@ -465,11 +465,6 @@ public:
//! \}
protected:
//! \~english Function executed before first \a openDevice() or from constructor
//! \~russian Метод вызывается перед первым \a openDevice() или из конструктора
virtual bool init() {return true;}
//! \~english Reimplement to configure device from entries "e_main" and "e_parent", cast arguments to \a PIConfig::Entry*
//! \~russian
virtual bool configureDevice(const void * e_main, const void * e_parent = 0) {return true;}
@@ -532,14 +527,6 @@ protected:
//! \~russian Переопределите для применения нового \a threadedReadBufferSize()
virtual void threadedReadBufferSizeChanged() {;}
//! \~english Invoked after hard read thread stop
//! \~russian Вызывается после жесткой остановки потока чтения
virtual void threadedReadTerminated() {;}
//! \~english Invoked after hard write thread stop
//! \~russian Вызывается после жесткой остановки потока записи
virtual void threadedWriteTerminated() {;}
static PIIODevice * newDeviceByPrefix(const char * prefix);
@@ -567,7 +554,7 @@ private:
ssize_t readed_;
uint threaded_read_buffer_size, reopen_timeout = 1000;
std::atomic_bool reading_now;
bool init_, thread_started_, raise_threaded_read_, reopen_enabled = true;
bool thread_started_, raise_threaded_read_, reopen_enabled = true;
static PIMutex nfp_mutex;
static PIMap<PIString, PIString> nfp_cache;