NO_COPY_CLASS c++11

This commit is contained in:
2020-07-17 11:46:21 +03:00
parent 1a3096c48b
commit 33a6382f4d
8 changed files with 24 additions and 34 deletions

View File

@@ -71,7 +71,8 @@ class PIP_EXPORT PIThread: public PIObject
PIOBJECT_SUBCLASS(PIThread, PIObject)
friend class PIIntrospectionThreads;
public:
NO_COPY_CLASS(PIThread)
//! Contructs thread with custom data "data", external function "func" and main loop delay "loop_delay".
PIThread(void * data, ThreadFunc func, bool startNow = false, int loop_delay = -1);
@@ -257,8 +258,6 @@ protected:
PRIVATE_DECLARATION
private:
NO_COPY_CLASS(PIThread)
bool _startThread(void * func);
void _beginThread();
void _runThread();