This is the base class for any object that can be dynamically modelled within Gadget.
More...
|
| BaseClass () |
| This is the default BaseClass constructor. More...
|
|
| BaseClass (const char *givenname) |
| This is the BaseClass constructor for an object with a name. More...
|
|
| BaseClass (const char *givenname, const IntVector &Areas) |
| This is the BaseClass constructor for an object with a name and an area. More...
|
|
virtual | ~BaseClass () |
| This is the default BaseClass destructor. More...
|
|
virtual void | calcNumbers (int area, const TimeClass *const TimeInfo)=0 |
| This function will update the model population for an area in the model. More...
|
|
virtual void | calcEat (int area, const AreaClass *const Area, const TimeClass *const TimeInfo)=0 |
| This function will calculate the modelled consumption for an area in the model. More...
|
|
virtual void | checkEat (int area, const TimeClass *const TimeInfo)=0 |
| This function will check the modelled consumption for an area in the model. More...
|
|
virtual void | adjustEat (int area, const TimeClass *const TimeInfo)=0 |
| This function will adjust the modelled consumption for an area in the model. More...
|
|
virtual void | reducePop (int area, const TimeClass *const TimeInfo)=0 |
| This function will reduce the model population for an area in the model. More...
|
|
virtual void | Grow (int area, const AreaClass *const Area, const TimeClass *const TimeInfo)=0 |
| This function will calculate the growth of the model population for an area in the model. More...
|
|
virtual void | updateAgePart1 (int area, const TimeClass *const TimeInfo)=0 |
| This function will calculate any transition of the model population for an area in the model. More...
|
|
virtual void | updateAgePart2 (int area, const TimeClass *const TimeInfo)=0 |
| This function will calculate the age increase of the model population for an area in the model. More...
|
|
virtual void | updateAgePart3 (int area, const TimeClass *const TimeInfo)=0 |
| This function will implement the transiton of the model population for an area in the model. More...
|
|
virtual void | updatePopulationPart1 (int area, const TimeClass *const TimeInfo)=0 |
| This function will calculate the spawning of the model population for an area in the model. More...
|
|
virtual void | updatePopulationPart2 (int area, const TimeClass *const TimeInfo)=0 |
| This function will calculate add the newly matured stock into the model population for an area in the model. More...
|
|
virtual void | updatePopulationPart3 (int area, const TimeClass *const TimeInfo)=0 |
| This function will calculate add the new recruits into the model population for an area in the model. More...
|
|
virtual void | updatePopulationPart4 (int area, const TimeClass *const TimeInfo)=0 |
| This function will calculate calculate the straying of the model population for an area in the model. More...
|
|
virtual void | updatePopulationPart5 (int area, const TimeClass *const TimeInfo)=0 |
| This function will calculate add the strayed stock into the model population for an area in the model. More...
|
|
virtual void | Migrate (const TimeClass *const TimeInfo)=0 |
| This function will implement the migration of the model population for the model. More...
|
|
virtual void | Reset (const TimeClass *const TimeInfo)=0 |
| This function will reset the model population. More...
|
|
virtual void | Print (ofstream &outfile) const =0 |
| This function will print the model population. More...
|
|
| HasName () |
| This is the default HasName constructor. More...
|
|
virtual | ~HasName () |
| This is the default HasName destructor. More...
|
|
| HasName (const char *givenname) |
| This is the HasName constructor for a specified name. More...
|
|
const char * | getName () const |
| This will return a null terminated text string containing the name of the object. More...
|
|
| LivesOnAreas () |
| This is the default LivesOnAreas constructor. More...
|
|
virtual | ~LivesOnAreas () |
| This is the default LivesOnAreas destructor. More...
|
|
| LivesOnAreas (const IntVector &Areas) |
| This is the LivesOnAreas constructor for a specified vector of areas. More...
|
|
int | isInArea (int area) const |
| This function will check whether the object is defined on a specified area. More...
|
|
IntVector & | getAreas () |
| This function will return the internal areas that the object is defined on. More...
|
|
int | areaNum (int area) const |
| This function will return the area associated with an internal area. More...
|
|
This is the base class for any object that can be dynamically modelled within Gadget.
- Note
- This will always be overridden by the derived classes (either Stock, Fleet or OtherFood)