RAII in-use marker for a retained entry; the entry cannot be released while any of its Pins is alive. More...
Declaration
class moveit_pro::behaviors::BoundedRetentionQueue::Pin { ... }
#include <bounded_retention_queue.hpp>
Friends Index
Public Constructors Index
| Pin ()=default |
|
|
|
| Pin (const Pin &)=delete |
|
|
|
| Pin (Pin &&other) noexcept |
|
|
|
Private Constructors Index
| Pin (BoundedRetentionQueue *queue, std::shared_ptr< std::atomic< int > > pins) |
|
|
|
Public Destructor Index
Public Operators Index
Private Member Attributes Index
Description
RAII in-use marker for a retained entry; the entry cannot be released while any of its Pins is alive.
Movable, not copyable. A default-constructed Pin pins nothing. Destroy (or overwrite) the Pin when done using the owner's retained data; Pins must not outlive their queue.
Definition at line 50 of file bounded_retention_queue.hpp.
Friends
BoundedRetentionQueue
Public Constructors
Pin()
| moveit_pro::behaviors::BoundedRetentionQueue::Pin::Pin () |
|
default
|
Pin()
| moveit_pro::behaviors::BoundedRetentionQueue::Pin::Pin (const Pin &) |
|
delete
|
Pin()
| moveit_pro::behaviors::BoundedRetentionQueue::Pin::Pin (Pin && other) |
|
noexcept
|
Private Constructors
Pin()
| moveit_pro::behaviors::BoundedRetentionQueue::Pin::Pin (BoundedRetentionQueue * queue, std::shared_ptr< std::atomic< int > > pins) |
|
Public Destructor
~Pin()
| moveit_pro::behaviors::BoundedRetentionQueue::Pin::~Pin () |
|
Public Operators
operator=()
| Pin & moveit_pro::behaviors::BoundedRetentionQueue::Pin::operator= (const Pin &) |
|
delete
|
operator=()
| BoundedRetentionQueue::Pin & moveit_pro::behaviors::BoundedRetentionQueue::Pin::operator= (Pin && other) |
|
noexcept
|
Private Member Attributes
pins_
| std::shared_ptr<std::atomic<int> > moveit_pro::behaviors::BoundedRetentionQueue::Pin::pins_ |
|
queue_
| BoundedRetentionQueue* moveit_pro::behaviors::BoundedRetentionQueue::Pin::queue_ = nullptr |
|
The documentation for this class was generated from the following files:
Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.