Wyatt  1.0.1
SimpleIteratorCommand.h
1 //
2 // Created by Arthur Lockman on 4/7/17.
3 //
4 #pragma once
5 
6 #include "../../../include/commands/Command.h"
7 #include <mutex>
8 #include <atomic>
9 
14 public:
15  SimpleIteratorCommand(int goal);
17  bool execute();
18  bool cleanup(bool canceled);
19  int getCount();
20 private:
21  std::atomic<int> m_counter;
22  int m_goal;
23 };
bool cleanup(bool canceled)
Definition: Command.h:6