FMT 0.9.8
Forest management tools for forest planning
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
Core::FMTyieldrequest Class Referencefinal

#include <FMTyieldrequest.hpp>

Inheritance diagram for Core::FMTyieldrequest:
[legend]
Collaboration diagram for Core::FMTyieldrequest:
[legend]

Public Member Functions

 FMTyieldrequest (const FMTdevelopment &ldevelopment, const Graph::FMTgraphvertextoyield &lgraphvertex)
 
 FMTyieldrequest (const FMTdevelopment &ldevelopment, const FMTyieldrequest &oldrequest)
 
 FMTyieldrequest (const FMTdevelopment &ldevelopment)
 
 FMTyieldrequest ()=default
 
 FMTyieldrequest (const FMTyieldrequest &rhs)=default
 
FMTyieldrequestoperator= (const FMTyieldrequest &rhs)=default
 
const FMTdevelopmentgetdevelopment () const
 
const std::vector< const std::unique_ptr< FMTyieldhandler > * > & getdatas () const
 
const Core::FMTmaskgetresumemask () const
 
const Graph::FMTgraphvertextoyieldgetvertexgraphinfo () const
 
- Public Member Functions inherited from Core::FMTobject
 FMTobject ()
 
virtual ~FMTobject ()
 
 FMTobject (const std::shared_ptr< Exception::FMTexceptionhandler > exhandler)
 
 FMTobject (const FMTobject &rhs)
 
FMTobjectoperator= (const FMTobject &rhs)
 
virtual void passinlogger (const std::shared_ptr< Logging::FMTlogger > &logger)
 
void passinexceptionhandler (const std::shared_ptr< Exception::FMTexceptionhandler > &exhandler)
 
void redirectlogtofile (const std::string &location)
 
virtual void setdefaultlogger ()
 
virtual void setquietlogger ()
 
virtual void settasklogger ()
 
virtual void setdebuglogger ()
 
void setdefaultexceptionhandler ()
 
void setquietexceptionhandler ()
 
void setdebugexceptionhandler ()
 
void setfreeexceptionhandler ()
 
void disablenestedexceptions ()
 
void enablenestedexceptions ()
 
void seterrorstowarnings (const std::vector< Exception::FMTexc > &errors)
 
void setmaxwarningsbeforesilenced (const size_t &maxwarningcount)
 

Friends

class FMTyields
 

Additional Inherited Members

- Static Public Member Functions inherited from Core::FMTobject
static std::string getruntimelocation ()
 
static unsigned long long getavailablememory ()
 
- Protected Member Functions inherited from Core::FMTobject
template<class Archive >
void forcesave (Archive &ar, const unsigned int version) const
 
template<class Archive >
void forceload (Archive &ar, const unsigned int version)
 
void checksignals () const
 
void setCPLhandler ()
 
- Static Protected Member Functions inherited from Core::FMTobject
static std::chrono::time_point< std::chrono::high_resolution_clock > getclock ()
 
template<class chrono >
static double getduration (const std::chrono::time_point< std::chrono::high_resolution_clock > &startclock)
 
static std::string getdurationinseconds (const std::chrono::time_point< std::chrono::high_resolution_clock > &startclock)
 
- Static Protected Attributes inherited from Core::FMTobject
static std::shared_ptr< Exception::FMTexceptionhandler_exhandler
 A shared pointer to the exception handler.
 
static std::shared_ptr< Logging::FMTlogger_logger
 A shared pointer to the logger.
 

Detailed Description

Using a pointer to a given graph and a FMTdevelopement you can create thise class to request yield values. The yield will be calculated using the FMTyields class but also using the FMTgraph so the location of the actual state of the FMTdevelopement.You can also build a yield request without anyreference to a graph for calculatin yield values.

Constructor & Destructor Documentation

◆ FMTyieldrequest() [1/5]

Core::FMTyieldrequest::FMTyieldrequest ( const FMTdevelopment ldevelopment,
const Graph::FMTgraphvertextoyield lgraphvertex 
)

◆ FMTyieldrequest() [2/5]

Core::FMTyieldrequest::FMTyieldrequest ( const FMTdevelopment ldevelopment,
const FMTyieldrequest oldrequest 
)

◆ FMTyieldrequest() [3/5]

Core::FMTyieldrequest::FMTyieldrequest ( const FMTdevelopment ldevelopment)

◆ FMTyieldrequest() [4/5]

Core::FMTyieldrequest::FMTyieldrequest ( )
default

◆ FMTyieldrequest() [5/5]

Core::FMTyieldrequest::FMTyieldrequest ( const FMTyieldrequest rhs)
default

Member Function Documentation

◆ getdatas()

const std::vector< const std::unique_ptr< FMTyieldhandler > * > & Core::FMTyieldrequest::getdatas ( ) const

◆ getdevelopment()

const FMTdevelopment & Core::FMTyieldrequest::getdevelopment ( ) const

◆ getresumemask()

const Core::FMTmask & Core::FMTyieldrequest::getresumemask ( ) const

◆ getvertexgraphinfo()

const Graph::FMTgraphvertextoyield * Core::FMTyieldrequest::getvertexgraphinfo ( ) const

◆ operator=()

FMTyieldrequest & Core::FMTyieldrequest::operator= ( const FMTyieldrequest rhs)
default

Friends And Related Function Documentation

◆ FMTyields

friend class FMTyields
friend

The documentation for this class was generated from the following file: