GCBM
Public Member Functions | Private Attributes | List of all members
CBMDistEventTransfer Class Reference

#include <cbmdisturbancelistener.h>

Collaboration diagram for CBMDistEventTransfer:
Collaboration graph

Public Member Functions

 CBMDistEventTransfer ()=default
 
 CBMDistEventTransfer (flint::ILandUnitDataWrapper &landUnitData, const DynamicObject &data)
 
 CBMDistEventTransfer (flint::ILandUnitDataWrapper &landUnitData, const std::string &sourcePool, const std::string &destPool, double proportion)
 
int disturbanceMatrixId () const
 
const flint::IPool * sourcePool () const
 
const flint::IPool * destPool () const
 
double proportion () const
 
void setProportion (double proportion)
 

Private Attributes

int _disturbanceMatrixId
 
const flint::IPool * _sourcePool
 
const flint::IPool * _destPool
 
double _proportion
 

Constructor & Destructor Documentation

◆ CBMDistEventTransfer() [1/3]

CBMDistEventTransfer ( )
default

◆ CBMDistEventTransfer() [2/3]

CBMDistEventTransfer ( flint::ILandUnitDataWrapper &  landUnitData,
const DynamicObject &  data 
)

◆ CBMDistEventTransfer() [3/3]

CBMDistEventTransfer ( flint::ILandUnitDataWrapper &  landUnitData,
const std::string &  sourcePool,
const std::string &  destPool,
double  proportion 
)

Member Function Documentation

◆ destPool()

const flint::IPool* destPool ( ) const

◆ disturbanceMatrixId()

int disturbanceMatrixId ( ) const

◆ proportion()

double proportion ( ) const

◆ setProportion()

void setProportion ( double  proportion)

◆ sourcePool()

const flint::IPool* sourcePool ( ) const

Member Data Documentation

◆ _destPool

const flint::IPool* _destPool
private

◆ _disturbanceMatrixId

int _disturbanceMatrixId
private

◆ _proportion

double _proportion
private

◆ _sourcePool

const flint::IPool* _sourcePool
private

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