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

#include <cbmdisturbancelistener.h>

Collaboration diagram for DisturbanceCondition:
Collaboration graph

Public Member Functions

 DisturbanceCondition (const std::vector< std::string > disturbanceTypes, const std::vector< std::shared_ptr< IDisturbanceSubCondition >> matchConditions, const std::vector< std::shared_ptr< IDisturbanceSubCondition >> runConditions, const std::vector< std::shared_ptr< IDisturbanceSubCondition >> overrideConditions, const std::string &overrideDisturbanceType="")
 
bool isApplicable (const std::string &disturbanceType)
 
DisturbanceConditionResult check ()
 

Private Attributes

const std::vector< std::string > _disturbanceTypes
 
const std::vector< std::shared_ptr< IDisturbanceSubCondition > > _matchConditions
 
const std::vector< std::shared_ptr< IDisturbanceSubCondition > > _runConditions
 
const std::vector< std::shared_ptr< IDisturbanceSubCondition > > _overrideConditions
 
const std::string _overrideDisturbanceType
 

Constructor & Destructor Documentation

◆ DisturbanceCondition()

DisturbanceCondition ( const std::vector< std::string >  disturbanceTypes,
const std::vector< std::shared_ptr< IDisturbanceSubCondition >>  matchConditions,
const std::vector< std::shared_ptr< IDisturbanceSubCondition >>  runConditions,
const std::vector< std::shared_ptr< IDisturbanceSubCondition >>  overrideConditions,
const std::string &  overrideDisturbanceType = "" 
)

Member Function Documentation

◆ check()

◆ isApplicable()

bool isApplicable ( const std::string &  disturbanceType)

Member Data Documentation

◆ _disturbanceTypes

const std::vector<std::string> _disturbanceTypes
private

◆ _matchConditions

const std::vector<std::shared_ptr<IDisturbanceSubCondition> > _matchConditions
private

◆ _overrideConditions

const std::vector<std::shared_ptr<IDisturbanceSubCondition> > _overrideConditions
private

◆ _overrideDisturbanceType

const std::string _overrideDisturbanceType
private

◆ _runConditions

const std::vector<std::shared_ptr<IDisturbanceSubCondition> > _runConditions
private

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