#ifndef AWRCANFLASHER_PICONDITIONLOCK_H #define AWRCANFLASHER_PICONDITIONLOCK_H #include "pimutex.h" /** * @brief Continued */ class PIP_EXPORT PIConditionLock { public: explicit PIConditionLock(); ~PIConditionLock(); //! \brief lock void lock(); //! \brief unlock void unlock(); //! \brief tryLock bool tryLock(); void * handle(); private: NO_COPY_CLASS(PIConditionLock) PRIVATE_DECLARATION }; #endif //AWRCANFLASHER_PICONDITIONLOCK_H