Loading [MathJax]/extensions/ams.js
ALMaSS  1.2 (after EcoStack, March 2024)
The Animal, Landscape and Man Simulation System
All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PesticideOutput Class Reference

#include <Pesticide.h>

Inheritance diagram for PesticideOutput:
PesticideMap PesticideTable

Public Member Functions

 PesticideOutput (int a_startyear, int a_noyears, int a_cellsize, Landscape *a_landscape, RasterMap *a_land)
 
 ~PesticideOutput ()
 
virtual void Spray (LE *, TTypesOfPesticideCategory)
 

Protected Attributes

vector< double > * m_pmap_insecticides
 insecticide map/table data More...
 
vector< double > * m_pmap_fungicides
 herbicide map/table data More...
 
vector< double > * m_pmap_herbicides
 fungicide map/table data More...
 
int m_startyear
 first simultion year to record More...
 
int m_endyear
 last year of data to record More...
 
int m_cellsize
 the size of the cell for pesticide data in m More...
 
int m_pmap_width
 based on cellsize the width of the map More...
 
int m_pmap_height
 based on cellsize the height of the map More...
 
Landscapem_OurLandscape
 pointer to the landscape
More...
 
RasterMapm_Rastermap
 pointer to the landscape map More...
 

Constructor & Destructor Documentation

◆ PesticideOutput()

PesticideOutput::PesticideOutput ( int  a_startyear,
int  a_noyears,
int  a_cellsize,
Landscape a_landscape,
RasterMap a_land 
)
1775 {
1776  m_startyear = a_startyear;
1777  m_endyear = a_startyear + a_noyears;
1778  m_cellsize = a_cellsize;
1779  m_OurLandscape = a_landscape;
1780  m_Rastermap = a_land;
1783 }

References m_cellsize, m_endyear, m_OurLandscape, m_pmap_height, m_pmap_width, m_Rastermap, m_startyear, Landscape::SupplySimAreaHeight(), and Landscape::SupplySimAreaWidth().

◆ ~PesticideOutput()

PesticideOutput::~PesticideOutput ( )
inline
750 { ; }

Member Function Documentation

◆ Spray()

virtual void PesticideOutput::Spray ( LE ,
TTypesOfPesticideCategory   
)
inlinevirtual

Reimplemented in PesticideMap, and PesticideTable.

751 { ; }

Member Data Documentation

◆ m_cellsize

int PesticideOutput::m_cellsize
protected

the size of the cell for pesticide data in m

Referenced by PesticideOutput(), and PesticideMap::Spray().

◆ m_endyear

int PesticideOutput::m_endyear
protected

last year of data to record

Referenced by PesticideOutput().

◆ m_OurLandscape

Landscape* PesticideOutput::m_OurLandscape
protected

pointer to the landscape

Referenced by PesticideOutput(), and PesticideTable::PesticideTable().

◆ m_pmap_fungicides

◆ m_pmap_height

int PesticideOutput::m_pmap_height
protected

based on cellsize the height of the map

Referenced by PesticideMap::DumpPMap(), PesticideMap::PesticideMap(), and PesticideOutput().

◆ m_pmap_herbicides

◆ m_pmap_insecticides

◆ m_pmap_width

int PesticideOutput::m_pmap_width
protected

based on cellsize the width of the map

Referenced by PesticideMap::DumpPMap(), PesticideMap::PesticideMap(), PesticideOutput(), and PesticideMap::Spray().

◆ m_Rastermap

RasterMap* PesticideOutput::m_Rastermap
protected

pointer to the landscape map

Referenced by PesticideOutput(), and PesticideMap::Spray().

◆ m_startyear

int PesticideOutput::m_startyear
protected

first simultion year to record

Referenced by PesticideOutput().


The documentation for this class was generated from the following files:
PesticideOutput::m_cellsize
int m_cellsize
the size of the cell for pesticide data in m
Definition: Pesticide.h:764
PesticideOutput::m_startyear
int m_startyear
first simultion year to record
Definition: Pesticide.h:760
PesticideOutput::m_Rastermap
RasterMap * m_Rastermap
pointer to the landscape map
Definition: Pesticide.h:772
PesticideOutput::m_endyear
int m_endyear
last year of data to record
Definition: Pesticide.h:762
PesticideOutput::m_pmap_width
int m_pmap_width
based on cellsize the width of the map
Definition: Pesticide.h:766
Landscape::SupplySimAreaHeight
int SupplySimAreaHeight(void)
Gets the simulation landscape height.
Definition: Landscape.h:2302
Landscape::SupplySimAreaWidth
int SupplySimAreaWidth(void)
Gets the simulation landscape width.
Definition: Landscape.h:2297
PesticideOutput::m_OurLandscape
Landscape * m_OurLandscape
pointer to the landscape
Definition: Pesticide.h:770
PesticideOutput::m_pmap_height
int m_pmap_height
based on cellsize the height of the map
Definition: Pesticide.h:768