Skip to main content

Lease Class

Held by a run's producer; frees the handle when destroyed. A default-constructed lease guards nothing. More...

Declaration​

class moveit_pro::behaviors::internal::PolicyRunGuard::Lease { ... }

Included Headers​

#include <policy.hpp>

Friends Index​

classPolicyRunGuard

Public Constructors Index​

Lease ()=default
Lease (Lease &&other) noexcept
Lease (const Lease &)=delete

Private Constructors Index​

Lease (std::shared_ptr< std::atomic_bool > busy)

Public Destructor Index​

~Lease ()

Public Operators Index​

Lease &operator= (Lease &&)=delete
Lease &operator= (const Lease &)=delete

Private Member Attributes Index​

std::shared_ptr< std::atomic_bool >busy_

Description​

Held by a run's producer; frees the handle when destroyed. A default-constructed lease guards nothing.

Definition at line 64 of file policy.hpp.

Friends​

PolicyRunGuard​

friend class PolicyRunGuard

Definition at line 75 of file policy.hpp.

Public Constructors​

Lease()​

moveit_pro::behaviors::internal::PolicyRunGuard::Lease::Lease ()
default

Definition at line 67 of file policy.hpp.

Lease()​

moveit_pro::behaviors::internal::PolicyRunGuard::Lease::Lease (Lease && other)
noexcept

Declaration at line 69 of file policy.hpp, definition at line 52 of file policy.cpp.

Lease()​

moveit_pro::behaviors::internal::PolicyRunGuard::Lease::Lease (const Lease &)
delete

Definition at line 71 of file policy.hpp.

Private Constructors​

Lease()​

moveit_pro::behaviors::internal::PolicyRunGuard::Lease::Lease (std::shared_ptr< std::atomic_bool > busy)
explicit

Declaration at line 76 of file policy.hpp, definition at line 48 of file policy.cpp.

Public Destructor​

~Lease()​

moveit_pro::behaviors::internal::PolicyRunGuard::Lease::~Lease ()

Declaration at line 68 of file policy.hpp, definition at line 56 of file policy.cpp.

Public Operators​

operator=()​

Lease & moveit_pro::behaviors::internal::PolicyRunGuard::Lease::operator= (Lease &&)
delete

Definition at line 70 of file policy.hpp.

operator=()​

Lease & moveit_pro::behaviors::internal::PolicyRunGuard::Lease::operator= (const Lease &)
delete

Definition at line 72 of file policy.hpp.

Private Member Attributes​

busy_​

std::shared_ptr<std::atomic_bool> moveit_pro::behaviors::internal::PolicyRunGuard::Lease::busy_

Definition at line 77 of file policy.hpp.


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


Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.