rclcpp  master
C++ ROS Client Library API
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
rclcpp::wait_set_policies::detail::WritePreferringReadWriteLock::ReadMutex Class Reference

Read mutex for the WritePreferringReadWriteLock. More...

#include <write_preferring_read_write_lock.hpp>

Collaboration diagram for rclcpp::wait_set_policies::detail::WritePreferringReadWriteLock::ReadMutex:
Collaboration graph
[legend]

Public Member Functions

void lock ()
 
void unlock ()
 

Protected Member Functions

 ReadMutex (WritePreferringReadWriteLock &parent_lock)
 

Protected Attributes

WritePreferringReadWriteLockparent_lock_
 
friend WritePreferringReadWriteLock
 

Detailed Description

Read mutex for the WritePreferringReadWriteLock.

Implements the "C++ named requirements: BasicLockable".

Constructor & Destructor Documentation

◆ ReadMutex()

rclcpp::wait_set_policies::detail::WritePreferringReadWriteLock::ReadMutex::ReadMutex ( WritePreferringReadWriteLock parent_lock)
explicitprotected

Member Function Documentation

◆ lock()

void rclcpp::wait_set_policies::detail::WritePreferringReadWriteLock::ReadMutex::lock ( )

◆ unlock()

void rclcpp::wait_set_policies::detail::WritePreferringReadWriteLock::ReadMutex::unlock ( )

Member Data Documentation

◆ parent_lock_

WritePreferringReadWriteLock& rclcpp::wait_set_policies::detail::WritePreferringReadWriteLock::ReadMutex::parent_lock_
protected

◆ WritePreferringReadWriteLock

friend rclcpp::wait_set_policies::detail::WritePreferringReadWriteLock::ReadMutex::WritePreferringReadWriteLock
protected

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