MCPcopy Create free account
hub / github.com/Duet3D/RepRapFirmware / IncreaseDepth

Method IncreaseDepth

src/ObjectModel/ObjectModel.h:230–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228 const GCodeBuffer *_ecv_null GetGCodeBuffer() const noexcept { return gb; }
229 void SetMaxDepth(unsigned int d) noexcept { maxDepth = d; }
230 bool IncreaseDepth() noexcept { if (currentDepth < maxDepth) { ++currentDepth; return true; } return false; }
231 void DecreaseDepth() noexcept { --currentDepth; }
232 void AddIndex(int32_t index) THROWS(GCodeException);
233 void AddIndex() THROWS(GCodeException);

Callers 2

THROWSFunction · 0.80
THROWSFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected