|
Blender V5.3
|
#include <FN_lazy_function_graph_executor.hh>
Inherits blender::fn::lazy_function::LazyFunction.
Public Types | |
| using | Logger = GraphExecutorLogger |
| using | SideEffectProvider = GraphExecutorSideEffectProvider |
| using | NodeExecuteWrapper = GraphExecutorNodeExecuteWrapper |
| using | GenericExecutor = generic_graph_executor::GenericGraphExecutor |
Public Member Functions | |
| GraphExecutor (const Graph &graph, const Logger *logger, const SideEffectProvider *side_effect_provider, const NodeExecuteWrapper *node_execute_wrapper) | |
| GraphExecutor (const Graph &graph, Vector< const GraphInputSocket * > graph_inputs, Vector< const GraphOutputSocket * > graph_outputs, const Logger *logger, const SideEffectProvider *side_effect_provider, const NodeExecuteWrapper *node_execute_wrapper) | |
| void * | init_storage (LinearAllocator<> &allocator) const override |
| void | destruct_storage (void *storage) const override |
| std::string | input_name (int index) const override |
| std::string | output_name (int index) const override |
| Public Member Functions inherited from blender::fn::lazy_function::LazyFunction | |
| virtual | ~LazyFunction ()=default |
| virtual std::string | name () const |
| virtual void | possible_output_dependencies (int output_index, FunctionRef< void(Span< int >)> fn) const |
| bool | always_used_inputs_available (const Params ¶ms) const |
| bool | allow_missing_requested_inputs () const |
| Span< Input > | inputs () const |
| Span< Output > | outputs () const |
| void | execute (Params ¶ms, const Context &context) const |
Additional Inherited Members | |
| Protected Attributes inherited from blender::fn::lazy_function::LazyFunction | |
| const char * | debug_name_ = "unknown" |
| Vector< Input > | inputs_ |
| Vector< Output > | outputs_ |
| bool | allow_missing_requested_inputs_ = false |
Definition at line 91 of file FN_lazy_function_graph_executor.hh.
| using blender::fn::lazy_function::GraphExecutor::GenericExecutor = generic_graph_executor::GenericGraphExecutor |
Definition at line 96 of file FN_lazy_function_graph_executor.hh.
Definition at line 93 of file FN_lazy_function_graph_executor.hh.
| using blender::fn::lazy_function::GraphExecutor::NodeExecuteWrapper = GraphExecutorNodeExecuteWrapper |
Definition at line 95 of file FN_lazy_function_graph_executor.hh.
| using blender::fn::lazy_function::GraphExecutor::SideEffectProvider = GraphExecutorSideEffectProvider |
Definition at line 94 of file FN_lazy_function_graph_executor.hh.
| blender::fn::lazy_function::GraphExecutor::GraphExecutor | ( | const Graph & | graph, |
| const Logger * | logger, | ||
| const SideEffectProvider * | side_effect_provider, | ||
| const NodeExecuteWrapper * | node_execute_wrapper ) |
Definition at line 19 of file lazy_function_graph_executor.cc.
References GraphExecutor().
Referenced by GraphExecutor().
| blender::fn::lazy_function::GraphExecutor::GraphExecutor | ( | const Graph & | graph, |
| Vector< const GraphInputSocket * > | graph_inputs, | ||
| Vector< const GraphOutputSocket * > | graph_outputs, | ||
| const Logger * | logger, | ||
| const SideEffectProvider * | side_effect_provider, | ||
| const NodeExecuteWrapper * | node_execute_wrapper ) |
Definition at line 32 of file lazy_function_graph_executor.cc.
References blender::fn::lazy_function::LazyFunction::allow_missing_requested_inputs_, blender::fn::lazy_function::LazyFunction::debug_name_, and blender::fn::lazy_function::Graph::name().
|
overridevirtual |
Destruct the storage created in init_storage.
Reimplemented from blender::fn::lazy_function::LazyFunction.
Definition at line 80 of file lazy_function_graph_executor.cc.
References destruct_storage(), and storage.
Referenced by destruct_storage().
|
overridevirtual |
Allocates storage for this function. The storage will be passed to every call to execute. If the function does not keep track of any state, this does not have to be implemented.
Reimplemented from blender::fn::lazy_function::LazyFunction.
Definition at line 74 of file lazy_function_graph_executor.cc.
References blender::LinearAllocator< Allocator >::construct(), and init_storage().
Referenced by init_storage().
|
overridevirtual |
Reimplemented from blender::fn::lazy_function::LazyFunction.
Definition at line 85 of file lazy_function_graph_executor.cc.
References input_name().
Referenced by input_name().
|
overridevirtual |
Reimplemented from blender::fn::lazy_function::LazyFunction.
Definition at line 91 of file lazy_function_graph_executor.cc.
References output_name().
Referenced by output_name().