|
Blender V5.0
|
#include <FN_lazy_function_graph_executor.hh>
Inherits blender::fn::lazy_function::LazyFunction.
Public Types | |
| using | Logger = GraphExecutorLogger |
| using | SideEffectProvider = GraphExecutorSideEffectProvider |
| using | NodeExecuteWrapper = GraphExecutorNodeExecuteWrapper |
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 |
Friends | |
| class | Executor |
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 77 of file FN_lazy_function_graph_executor.hh.
Definition at line 79 of file FN_lazy_function_graph_executor.hh.
| using blender::fn::lazy_function::GraphExecutor::NodeExecuteWrapper = GraphExecutorNodeExecuteWrapper |
Definition at line 81 of file FN_lazy_function_graph_executor.hh.
| using blender::fn::lazy_function::GraphExecutor::SideEffectProvider = GraphExecutorSideEffectProvider |
Definition at line 80 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 1462 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 1475 of file lazy_function_graph_executor.cc.
References blender::fn::lazy_function::LazyFunction::allow_missing_requested_inputs_, blender::fn::lazy_function::LazyFunction::debug_name_, i, blender::fn::lazy_function::Graph::name(), and size().
|
overridevirtual |
Destruct the storage created in init_storage.
Reimplemented from blender::fn::lazy_function::LazyFunction.
Definition at line 1546 of file lazy_function_graph_executor.cc.
References Executor.
|
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 1540 of file lazy_function_graph_executor.cc.
References blender::LinearAllocator< Allocator >::construct(), and Executor.
|
overridevirtual |
Reimplemented from blender::fn::lazy_function::LazyFunction.
Definition at line 1551 of file lazy_function_graph_executor.cc.
References blender::fn::lazy_function::Socket::name().
|
overridevirtual |
Reimplemented from blender::fn::lazy_function::LazyFunction.
Definition at line 1557 of file lazy_function_graph_executor.cc.
References blender::fn::lazy_function::Socket::name().
|
friend |
Definition at line 121 of file FN_lazy_function_graph_executor.hh.
References Executor, and params.
Referenced by destruct_storage(), Executor, and init_storage().
| int blender::fn::lazy_function::GraphExecutor::loaded_inputs_array_offset |
Definition at line 116 of file FN_lazy_function_graph_executor.hh.
| int blender::fn::lazy_function::GraphExecutor::node_states_array_offset |
Definition at line 115 of file FN_lazy_function_graph_executor.hh.
| Array<int> blender::fn::lazy_function::GraphExecutor::node_states_offsets |
Definition at line 117 of file FN_lazy_function_graph_executor.hh.
| int blender::fn::lazy_function::GraphExecutor::total_size |
Definition at line 118 of file FN_lazy_function_graph_executor.hh.