#include <corenodes.h>
CoreNodeInterface represents a micro node group or core node group in a finalized state. You have to set those groups into finalized state by calling MicroNodeGroupRef::Finalize() or CoreNodeGroupRef::Finalize() after you have finished the setup of those groups. These methods return the group as a CoreNode. A CoreNode can't be modified, therefore it uses a const reference class.
Public Types | |
enum class | GML_OPTIONS { NONE , DEEP , PORTS , NANO_EMBEDDED , NANO , BLOCK , HIDDEN_PORTS , VERBOSE } |
Public Types inherited from CoreNodeBaseInterface | |
using | ErrorList = Array< Tuple< PortId, Error > > |
Private Member Functions | |
MAXON_INTERFACE_NONVIRTUAL_DERIVED (CoreNodeInterface, MAXON_REFERENCE_CONST, "net.maxon.corenode.interface.corenode") | |
|
strong |
This enum contains options for the GML output written by WriteGml.
|
private |
MAXON_METHOD Bool IsInvocable | ( | ) | const |
MAXON_METHOD Result<void> Invoke | ( | const Block< const Tuple< TrivialDataPtr, CORENODE_PORT_FLAGS >> & | args | ) | const |
Invokes the core node directly (as opposed to the invocation from within a compiled core node graph). This is only supported for a limited set of core nodes, see IsInvocable(). The main purpose is to assist the nodes compiler in constant propagation at compile-time.
[in] | args | The arguments: At first the values for input ports, afterwards storage locations where output ports write their results. |
MAXON_METHOD Result<void> ConvertAndInvoke | ( | const Block< const Tuple< TrivialDataPtr, CORENODE_PORT_FLAGS >> & | args | ) | const |
Invokes the core node directly (see Invoke). Prior to invoke all args elements which to not exactly match the expected DataType will be converted. Use Invoke to use the given args as is. This is only supported for a limited set of core nodes, see IsInvocable(). The main purpose is to assist the nodes compiler in constant propagation at compile-time.
[in,out] | args | The arguments: At first the values for input ports, afterwards storage locations where output ports write their results. Any input conversion result will be overwritten in args. |
enum maxon::corenodes::CoreNodeInterface::GML_OPTIONS MAXON_ENUM_FLAGS_CLASS | ( | GML_OPTIONS | ) |
MAXON_METHOD Result<void> WriteGml | ( | UrlOrOutputStream && | output, |
GML_OPTIONS | options | ||
) | const |
Writes this core node to a GML file (graph modeling language). This can be used to visualize the core node with a graph viewer application such as yEd.
[in] | output | The location to write to. |
[in] | options | Options for the GML output. |