suanPan
LogicCriterion Class Reference

A LogicCriterion class. More...

#include <LogicCriterion.h>

Inheritance diagram for LogicCriterion:
Collaboration diagram for LogicCriterion:

Public Member Functions

 LogicCriterion (unsigned, unsigned, unsigned, unsigned)
 
int initialize (const shared_ptr< DomainBase > &) override
 
- Public Member Functions inherited from Criterion
 Criterion (unsigned=0, unsigned=0)
 
 ~Criterion () override=default
 
void set_step_tag (unsigned)
 
unsigned get_step_tag () const
 
virtual unique_ptr< Criterionget_copy ()=0
 
virtual int initialize (const shared_ptr< DomainBase > &)
 
virtual int process (const shared_ptr< DomainBase > &)=0
 
- Public Member Functions inherited from Tag
 Tag (unsigned=0)
 
 Tag (const Tag &)=default
 
 Tag (Tag &&)=default
 
Tagoperator= (const Tag &)=delete
 
Tagoperator= (Tag &&)=delete
 
virtual ~Tag ()=default
 
void set_tag (unsigned) const
 
unsigned get_tag () const
 
void enable ()
 
void disable ()
 
void guard ()
 
void unguard ()
 
bool is_active () const
 
bool is_guarded () const
 
virtual void print ()
 

Protected Attributes

shared_ptr< Criterioncriterion_a
 
shared_ptr< Criterioncriterion_b
 

Detailed Description

A LogicCriterion class.

The LogicCriterion class.

Author
tlc
Date
08/04/2022
Version
0.1.0

Constructor & Destructor Documentation

◆ LogicCriterion()

LogicCriterion::LogicCriterion ( unsigned  T,
unsigned  ST,
unsigned  TA,
unsigned  TB 
)
explicit

Member Function Documentation

◆ initialize()

int LogicCriterion::initialize ( const shared_ptr< DomainBase > &  D)
overridevirtual

Reimplemented from Criterion.

Here is the call graph for this function:

Member Data Documentation

◆ criterion_a

shared_ptr<Criterion> LogicCriterion::criterion_a
protected

◆ criterion_b

shared_ptr<Criterion> LogicCriterion::criterion_b
protected

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