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

Detailed Description

Definition at line 49 of file concurrent_calls_guard.h.

#include <concurrent_calls_guard.h>

Classes

class  Tracker

Public Member Functions

 ConcurrentCallsGuard (const ConcurrentCallsGuard &)=delete
ConcurrentCallsGuardoperator= (const ConcurrentCallsGuard &)=delete
ConcurrentCallsGuardoperator= (ConcurrentCallsGuard &&)=delete
 ConcurrentCallsGuard (ConcurrentCallsGuard &&other) noexcept
 ~ConcurrentCallsGuard ()

Static Public Member Functions

static absl::StatusOr< ConcurrentCallsGuardTryAcquire (Tracker &tracker)

Constructor & Destructor Documentation

◆ ConcurrentCallsGuard() [1/2]

operations_research::math_opt::ConcurrentCallsGuard::ConcurrentCallsGuard ( const ConcurrentCallsGuard & )
delete

◆ ConcurrentCallsGuard() [2/2]

operations_research::math_opt::ConcurrentCallsGuard::ConcurrentCallsGuard ( ConcurrentCallsGuard && other)
inlinenoexcept

Definition at line 74 of file concurrent_calls_guard.h.

◆ ~ConcurrentCallsGuard()

operations_research::math_opt::ConcurrentCallsGuard::~ConcurrentCallsGuard ( )

Definition at line 36 of file concurrent_calls_guard.cc.

Member Function Documentation

◆ operator=() [1/2]

ConcurrentCallsGuard & operations_research::math_opt::ConcurrentCallsGuard::operator= ( ConcurrentCallsGuard && )
delete

◆ operator=() [2/2]

ConcurrentCallsGuard & operations_research::math_opt::ConcurrentCallsGuard::operator= ( const ConcurrentCallsGuard & )
delete

◆ TryAcquire()

absl::StatusOr< ConcurrentCallsGuard > operations_research::math_opt::ConcurrentCallsGuard::TryAcquire ( Tracker & tracker)
static

Definition at line 24 of file concurrent_calls_guard.cc.


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