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

Inherits blender::fn::lazy_function::GraphExecutorLogger.

Public Member Functions

 GeometryNodesLazyFunctionLogger (const GeometryNodesLazyFunctionGraphInfo &lf_graph_info)
LoggingEnabledState get_logging_enabled_state (const lf::Context &context) const override
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
Public Member Functions inherited from blender::fn::lazy_function::GraphExecutorLogger
virtual ~GraphExecutorLogger ()=default
virtual LoggingEnabledState get_logging_enabled_state (const Context &context) const
virtual void log_socket_value (const Socket &socket, GPointer value, const Context &context) const
virtual void log_before_node_execute (const FunctionNode &node, const Params &params, const Context &context) const
virtual void log_after_node_execute (const FunctionNode &node, const Params &params, const Context &context) const
virtual void dump_when_outputs_are_missing (const FunctionNode &node, Span< const OutputSocket * > missing_sockets, const Context &context) const
virtual void dump_when_input_is_set_twice (const InputSocket &target_socket, const OutputSocket &from_socket, const Context &context) const

Static Public Attributes

static Mutex dump_error_context_mutex

Detailed Description

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

Definition at line 1804 of file geometry_nodes_lazy_function.cc.

Constructor & Destructor Documentation

◆ GeometryNodesLazyFunctionLogger()

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

Definition at line 1809 of file geometry_nodes_lazy_function.cc.

Member Function Documentation

◆ add_thread_id_debug_message()

void blender::nodes::GeometryNodesLazyFunctionLogger::add_thread_id_debug_message ( const lf::FunctionNode & node,
const lf::Context & context ) const
inline

◆ 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

◆ get_logging_enabled_state()

LoggingEnabledState blender::nodes::GeometryNodesLazyFunctionLogger::get_logging_enabled_state ( const lf::Context & context) const
inlineoverride

Definition at line 1814 of file geometry_nodes_lazy_function.cc.

◆ 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 1890 of file geometry_nodes_lazy_function.cc.

References add_thread_id_debug_message(), and node.

◆ 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

Mutex blender::nodes::GeometryNodesLazyFunctionLogger::dump_error_context_mutex
inlinestatic

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