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

Method GetLockedCurrent

src/Platform/MessageBox.cpp:182–190  ·  view source on GitHub ↗

static*/

Source from the content-addressed store, hash-verified

180}
181
182/*static*/ ReadLockedPointer<const MessageBox> MessageBox::GetLockedCurrent() noexcept
183{
184 ReadLockedPointer<const MessageBox> p(mboxLock, mboxList);
185 if (p.IsNull())
186 {
187 p.Release();
188 }
189 return p;
190}
191
192// MessageBoxLimits members
193void MessageBoxLimits::GetIntegerLimits(GCodeBuffer& gb, bool defaultIsString) THROWS(GCodeException)

Callers

nothing calls this directly

Calls 2

IsNullMethod · 0.45
ReleaseMethod · 0.45

Tested by

no test coverage detected