Blender  V2.93
Public Member Functions | List of all members
blender::nodes::DOutputSocket Class Reference

#include <NOD_derived_node_tree.hh>

Inherits blender::nodes::DSocket.

Public Member Functions

 DOutputSocket ()=default
 
 DOutputSocket (const DTreeContext *context, const OutputSocketRef *socket)
 
 DOutputSocket (const DSocket &base_socket)
 
const OutputSocketRefsocket_ref () const
 
const OutputSocketRefoperator-> () const
 
DInputSocket get_corresponding_group_node_input () const
 
DInputSocket get_active_corresponding_group_output_socket () const
 
void foreach_target_socket (FunctionRef< void(DInputSocket)> target_fn, FunctionRef< void(DSocket)> skipped_fn) const
 
- Public Member Functions inherited from blender::nodes::DSocket
 DSocket ()=default
 
 DSocket (const DTreeContext *context, const SocketRef *socket)
 
 DSocket (const DInputSocket &input_socket)
 
 DSocket (const DOutputSocket &output_socket)
 
const DTreeContextcontext () const
 
const SocketRefsocket_ref () const
 
const SocketRefoperator-> () const
 
 operator bool () const
 
uint64_t hash () const
 
DNode node () const
 

Additional Inherited Members

- Protected Attributes inherited from blender::nodes::DSocket
const DTreeContextcontext_ = nullptr
 
const SocketRefsocket_ref_ = nullptr
 

Detailed Description

Definition at line 143 of file NOD_derived_node_tree.hh.

Constructor & Destructor Documentation

◆ DOutputSocket() [1/3]

blender::nodes::DOutputSocket::DOutputSocket ( )
default

◆ DOutputSocket() [2/3]

blender::nodes::DOutputSocket::DOutputSocket ( const DTreeContext context,
const OutputSocketRef socket 
)
inline

Definition at line 367 of file NOD_derived_node_tree.hh.

◆ DOutputSocket() [3/3]

blender::nodes::DOutputSocket::DOutputSocket ( const DSocket base_socket)
inlineexplicit

Definition at line 372 of file NOD_derived_node_tree.hh.

References BLI_assert, and blender::nodes::SocketRef::is_output().

Member Function Documentation

◆ foreach_target_socket()

void blender::nodes::DOutputSocket::foreach_target_socket ( FunctionRef< void(DInputSocket)>  target_fn,
FunctionRef< void(DSocket)>  skipped_fn 
) const

◆ get_active_corresponding_group_output_socket()

DInputSocket blender::nodes::DOutputSocket::get_active_corresponding_group_output_socket ( ) const

◆ get_corresponding_group_node_input()

DInputSocket blender::nodes::DOutputSocket::get_corresponding_group_node_input ( ) const

◆ operator->()

const OutputSocketRef * blender::nodes::DOutputSocket::operator-> ( ) const
inline

Definition at line 382 of file NOD_derived_node_tree.hh.

References blender::nodes::DSocket::socket_ref_.

◆ socket_ref()

const OutputSocketRef * blender::nodes::DOutputSocket::socket_ref ( ) const
inline

Definition at line 377 of file NOD_derived_node_tree.hh.

References blender::nodes::DSocket::socket_ref_.


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