Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::NetworkVisitor Class Reference

Visitor pattern base for visiting an Inviwo ProcessorNetwork. More...

#include <networkvisitor.h>

+ Inheritance diagram for inviwo::NetworkVisitor:

Public Member Functions

virtual bool enter (Processor &)
 Visit a Processor Adding or removing processors while visiting is not supported Called before visiting children.
 
virtual void exit (Processor &)
 Visit a Processor Adding and removing processors while visiting are not supported Called after visiting children.
 
virtual bool enter (CompositeProperty &)
 Visit a CompositeProperty Adding or removing properties while visiting is not supported Called before visiting children.
 
virtual void exit (CompositeProperty &)
 Visit a CompositeProperty Adding and removing properties while visiting are not supported Called after visiting children.
 
virtual void visit (Property &)
 Visit a Property Adding and removing properties while visiting are not supported.
 

Detailed Description

Visitor pattern base for visiting an Inviwo ProcessorNetwork.

Member Function Documentation

◆ enter() [1/2]

virtual bool inviwo::NetworkVisitor::enter ( CompositeProperty & )
inlinevirtual

Visit a CompositeProperty Adding or removing properties while visiting is not supported Called before visiting children.

Returns
visit all child properties if true else go to next CompositeProperty

Reimplemented in inviwo::LambdaNetworkVisitor< Funcs >.

◆ enter() [2/2]

virtual bool inviwo::NetworkVisitor::enter ( Processor & )
inlinevirtual

Visit a Processor Adding or removing processors while visiting is not supported Called before visiting children.

Returns
visit all child properties if true else go to next processor

Reimplemented in inviwo::LambdaNetworkVisitor< Funcs >.

◆ exit() [1/2]

virtual void inviwo::NetworkVisitor::exit ( CompositeProperty & )
inlinevirtual

Visit a CompositeProperty Adding and removing properties while visiting are not supported Called after visiting children.

Reimplemented in inviwo::LambdaNetworkVisitor< Funcs >.

◆ exit() [2/2]

virtual void inviwo::NetworkVisitor::exit ( Processor & )
inlinevirtual

Visit a Processor Adding and removing processors while visiting are not supported Called after visiting children.

Reimplemented in inviwo::LambdaNetworkVisitor< Funcs >.

◆ visit()

virtual void inviwo::NetworkVisitor::visit ( Property & )
inlinevirtual

Visit a Property Adding and removing properties while visiting are not supported.

Reimplemented in inviwo::LambdaNetworkVisitor< Funcs >.


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