batchlas::select::ScopedPin< Choice > Class Template Reference

Overview

template<class Choice>
class batchlas::select::ScopedPin< Choice >

RAII pin for op: wins over BATCHLAS_<OP>_ROUTE on this thread; nests, restoring the outer pin on exit.

Takes a choice, or any pin word ("auto", "native", "vendor", a spelling).

Definition at line 447 of file select.hh.

#include </home/runner/work/BatchLAS/BatchLAS/src/select/select.hh>

Constructors

◆ ScopedPin() [1/4]

template<class Choice>
batchlas::select::ScopedPin< Choice >::ScopedPin ( std::string_view op,
std::string_view word,
StrictPin  )
inline

Definition at line 449 of file select.hh.

◆ ScopedPin() [2/4]

template<class Choice>
batchlas::select::ScopedPin< Choice >::ScopedPin ( std::string_view op,
const Choice & c )
inline

Definition at line 452 of file select.hh.

◆ ScopedPin() [3/4]

template<class Choice>
batchlas::select::ScopedPin< Choice >::ScopedPin ( std::string_view op,
std::string_view word )
inline

Definition at line 453 of file select.hh.

◆ ~ScopedPin()

template<class Choice>
batchlas::select::ScopedPin< Choice >::~ScopedPin ( )
inline

Definition at line 454 of file select.hh.

◆ ScopedPin() [4/4]

template<class Choice>
batchlas::select::ScopedPin< Choice >::ScopedPin ( const ScopedPin< Choice > & )
delete

Functions

◆ operator=()

template<class Choice>
ScopedPin & batchlas::select::ScopedPin< Choice >::operator= ( const ScopedPin< Choice > & )
delete