ALMaSS
1.2 (after EcoStack, March 2024)
The Animal, Landscape and Man Simulation System
|
Data structure to hold & output probe data probe data is designed to be used to return the number of objects in a given area or areas in specific element or vegetation types or farms. More...
#include <PopulationManager.h>
Public Member Functions | |
void | FileOutput (int No, int time, int ProbeNo) const |
void | FileAppendOutput (int No, int time) const |
Probe_Data () | |
void | SetFile (ofstream *F) |
ofstream * | OpenFile (const string &Nme) |
bool | OpenForAppendToFile () |
void | CloseFile () const |
~Probe_Data ()=default | |
Public Attributes | |
bool | m_FileRecord |
bool | m_FullLandscapeProbe |
unsigned | m_ReportInterval |
unsigned | m_NoAreas |
rectangle | m_Rect [16] |
unsigned | m_NoEleTypes |
unsigned | m_NoVegTypes |
unsigned | m_NoFarms |
TTypesOfVegetation | m_RefVeg [25] |
TTypesOfLandscapeElement | m_RefEle [25] |
unsigned | m_RefFarms [25] |
bool | m_TargetTypes [16] |
Protected Attributes | |
ofstream * | m_MyFile |
int | m_Time |
char | m_MyFileName [255] |
Data structure to hold & output probe data probe data is designed to be used to return the number of objects in a given area or areas in specific element or vegetation types or farms.
Probe_Data::Probe_Data | ( | ) |
Constructor for probe_data
|
default |
void Probe_Data::CloseFile | ( | ) | const |
void Probe_Data::FileAppendOutput | ( | int | No, |
int | time | ||
) | const |
References g_msg, m_FileRecord, m_MyFile, m_MyFileName, and MapErrorMsg::Warn().
void Probe_Data::FileOutput | ( | int | No, |
int | time, | ||
int | ProbeNo | ||
) | const |
Basic output function of the default probe data file.
This just counts numbers in specified areas
References m_FileRecord, and m_MyFile.
Referenced by Population_Manager::ProbeReport(), Skylark_Population_Manager::ProbeReportPOM(), and Population_Manager::ProbeReportTimed().
ofstream * Probe_Data::OpenFile | ( | const string & | a_Nme | ) |
Opens the default probe data output file
References g_msg, m_MyFile, and MapErrorMsg::Warn().
Referenced by GetProbeInput_ini().
|
inline |
References g_msg, m_MyFile, m_MyFileName, MapErrorMsg::Warn(), and WARN_FILE.
void Probe_Data::SetFile | ( | ofstream * | F | ) |
bool Probe_Data::m_FileRecord |
Referenced by FileAppendOutput(), FileOutput(), and Population_Manager_Base::ProbeFileInput().
bool Probe_Data::m_FullLandscapeProbe |
|
protected |
Referenced by FileAppendOutput(), FileOutput(), OpenFile(), OpenForAppendToFile(), and SetFile().
|
protected |
Referenced by FileAppendOutput(), and OpenForAppendToFile().
unsigned Probe_Data::m_NoAreas |
unsigned Probe_Data::m_NoEleTypes |
unsigned Probe_Data::m_NoFarms |
unsigned Probe_Data::m_NoVegTypes |
rectangle Probe_Data::m_Rect[16] |
TTypesOfLandscapeElement Probe_Data::m_RefEle[25] |
unsigned Probe_Data::m_RefFarms[25] |
TTypesOfVegetation Probe_Data::m_RefVeg[25] |
unsigned Probe_Data::m_ReportInterval |
Referenced by Population_Manager_Base::ProbeFileInput().
bool Probe_Data::m_TargetTypes[16] |
Referenced by Population_Manager_Base::ProbeFileInput().
|
protected |