walberla::executiontree::EveryNth Class Reference

#include <ExecutionTree.h>

+ Inheritance diagram for walberla::executiontree::EveryNth:

Public Member Functions

 EveryNth (const IFunctionNodePtr &node, uint_t interval, bool onFirst=false, uint_t startValue=0)
 
void operator() () override
 
std::string getName () const override
 
std::deque< shared_ptr< IFunctionNode > > getChildren () const override
 
- Public Member Functions inherited from walberla::executiontree::IFunctionNode
virtual ~IFunctionNode ()=default
 

Private Attributes

IFunctionNodePtr wrapped_
 
uint_t interval_
 
bool onFirst_
 
uint_t calls_
 

Constructor & Destructor Documentation

◆ EveryNth()

walberla::executiontree::EveryNth::EveryNth ( const IFunctionNodePtr node,
uint_t  interval,
bool  onFirst = false,
uint_t  startValue = 0 
)

Member Function Documentation

◆ getChildren()

std::deque< shared_ptr< IFunctionNode > > walberla::executiontree::EveryNth::getChildren ( ) const
inlineoverridevirtual

◆ getName()

std::string walberla::executiontree::EveryNth::getName ( ) const
overridevirtual

◆ operator()()

void walberla::executiontree::EveryNth::operator() ( )
overridevirtual

Member Data Documentation

◆ calls_

uint_t walberla::executiontree::EveryNth::calls_
private

◆ interval_

uint_t walberla::executiontree::EveryNth::interval_
private

◆ onFirst_

bool walberla::executiontree::EveryNth::onFirst_
private

◆ wrapped_

IFunctionNodePtr walberla::executiontree::EveryNth::wrapped_
private

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