blob: 3e7d16c8d5089eb2bdd06b3e83d7cdb878dc0387 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef HASSUBTASKS_H
#define HASSUBTASKS_H
#include "noOutputExecute.h"
/// Base class for Project2 compoments that perform actions, but product no output
class IHaveSubTasks : public NoOutputExecute {
public:
typedef ANONORDEREDSTORAGEOF(NoOutputExecute) Tasks;
IHaveSubTasks(ScriptNodePtr p);
virtual ~IHaveSubTasks();
virtual void execute(ExecContext * ec) const = 0;
Tasks normal;
protected:
void run(const Tasks &, ExecContext * ec) const;
};
#endif
|