Wyatt
1.0.1
Main Page
Classes
Files
File List
test
mocks
include
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
13
class
SimpleIteratorCommand
:
public
Command
{
14
public
:
15
SimpleIteratorCommand
(
int
goal);
16
~
SimpleIteratorCommand
();
17
bool
execute
();
18
bool
cleanup
(
bool
canceled);
19
int
getCount();
20
private
:
21
std::atomic<int> m_counter;
22
int
m_goal;
23
};
SimpleIteratorCommand::execute
bool execute()
Definition:
SimpleIteratorCommand.cpp:20
SimpleIteratorCommand
Definition:
SimpleIteratorCommand.h:13
SimpleIteratorCommand::cleanup
bool cleanup(bool canceled)
Definition:
SimpleIteratorCommand.cpp:36
Command
Definition:
Command.h:6
Generated by
1.8.11