MIRA
Public Member Functions | Protected Attributes | List of all members
ScopedAccessBase< Protectee > Class Template Reference

base class for ScopedAccess with external or Protectee-internal mutex More...

#include <thread/ScopedAccess.h>

Inheritance diagram for ScopedAccessBase< Protectee >:
Inheritance graph
[legend]

Public Member Functions

 ScopedAccessBase (Protectee *p)
 
 ScopedAccessBase (ScopedAccessBase &&other) noexcept
 
ScopedAccessBaseoperator= (ScopedAccessBase &&other) noexcept
 
Protectee * operator-> ()
 
const Protectee * operator-> () const
 
Protectee & operator* ()
 
const Protectee & operator* () const
 

Protected Attributes

Protectee * mObject
 

Detailed Description

template<typename Protectee>
class mira::ScopedAccessBase< Protectee >

base class for ScopedAccess with external or Protectee-internal mutex

Constructor & Destructor Documentation

◆ ScopedAccessBase() [1/2]

ScopedAccessBase ( Protectee *  p)
inline

◆ ScopedAccessBase() [2/2]

ScopedAccessBase ( ScopedAccessBase< Protectee > &&  other)
inlinenoexcept

Member Function Documentation

◆ operator=()

ScopedAccessBase& operator= ( ScopedAccessBase< Protectee > &&  other)
inlinenoexcept

◆ operator->() [1/2]

Protectee* operator-> ( )
inline

◆ operator->() [2/2]

const Protectee* operator-> ( ) const
inline

◆ operator*() [1/2]

Protectee& operator* ( )
inline

◆ operator*() [2/2]

const Protectee& operator* ( ) const
inline

Member Data Documentation

◆ mObject

Protectee* mObject
protected

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