Health-GPS 3.0.0.0
Global Health Policy Simulation model (Health-GPS)
Loading...
Searching...
No Matches
hgps::RiskFactorHostModule Class Referenceabstract

Generic risk factors module interface to host risk factor models. More...

#include <interfaces.h>

Inheritance diagram for hgps::RiskFactorHostModule:
[legend]
Collaboration diagram for hgps::RiskFactorHostModule:
[legend]

Public Member Functions

virtual std::size_t size () const noexcept=0
 Gets the number of diseases model hosted.
 
virtual bool contains (const RiskFactorModelType &modelType) const noexcept=0
 Indicates whether the host contains a model of type.
 
- Public Member Functions inherited from hgps::UpdatableModule
virtual void update_population (RuntimeContext &context)=0
 Updates the virtual population status.
 
- Public Member Functions inherited from hgps::SimulationModule
virtual ~SimulationModule ()=default
 Destroys a SimulationModule instance.
 
virtual SimulationModuleType type () const noexcept=0
 Gets the module type identifier.
 
virtual const std::string & name () const noexcept=0
 Gets the module name.
 
virtual void initialise_population (RuntimeContext &context)=0
 Initialises the virtual population.
 

Detailed Description

Generic risk factors module interface to host risk factor models.

Member Function Documentation

◆ contains()

virtual bool hgps::RiskFactorHostModule::contains ( const RiskFactorModelType modelType) const
pure virtualnoexcept

Indicates whether the host contains a model of type.

Parameters
modelTypeThe model type identifier
Returns
true if the model is found, otherwise false.

Implemented in hgps::RiskFactorModule.

◆ size()

virtual std::size_t hgps::RiskFactorHostModule::size ( ) const
pure virtualnoexcept

Gets the number of diseases model hosted.

Returns
Number of hosted diseases models

Implemented in hgps::RiskFactorModule.


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