forked from jacyara/GenESyS-Reborn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dispose.h
39 lines (33 loc) · 903 Bytes
/
Dispose.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: Dispose.h
* Author: cancian
*
* Created on 21 de Junho de 2018, 20:13
*/
#ifndef DISPOSE_H
#define DISPOSE_H
#include "SinkModelComponent.h"
class Dispose: public SinkModelComponent {
public:
Dispose(Model* model);
Dispose(const Dispose& orig);
virtual ~Dispose();
public:
virtual std::string show();
public:
void setCollectStatistics(bool _collectStatistics);
bool isCollectStatistics() const;
protected:
virtual void _execute(Entity* entity);
virtual void _loadInstance(std::list<std::string> words);
virtual std::list<std::string>* _saveInstance();
virtual bool _verifySymbols(std::string* errorMessage);
private:
bool _collectStatistics = true;
};
#endif /* DISPOSE_H */