API Documentation
Loading...
Searching...
No Matches
DesignParameterExecutor Class Reference

Used to execute a ManagedDesignCommand. More...

#include <DesignCommandExecutor.h>

Inheritance diagram for DesignParameterExecutor:
[legend]
Collaboration diagram for DesignParameterExecutor:
[legend]

Public Member Functions

 DesignParameterExecutor (ManagedDesignCommand *command, DesignObjectLookup *lookup)
 
ParseResult process (Model &model) override
 
ParseResult process (Model &model, Geometry &geo) override
 
ParseResult process (Model &model, Material &mat) override
 
bool shouldProcess (DesignObject &object)
 
- Public Member Functions inherited from ModelIterator
Model currentModel () const
 
 ModelIterator ()
 
 ModelIterator (Buffer< Model > models)
 
 ModelIterator (const Model &model)
 
void parseAll ()
 
void parseAll (const Buffer< Model > &models)
 
void parseAll (const Model &model)
 
ParseResult parseNext ()
 

Protected Member Functions

virtual bool processDesignCommand (DesignObject &object)
 
- Protected Member Functions inherited from ModelIterator
virtual void parseAllModels ()
 
Model popNextModel ()
 
virtual ParseResult postProcess (Model &model)
 
void removeFromPostProcessStack ()
 

Protected Attributes

ManagedDesignCommandm_command
 
DesignObjectLookupm_lookup
 
- Protected Attributes inherited from ModelIterator
Buffer< uint04m_model_parent_child_count
 
Buffer< Modelm_model_parent_stack
 
Buffer< Modelm_model_stack
 

Additional Inherited Members

- Public Types inherited from ModelIterator
enum  ParseResult { e_continue_parsing , e_do_not_parse_children , e_finish_parsing }
 
- Public Attributes inherited from ModelIterator
bool depth_first = true
 
std::function< bool(const Model &, const Geometry &)> geo_filter
 
bool is_recursive = true
 
std::function< bool(const Model &, const Material &)> material_filter
 
PrimitiveProperty material_property = PrimitiveProperty::Solid
 
std::function< bool(const Model &)> model_filter
 
bool post_process_model = false
 
bool process_geometry = true
 
bool process_material = false
 
bool process_model = true
 
bool use_unit = false
 

Detailed Description

Used to execute a ManagedDesignCommand.


Constructor & Destructor Documentation

◆ DesignParameterExecutor()

Member Function Documentation

◆ process() [1/3]

ParseResult process ( Model & model)
overridevirtual

Reimplemented from ModelIterator.

◆ process() [2/3]

ParseResult process ( Model & model,
Geometry & geo )
overridevirtual

Reimplemented from ModelIterator.

◆ process() [3/3]

ParseResult process ( Model & model,
Material & mat )
overridevirtual

Reimplemented from ModelIterator.

◆ processDesignCommand()

virtual bool processDesignCommand ( DesignObject & object)
protectedvirtual

◆ shouldProcess()

bool shouldProcess ( DesignObject & object)

Member Data Documentation

◆ m_command

ManagedDesignCommand* m_command
protected

◆ m_lookup

DesignObjectLookup* m_lookup
protected

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