-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathPopulationBase.h
More file actions
49 lines (36 loc) · 1.24 KB
/
PopulationBase.h
File metadata and controls
49 lines (36 loc) · 1.24 KB
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
39
40
41
42
43
44
45
46
47
48
//---------------------------------------------------------------------------
#ifndef PopulationBaseH
#define PopulationBaseH
//--------------------------------------------------------------------------
#include "WorkerBase.h"
/**
PopulationBase - Version 1.0
This class acts as a virtual parent for all population classes. This allows
the Simulation Manager to work with population objects without knowing anything
about them.
There should not be any objects instantiated from this class.
Copyright 2003 Charles D. Canham.
@author Lora E. Murphy
<br>Edit history:
<br>-----------------
<br>April 28, 2004 - Submitted as beta (LEM)
*/
class clPopulationBase : virtual public clWorkerBase{
public:
/**
* Performs cleanup between behavior action calls. This can be overridden in
* case a population has any cleanup or updating to do between action calls.
*/
virtual void DoDataUpdates() {;};
/**
* Destructor.
*/
virtual ~clPopulationBase() {;};
/**
* Constructor.
* @param p_oSimManager Sim Manager object.
*/
clPopulationBase(clSimManager *p_oSimManager):clWorkerBase(p_oSimManager){;};
}; //end of clPopulationBase class
//---------------------------------------------------------------------------
#endif