TickWorker.h 275 B

12345678910111213141516171819
  1. #pragma once
  2. #include <Thread.h>
  3. #include "TickQueue.h"
  4. class TickWorker : public Framework::Thread
  5. {
  6. private:
  7. TickQueue* queue;
  8. bool waiting;
  9. public:
  10. TickWorker(TickQueue* queue);
  11. ~TickWorker();
  12. void thread() override;
  13. bool isWaiting() const;
  14. };