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::WriteMutex Class Reference

Write mutex for the WritePreferringReadWriteLock. More...

#include <write_preferring_read_write_lock.hpp>

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

Public Member Functions

void lock ()
 
void unlock ()
 

Protected Member Functions

 WriteMutex (WritePreferringReadWriteLock &parent_lock)
 

Protected Attributes

WritePreferringReadWriteLockparent_lock_
 
friend WritePreferringReadWriteLock
 

Detailed Description

Write mutex for the WritePreferringReadWriteLock.

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

Constructor & Destructor Documentation

◆ WriteMutex()

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

Member Function Documentation

◆ lock()

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

◆ unlock()

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

Member Data Documentation

◆ parent_lock_

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

◆ WritePreferringReadWriteLock

friend rclcpp::wait_set_policies::detail::WritePreferringReadWriteLock::WriteMutex::WritePreferringReadWriteLock
protected

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