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

Method GetLastIndex

src/ObjectModel/ObjectModel.cpp:589–598  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

587}
588
589int32_t ObjectExplorationContext::GetLastIndex() const noexcept
590{
591 if (numIndicesCounted != 0)
592 {
593 return indices[numIndicesCounted - 1];
594 }
595 // We can't throw from this function because it is called by lambdas in the object model tables and we don't want exception tables for all of those
596 REPORT_INTERNAL_ERROR;
597 return 0;
598}
599
600bool ObjectExplorationContext::ShouldReport(const ObjectModelEntryFlags f) const noexcept
601{

Callers 15

Network.cppFile · 0.80
decreaseFunction · 0.80
ObjectTracker.cppFile · 0.80
GetXCoordinateMethod · 0.80
GetYCoordinateMethod · 0.80
RestorePoint.cppFile · 0.80
KeepoutZone.cppFile · 0.80
THROWSFunction · 0.80
RepRap.cppFile · 0.80
ZProbe.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected