// // Created by fomenko on 25.09.2019. // #ifndef AWRCANFLASHER_PICONDITIONLOCK_H #define AWRCANFLASHER_PICONDITIONLOCK_H #include #include /** * @brief Continued */ class PIP_EXPORT PIConditionLock { public: explicit PIConditionLock(); virtual ~PIConditionLock(); /** * @brief lock */ void lock(); /** * @brief unlock */ void unlock(); bool tryLock(); void* handle(); private: NO_COPY_CLASS(PIConditionLock) PRIVATE_DECLARATION }; #endif //AWRCANFLASHER_PICONDITIONLOCK_H