Blender V4.3
blender::nodes::GeometryNodesLazyFunctionLogger Class Reference

Inherits lf::GraphExecutor::Logger.

Public Member Functions

 GeometryNodesLazyFunctionLogger (const GeometryNodesLazyFunctionGraphInfo &lf_graph_info)
 
void log_socket_value (const lf::Socket &lf_socket, const GPointer value, const lf::Context &context) const override
 
void dump_when_outputs_are_missing (const lf::FunctionNode &node, Span< const lf::OutputSocket * > missing_sockets, const lf::Context &context) const override
 
void dump_when_input_is_set_twice (const lf::InputSocket &target_socket, const lf::OutputSocket &from_socket, const lf::Context &context) const override
 
void log_before_node_execute (const lf::FunctionNode &node, const lf::Params &, const lf::Context &context) const override
 
void add_thread_id_debug_message (const lf::FunctionNode &node, const lf::Context &context) const
 

Static Public Attributes

static std::mutex dump_error_context_mutex
 

Detailed Description

Logs intermediate values from the lazy-function graph evaluation into #GeoModifierLog based on the mapping between the lazy-function graph and the corresponding bNodeTree.

Definition at line 3334 of file geometry_nodes_lazy_function.cc.

Constructor & Destructor Documentation

◆ GeometryNodesLazyFunctionLogger()

blender::nodes::GeometryNodesLazyFunctionLogger::GeometryNodesLazyFunctionLogger ( const GeometryNodesLazyFunctionGraphInfo & lf_graph_info)
inline

Definition at line 3339 of file geometry_nodes_lazy_function.cc.

Member Function Documentation

◆ add_thread_id_debug_message()

◆ dump_when_input_is_set_twice()

void blender::nodes::GeometryNodesLazyFunctionLogger::dump_when_input_is_set_twice ( const lf::InputSocket & target_socket,
const lf::OutputSocket & from_socket,
const lf::Context & context ) const
inlineoverride

◆ dump_when_outputs_are_missing()

void blender::nodes::GeometryNodesLazyFunctionLogger::dump_when_outputs_are_missing ( const lf::FunctionNode & node,
Span< const lf::OutputSocket * > missing_sockets,
const lf::Context & context ) const
inlineoverride

◆ log_before_node_execute()

void blender::nodes::GeometryNodesLazyFunctionLogger::log_before_node_execute ( const lf::FunctionNode & node,
const lf::Params & ,
const lf::Context & context ) const
inlineoverride

Definition at line 3410 of file geometry_nodes_lazy_function.cc.

References add_thread_id_debug_message().

◆ log_socket_value()

void blender::nodes::GeometryNodesLazyFunctionLogger::log_socket_value ( const lf::Socket & lf_socket,
const GPointer value,
const lf::Context & context ) const
inlineoverride

Member Data Documentation

◆ dump_error_context_mutex

std::mutex blender::nodes::GeometryNodesLazyFunctionLogger::dump_error_context_mutex
inlinestatic

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