Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::ScopedSolveInterrupterCallback Class Reference

Detailed Description

Definition at line 127 of file solve_interrupter.h.

#include <solve_interrupter.h>

Public Member Functions

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

Constructor & Destructor Documentation

◆ ScopedSolveInterrupterCallback() [1/2]

operations_research::ScopedSolveInterrupterCallback::ScopedSolveInterrupterCallback ( const SolveInterrupter *absl_nullable interrupter,
absl_nonnull SolveInterrupter::Callback callback )

Definition at line 87 of file solve_interrupter.cc.

◆ ScopedSolveInterrupterCallback() [2/2]

operations_research::ScopedSolveInterrupterCallback::ScopedSolveInterrupterCallback ( const ScopedSolveInterrupterCallback & )
delete

◆ ~ScopedSolveInterrupterCallback()

operations_research::ScopedSolveInterrupterCallback::~ScopedSolveInterrupterCallback ( )

Definition at line 97 of file solve_interrupter.cc.

Member Function Documentation

◆ interrupter()

const SolveInterrupter *absl_nullable operations_research::ScopedSolveInterrupterCallback::interrupter ( ) const
inline

Definition at line 149 of file solve_interrupter.h.

◆ operator=()

ScopedSolveInterrupterCallback & operations_research::ScopedSolveInterrupterCallback::operator= ( const ScopedSolveInterrupterCallback & )
delete

◆ RemoveCallbackIfNecessary()

void operations_research::ScopedSolveInterrupterCallback::RemoveCallbackIfNecessary ( )

Definition at line 101 of file solve_interrupter.cc.


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