OR-Tools  9.6
ScopedSolveInterrupterCallback

Detailed Description

Definition at line 117 of file solve_interrupter.h.

Public Member Functions

 ScopedSolveInterrupterCallback (SolveInterrupter *interrupter, SolveInterrupter::Callback callback)
 
 ScopedSolveInterrupterCallback (const ScopedSolveInterrupterCallback &)=delete
 
ScopedSolveInterrupterCallbackoperator= (const ScopedSolveInterrupterCallback &)=delete
 
 ~ScopedSolveInterrupterCallback ()
 
void RemoveCallbackIfNecessary ()
 
SolveInterrupterinterrupter () const
 

Constructor & Destructor Documentation

◆ ScopedSolveInterrupterCallback() [1/2]

Definition at line 82 of file solve_interrupter.cc.

◆ ScopedSolveInterrupterCallback() [2/2]

◆ ~ScopedSolveInterrupterCallback()

Definition at line 91 of file solve_interrupter.cc.

Member Function Documentation

◆ interrupter()

SolveInterrupter* interrupter ( ) const
inline

Definition at line 138 of file solve_interrupter.h.

◆ operator=()

◆ RemoveCallbackIfNecessary()

void RemoveCallbackIfNecessary ( )

Definition at line 95 of file solve_interrupter.cc.


The documentation for this class was generated from the following files: