ug4
ug::FinishedTester Class Reference

#include <finished_conditions.hpp>

Public Types

typedef SmartPtr< IFinishedConditioncond_type
 

Public Member Functions

void add_condition (cond_type condition)
 
 FinishedTester ()
 
bool is_finished (number time, int step)
 

Private Attributes

std::vector< cond_typem_conditions
 

Member Typedef Documentation

◆ cond_type

Constructor & Destructor Documentation

◆ FinishedTester()

ug::FinishedTester::FinishedTester ( )
inline

Member Function Documentation

◆ add_condition()

void ug::FinishedTester::add_condition ( cond_type  condition)
inline

References m_conditions.

◆ is_finished()

bool ug::FinishedTester::is_finished ( number  time,
int  step 
)
inline

References m_conditions.

Member Data Documentation

◆ m_conditions

std::vector<cond_type> ug::FinishedTester::m_conditions
private

Referenced by add_condition(), and is_finished().


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