Return true if the GCode in the GCodeBuffer should be queued Caller has already checked that the command does not contain an expression and involves modifying tool temperatures or spindle speed static*/
| 25 | // Return true if the GCode in the GCodeBuffer should be queued |
| 26 | // Caller has already checked that the command does not contain an expression and involves modifying tool temperatures or spindle speed |
| 27 | /*static*/ bool GCodeQueue::ShouldQueueG10(GCodeBuffer &gb, ParameterLettersBitmap allAxisLetters) noexcept |
| 28 | { |
| 29 | return reprap.GetMove().GetScheduledMoves() != reprap.GetMove().GetCompletedMoves() |
| 30 | && !gb.AllParameters().Intersects(allAxisLetters) // only queue it if it does not modify tool offsets |
| 31 | && gb.DataLength() <= BufferSizePerQueueItem; // only queue it if it is short enough to fit in a queue item |
| 32 | } |
| 33 | |
| 34 | // Return true if the MCode in the GCodeBuffer should be queued. Caller has already checked that the command does not contain an expression. |
| 35 | /*static*/ bool GCodeQueue::ShouldQueueMCode(GCodeBuffer &gb) THROWS(GCodeException) |
nothing calls this directly
no test coverage detected