ifw-daq  3.0.0-pre2
IFW Data Acquisition modules
Public Member Functions | List of all members
daq::dpm::ResourceToken Class Reference

RAII token. More...

#include <scheduler.hpp>

Public Member Functions

 ResourceToken (Resource *) noexcept
 
 ResourceToken (ResourceToken &&) noexcept=default
 
ResourceTokenoperator= (ResourceToken &&) noexcept=default
 
 ~ResourceToken () noexcept
 

Detailed Description

RAII token.

Definition at line 171 of file scheduler.hpp.

Constructor & Destructor Documentation

◆ ResourceToken() [1/2]

daq::dpm::ResourceToken::ResourceToken ( Resource resource)
noexcept

Definition at line 43 of file scheduler.cpp.

◆ ResourceToken() [2/2]

daq::dpm::ResourceToken::ResourceToken ( ResourceToken &&  )
defaultnoexcept

◆ ~ResourceToken()

daq::dpm::ResourceToken::~ResourceToken ( )
noexcept

Definition at line 46 of file scheduler.cpp.

Member Function Documentation

◆ operator=()

ResourceToken& daq::dpm::ResourceToken::operator= ( ResourceToken &&  )
defaultnoexcept

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