blob: 67f6b0085377d44d80e4dd6caf890249b7b05549 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef NOOUTPUTEXECUTE_H
#define NOOUTPUTEXECUTE_H
#include "sourceObject.h"
#include "scriptStorage.h"
class NoOutputExecute;
typedef boost::intrusive_ptr<NoOutputExecute> NoOutputExecutePtr;
/// Base class for Project2 compoments that perform actions, but product no output
class NoOutputExecute : public virtual SourceObject {
public:
NoOutputExecute(ScriptNodePtr p);
NoOutputExecute(const std::string & n);
virtual ~NoOutputExecute();
virtual void execute() const = 0;
};
#endif
|