Skip to content
1 viewer

rust 1,854,395 · typescript 233,161 · javascript 131,995 · python 19,227 · 6,379 files · digest 17dcda71e44b · built in 1.5 s · crystals off

crates/cre8-app-device/src/gcode_stream.rs

cre8-app-device · module gcode_stream · src · 1,683 lines (1,350 code, 206 comment) · sha 4ec868ee7094cd2e

Items

const MAX_GCODE_BYTES const MAX_ACTIVE_STREAMS const MAX_RETAINED_STREAMS const SERIAL_READ_TIMEOUT_MS const DEFAULT_ACK_TIMEOUT_MS const DEFAULT_FAKE_ACK_MS const MAX_BANNER_LINES const DEFAULT_SIM_TELEMETRY_EVERY const MAX_LOG_PAGE const DEFAULT_GRBL_STATUS_POLL_MS const MIN_STATUS_POLL_MS const MAX_STATUS_POLL_MS const DEFAULT_SIM_MOTION_SCALE enum GcodeDialect enum AckClass impl GcodeDialect struct OperatorPause impl OperatorPause struct AlarmRecord impl AlarmRecord struct MachineErrorRecord impl MachineErrorRecord struct CheckErrorRecord struct CheckPassRecord impl CheckPassRecord struct StopRecord impl StopRecord struct ControlLogEntry impl ControlLogEntry struct GcodeStreamSnapshot struct SnapshotSeed impl GcodeStreamSnapshot enum ControlAction impl ControlAction struct ControlRequest struct StreamShared impl StreamShared static REGISTRY static SEQ struct MarlinOptions enum Exchange enum ReportOutcome struct MarlinLink impl MarlinLink const PRINT

Functions

By call-graph weight (PageRank; 1.0 is the average function). 74 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
registrysrc/gcode_stream.rs:672fn41905.2
start_streamsrc/gcode_stream.rs:836fn1111414.4
start_stream_nativesrc/gcode_stream.rs:849fn112111244.2
str_fieldsrc/gcode_stream.rs:694fn31702.7
drain_complete_linessrc/gcode_stream.rs:1352fn113302
u64_fieldsrc/gcode_stream.rs:698fn81401.9
endpoint_keysrc/gcode_stream.rs:684fn31401.7
control_streamsrc/gcode_stream.rs:1040fn436361.7
stream_statussrc/gcode_stream.rs:966fn276751.6
GcodeDialect::classifysrc/gcode_stream.rs:189method3513301.5
GcodeDialect::parsesrc/gcode_stream.rs:150method74311.5
wait_terminalsrc/gcode_stream.rs:1368fn112911.5
started_stream_idsrc/gcode_stream.rs:1380fn41901.5
strip_gcode_commentssrc/gcode_stream.rs:229fn149501.3
cancel_streamsrc/gcode_stream.rs:994fn141521.3
f64_fieldsrc/gcode_stream.rs:708fn41201.2
GcodeStreamSnapshot::is_terminalsrc/gcode_stream.rs:545method31101.2
request_is_simulatedsrc/gcode_stream.rs:1024fn82331.1
status_poll_inputsrc/gcode_stream.rs:725fn93211.1
pause_on_inputsrc/gcode_stream.rs:739fn4411221.1
simulator_endpoint_requestedsrc/gcode_stream.rs:688fn32301
list_streamssrc/gcode_stream.rs:1009fn91211
StreamShared::take_controlssrc/gcode_stream.rs:650method31200.9
jogsrc/gcode_stream.rs:1085fn41100.9
set_zerosrc/gcode_stream.rs:1091fn41100.9
machine_statussrc/gcode_stream.rs:1097fn41100.9
GcodeStreamSnapshot::seededsrc/gcode_stream.rs:460method391200.9
StreamShared::push_controlsrc/gcode_stream.rs:646method31200.9
StreamShared::observe_positionsrc/gcode_stream.rs:656method103100.8
StreamShared::updatesrc/gcode_stream.rs:640method51110.8
StreamShared::record_commandsrc/gcode_stream.rs:609method121320.8
StreamShared::log_pagesrc/gcode_stream.rs:623method121100.8
StreamShared::trace_jsonsrc/gcode_stream.rs:667method31100.8
GcodeDialect::default_baudsrc/gcode_stream.rs:165method51200.7
endpoint_inputsrc/gcode_stream.rs:713fn91210.7
sim_motion_scale_inputsrc/gcode_stream.rs:784fn52210.7
ControlAction::parse_verbsrc/gcode_stream.rs:562method95100.7
ControlAction::verbsrc/gcode_stream.rs:572method105100.7
StreamShared::newsrc/gcode_stream.rs:598method91220.7
MarlinLink::exchangesrc/gcode_stream.rs:1270method5611130.7
next_stream_idsrc/gcode_stream.rs:677fn51100.6
line_hits_wiresrc/gcode_stream.rs:791fn42120.6
source_linessrc/gcode_stream.rs:798fn277100.6
run_stream_workersrc/gcode_stream.rs:1105fn11625170.6
GcodeDialect::wake_bytessrc/gcode_stream.rs:174method62200.6
GcodeDialect::handshake_drainsrc/gcode_stream.rs:182method62200.6
MarlinLink::reportsrc/gcode_stream.rs:1330method175130.6
MachineErrorRecord::to_jsonsrc/gcode_stream.rs:296method31100.6
GcodeDialect::namesrc/gcode_stream.rs:158method62000.5
OperatorPause::to_jsonsrc/gcode_stream.rs:261method91000.5
AlarmRecord::to_jsonsrc/gcode_stream.rs:281method31000.5
CheckPassRecord::to_jsonsrc/gcode_stream.rs:323method81000.5
StopRecord::to_jsonsrc/gcode_stream.rs:351method121000.5
ControlLogEntry::to_jsonsrc/gcode_stream.rs:376method81000.5
GcodeStreamSnapshot::to_jsonsrc/gcode_stream.rs:500method442000.5
StreamShared::snapshotsrc/gcode_stream.rs:636method31000.5
marlin_classify_tablesrc/gcode_stream.rs:1386fn101010.5
grbl_classify_tablesrc/gcode_stream.rs:1398fn91010.5
comment_stripping_matches_vm_rulesrc/gcode_stream.rs:1409fn61010.5
dialect_parsingsrc/gcode_stream.rs:1417fn61010.5
grbl_family_aliases_parse_as_grblsrc/gcode_stream.rs:1425fn61010.5
pause_on_defaults_and_the_m6_guardsrc/gcode_stream.rs:1433fn231010.5
status_poll_defaults_by_dialectsrc/gcode_stream.rs:1458fn61010.5
simulated_marlin_stream_completes_with_line_accountingsrc/gcode_stream.rs:1466fn231040.5
the_virtual_printer_prints_and_the_command_log_recomputessrc/gcode_stream.rs:1494fn401070.5
the_virtual_printer_halts_the_stream_when_the_spool_runs_outsrc/gcode_stream.rs:1536fn172040.5
a_plain_simulated_stream_logs_commands_and_sends_no_reportssrc/gcode_stream.rs:1555fn121030.5
simulated_grbl_stream_wakes_and_bannerssrc/gcode_stream.rs:1569fn302060.5
machine_error_fails_the_stream_with_line_contextsrc/gcode_stream.rs:1601fn131030.5
cancel_stops_a_slow_streamsrc/gcode_stream.rs:1616fn151040.5
start_rejects_bad_inputssrc/gcode_stream.rs:1633fn91010.5
simulate_flag_defaults_the_endpointsrc/gcode_stream.rs:1644fn121030.5
status_and_cancel_miss_are_soft_errorssrc/gcode_stream.rs:1658fn101040.5
simulated_requests_are_recognised_for_the_hardware_gatesrc/gcode_stream.rs:1670fn131040.5

Source not readable from this process.