#include "stan/callbacks/interrupt.hpp"
Public Member Functions | |
virtual void | operator() () |
virtual | ~interrupt () |
interrupt
is a base class defining the interface for Stan interrupt callbacks.
The interrupt is called from within Stan algorithms to allow for the interfaces to handle interrupt signals (ctrl-c).
Definition at line 14 of file interrupt.hpp.
|
inlinevirtual |
Callback function.
This function is called by the algorithms allowing the interfaces to break when necessary.
Reimplemented in ana::StanFitter::samplecounter_callback, stan::test::unit::instrumented_interrupt, mock_callback, mock_callback, and mock_callback.
Definition at line 22 of file interrupt.hpp.