geopm  3.1.1.dev296+g5916b956
GEOPM - Global Extensible Open Power Manager
Public Member Functions | List of all members
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
 
SharedMemoryScopedLockoperator= (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: