Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::GcodeProcessor) -> &mut meshlib::GcodeProcessor |
| void | reset () |
| void | set_gcode_source (gcodeSource:&meshlib::std_vector_std_string) |
| auto | process_source () -> meshlib::Owned< meshlib::std_vector_MR_GcodeProcessor_MoveAction > |
| auto | process_line (line:&str, externalStorage:&mut meshlib::std_vector_MR_GcodeProcessor_Command) -> meshlib::Owned< meshlib::GcodeProcessor_MoveAction > |
| void | set_cnc_machine_settings (settings:&meshlib::CNCMachineSettings) |
| auto | get_cnc_machine_settings () -> &meshlib::CNCMachineSettings |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::GcodeProcessor > |
| static auto | construct_from_another (_other:&meshlib::GcodeProcessor) -> meshlib::Owned< meshlib::GcodeProcessor > |
| Static Public Member Functions inherited from meshlib::CppClass | |
| static void | destroy (ptr:*mut Self) |
| Static Public Member Functions inherited from meshlib::CppCopy | |
| static auto | copy (ptr:*const Self) -> *mut Self |
class to process g-code source and generate toolpath Generated from class MR::GcodeProcessor.
Generated from class MR::GcodeProcessor. Heap-allocated instances are held in Owned<GcodeProcessor>.
| auto meshlib::GcodeProcessor::assign_from_another | ( | _other:&meshlib::GcodeProcessor | ) | -> &mut meshlib::GcodeProcessor |
Generated from method MR::GcodeProcessor::operator=.
Calls MR_GcodeProcessor_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Generated from constructor MR::GcodeProcessor::GcodeProcessor.
Calls MR_GcodeProcessor_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::GcodeProcessor::get_cnc_machine_settings | ( | ) | -> &meshlib::CNCMachineSettings |
Generated from method MR::GcodeProcessor::getCNCMachineSettings.
Calls MR_GcodeProcessor_getCNCMachineSettings().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_GcodeProcessor_DefaultConstruct().
| auto meshlib::GcodeProcessor::process_line | ( | line:& | str, |
| externalStorage:&mut meshlib::std_vector_MR_GcodeProcessor_Command | ) -> meshlib::Owned< meshlib::GcodeProcessor_MoveAction > |
process all commands from one line g-code source and generate corresponding move action;
| externalStorage | to avoid memory allocation on each line Generated from method MR::GcodeProcessor::processLine. |
Calls MR_GcodeProcessor_processLine().
| auto meshlib::GcodeProcessor::process_source | ( | ) | -> meshlib::Owned< meshlib::std_vector_MR_GcodeProcessor_MoveAction > |
process all lines g-code source and generate corresponding move actions Generated from method MR::GcodeProcessor::processSource.
Calls MR_GcodeProcessor_processSource().
| void meshlib::GcodeProcessor::reset | ( | ) |
reset internal states Generated from method MR::GcodeProcessor::reset.
Calls MR_GcodeProcessor_reset().
| void meshlib::GcodeProcessor::set_cnc_machine_settings | ( | settings:&meshlib::CNCMachineSettings | ) |
settings Generated from method MR::GcodeProcessor::setCNCMachineSettings.
Calls MR_GcodeProcessor_setCNCMachineSettings().
| void meshlib::GcodeProcessor::set_gcode_source | ( | gcodeSource:&meshlib::std_vector_std_string | ) |
set g-code source Generated from method MR::GcodeProcessor::setGcodeSource.
Calls MR_GcodeProcessor_setGcodeSource().