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

Method TimeOut

src/Platform/MessageBox.cpp:172–180  ·  view source on GitHub ↗

Time out and delete this message box

Source from the content-addressed store, hash-verified

170
171// Time out and delete this message box
172void MessageBox::TimeOut() noexcept
173{
174 if (IsBlocking())
175 {
176 reprap.GetGCodes().MessageBoxClosed(CanCancel(), ShouldAbort(), false, seq, GetDefaultValue());
177 }
178 --numMessages;
179 delete this;
180}
181
182/*static*/ ReadLockedPointer<const MessageBox> MessageBox::GetLockedCurrent() noexcept
183{

Callers 2

CreateMethod · 0.80
CheckTimeoutMethod · 0.80

Calls 5

IsBlockingFunction · 0.85
CanCancelFunction · 0.85
ShouldAbortFunction · 0.85
GetDefaultValueFunction · 0.85
MessageBoxClosedMethod · 0.80

Tested by

no test coverage detected