geopm 3.2.1.dev535+ga96c120fc
GEOPM - Global Extensible Open Power Manager
Loading...
Searching...
No Matches
geopm::SharedMemoryScopedLock Class Reference

An object used to automatically hold a SharedMemory mutex while in scope, and release it when out of scope. More...

#include <SharedMemoryScopedLock.hpp>

Public Member Functions

 SharedMemoryScopedLock ()=delete
 SharedMemoryScopedLock (pthread_mutex_t *mutex)
 SharedMemoryScopedLock (const SharedMemoryScopedLock &other)=delete
SharedMemoryScopedLock & operator= (const SharedMemoryScopedLock &other)=delete
virtual ~SharedMemoryScopedLock ()

Detailed Description

An object used to automatically hold a SharedMemory mutex while in scope, and release it when out of scope.

Constructor & Destructor Documentation

◆ SharedMemoryScopedLock() [1/3]

geopm::SharedMemoryScopedLock::SharedMemoryScopedLock ( )
delete

◆ SharedMemoryScopedLock() [2/3]

geopm::SharedMemoryScopedLock::SharedMemoryScopedLock ( pthread_mutex_t * mutex)

◆ SharedMemoryScopedLock() [3/3]

geopm::SharedMemoryScopedLock::SharedMemoryScopedLock ( const SharedMemoryScopedLock & other)
delete

◆ ~SharedMemoryScopedLock()

geopm::SharedMemoryScopedLock::~SharedMemoryScopedLock ( )
virtual

Member Function Documentation

◆ operator=()

SharedMemoryScopedLock & geopm::SharedMemoryScopedLock::operator= ( const SharedMemoryScopedLock & other)
delete

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