Struct machinery_api::plugins::graph_interpreter::GraphInterpreterDebuggerApi [−][src]
#[repr(C)]pub struct GraphInterpreterDebuggerApi {}Show 30 fields
pub enable_debugger: Option<unsafe extern "C" fn()>, pub enable_breakpoints: Option<unsafe extern "C" fn()>, pub disable_debugger: Option<unsafe extern "C" fn()>, pub disable_breakpoints: Option<unsafe extern "C" fn()>, pub is_debugger_enabled: Option<unsafe extern "C" fn() -> bool>, pub are_breakpoints_enabled: Option<unsafe extern "C" fn() -> bool>, pub is_connected: Option<unsafe extern "C" fn() -> bool>, pub is_graph_instances_known: Option<unsafe extern "C" fn(instance_id: u64) -> bool>, pub known_graphs: Option<unsafe extern "C" fn(ta: *mut TempAllocatorI) -> *const GraphInterpreterDebuggerKnownGraphT>, pub instances: Option<unsafe extern "C" fn(graph_id: TtIdT, ta: *mut TempAllocatorI) -> *const GraphInterpreterDebuggerKnownGraphT>, pub state_pointers: Option<unsafe extern "C" fn() -> GraphInterpreterDebuggerStatePointersT>, pub add_graph_information: Option<unsafe extern "C" fn(instance_id: u64, graph: TtIdT, prototype: TtIdT, graph_version: u32, nodes: *const GraphInterpreterNodeT, subgraphs: *mut TtIdT, graph_prototypes: *mut TtIdT, wires_mapping: *mut GraphInterpreterDebuggerWireToIdxT, rewired_connection: *const GraphImportedRewiredConnectionT, rewired_nodes: *const GraphImportedRewiredNodeT, num_nodes: u32, num_graph_prototypes: u32, num_rewired_connection: u32, num_rewired_nodes: u32, num_wires_mapping: u32, num_wires: u32)>, pub node_activity: Option<unsafe extern "C" fn(instance_id: u64, node_unique_id: u64) -> ClockO>, pub set_node_active: Option<unsafe extern "C" fn(instance_id: u64, node_unique_id: u64)>, pub write_wire: Option<unsafe extern "C" fn(instance_id: u64, wire_index: u32, n: u32, data: *const c_void, size: u32)>, pub read_wire: Option<unsafe extern "C" fn(instance_id: u64, wire_id: TtIdT) -> GraphInterpreterDebuggerWireT>, pub add_breakpoint: Option<unsafe extern "C" fn(graph: TtIdT, node_unique_id: u64)>, pub remove_breakpoint: Option<unsafe extern "C" fn(graph: TtIdT, node_unique_id: u64)>, pub has_breakpoint: Option<unsafe extern "C" fn(graph: TtIdT, node_unique_id: u64) -> bool>, pub break_here: Option<unsafe extern "C" fn(graph: TtIdT, node_unique_id: u64)>, pub breakpoint: Option<unsafe extern "C" fn() -> GraphInterpreterDebuggerBreakpointT>, pub at_breakpoint: Option<unsafe extern "C" fn() -> bool>, pub continue_execution: Option<unsafe extern "C" fn()>, pub breakpoints: Option<unsafe extern "C" fn(graph: TtIdT, ta: *mut TempAllocatorI) -> *const GraphInterpreterDebuggerBreakpointT>, pub add_node_to_broken_queue: Option<unsafe extern "C" fn(gr: *mut GraphInterpreterO, graph: TtIdT, unique_id: u64, idx: u32)>, pub broken_node_queue: Option<unsafe extern "C" fn(ta: *mut TempAllocatorI) -> *const GraphInterpreterDebuggerBrokenNodeQueueItemT>, pub broken_node_queue_size: Option<unsafe extern "C" fn() -> u64>, pub reset_broken_node_queue: Option<unsafe extern "C" fn()>, pub step: Option<unsafe extern "C" fn()>, pub internal__remove_instance: Option<unsafe extern "C" fn(instance_id: u64)>,
Fields
enable_debugger: Option<unsafe extern "C" fn()>enable_breakpoints: Option<unsafe extern "C" fn()>disable_debugger: Option<unsafe extern "C" fn()>disable_breakpoints: Option<unsafe extern "C" fn()>is_debugger_enabled: Option<unsafe extern "C" fn() -> bool>are_breakpoints_enabled: Option<unsafe extern "C" fn() -> bool>is_connected: Option<unsafe extern "C" fn() -> bool>is_graph_instances_known: Option<unsafe extern "C" fn(instance_id: u64) -> bool>known_graphs: Option<unsafe extern "C" fn(ta: *mut TempAllocatorI) -> *const GraphInterpreterDebuggerKnownGraphT>instances: Option<unsafe extern "C" fn(graph_id: TtIdT, ta: *mut TempAllocatorI) -> *const GraphInterpreterDebuggerKnownGraphT>state_pointers: Option<unsafe extern "C" fn() -> GraphInterpreterDebuggerStatePointersT>add_graph_information: Option<unsafe extern "C" fn(instance_id: u64, graph: TtIdT, prototype: TtIdT, graph_version: u32, nodes: *const GraphInterpreterNodeT, subgraphs: *mut TtIdT, graph_prototypes: *mut TtIdT, wires_mapping: *mut GraphInterpreterDebuggerWireToIdxT, rewired_connection: *const GraphImportedRewiredConnectionT, rewired_nodes: *const GraphImportedRewiredNodeT, num_nodes: u32, num_graph_prototypes: u32, num_rewired_connection: u32, num_rewired_nodes: u32, num_wires_mapping: u32, num_wires: u32)>node_activity: Option<unsafe extern "C" fn(instance_id: u64, node_unique_id: u64) -> ClockO>set_node_active: Option<unsafe extern "C" fn(instance_id: u64, node_unique_id: u64)>write_wire: Option<unsafe extern "C" fn(instance_id: u64, wire_index: u32, n: u32, data: *const c_void, size: u32)>read_wire: Option<unsafe extern "C" fn(instance_id: u64, wire_id: TtIdT) -> GraphInterpreterDebuggerWireT>add_breakpoint: Option<unsafe extern "C" fn(graph: TtIdT, node_unique_id: u64)>remove_breakpoint: Option<unsafe extern "C" fn(graph: TtIdT, node_unique_id: u64)>has_breakpoint: Option<unsafe extern "C" fn(graph: TtIdT, node_unique_id: u64) -> bool>break_here: Option<unsafe extern "C" fn(graph: TtIdT, node_unique_id: u64)>breakpoint: Option<unsafe extern "C" fn() -> GraphInterpreterDebuggerBreakpointT>at_breakpoint: Option<unsafe extern "C" fn() -> bool>continue_execution: Option<unsafe extern "C" fn()>breakpoints: Option<unsafe extern "C" fn(graph: TtIdT, ta: *mut TempAllocatorI) -> *const GraphInterpreterDebuggerBreakpointT>add_node_to_broken_queue: Option<unsafe extern "C" fn(gr: *mut GraphInterpreterO, graph: TtIdT, unique_id: u64, idx: u32)>broken_node_queue: Option<unsafe extern "C" fn(ta: *mut TempAllocatorI) -> *const GraphInterpreterDebuggerBrokenNodeQueueItemT>broken_node_queue_size: Option<unsafe extern "C" fn() -> u64>reset_broken_node_queue: Option<unsafe extern "C" fn()>step: Option<unsafe extern "C" fn()>internal__remove_instance: Option<unsafe extern "C" fn(instance_id: u64)>Implementations
pub unsafe fn known_graphs(
&self,
ta: *mut TempAllocatorI
) -> *const GraphInterpreterDebuggerKnownGraphT
pub unsafe fn instances(
&self,
graph_id: TtIdT,
ta: *mut TempAllocatorI
) -> *const GraphInterpreterDebuggerKnownGraphT
pub unsafe fn add_graph_information(
&self,
instance_id: u64,
graph: TtIdT,
prototype: TtIdT,
graph_version: u32,
nodes: *const GraphInterpreterNodeT,
subgraphs: *mut TtIdT,
graph_prototypes: *mut TtIdT,
wires_mapping: *mut GraphInterpreterDebuggerWireToIdxT,
rewired_connection: *const GraphImportedRewiredConnectionT,
rewired_nodes: *const GraphImportedRewiredNodeT,
num_nodes: u32,
num_graph_prototypes: u32,
num_rewired_connection: u32,
num_rewired_nodes: u32,
num_wires_mapping: u32,
num_wires: u32
)
pub unsafe fn write_wire(
&self,
instance_id: u64,
wire_index: u32,
n: u32,
data: *const c_void,
size: u32
)
pub unsafe fn read_wire(
&self,
instance_id: u64,
wire_id: TtIdT
) -> GraphInterpreterDebuggerWireT
pub unsafe fn breakpoints(
&self,
graph: TtIdT,
ta: *mut TempAllocatorI
) -> *const GraphInterpreterDebuggerBreakpointT
pub unsafe fn add_node_to_broken_queue(
&self,
gr: *mut GraphInterpreterO,
graph: TtIdT,
unique_id: u64,
idx: u32
)
pub unsafe fn broken_node_queue(
&self,
ta: *mut TempAllocatorI
) -> *const GraphInterpreterDebuggerBrokenNodeQueueItemT
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for GraphInterpreterDebuggerApi
impl Send for GraphInterpreterDebuggerApi
impl Sync for GraphInterpreterDebuggerApi
impl Unpin for GraphInterpreterDebuggerApi
impl UnwindSafe for GraphInterpreterDebuggerApi
Blanket Implementations
Mutably borrows from an owned value. Read more