MIRA
Public Types | Public Member Functions | Protected Attributes | List of all members
LockedPropertyNodeAccess< NodeType, ValueType, ValueTypePointer, UseBackup > Class Template Reference

#include <serialization/PropertyNode.h>

Inheritance diagram for LockedPropertyNodeAccess< NodeType, ValueType, ValueTypePointer, UseBackup >:
Inheritance graph
[legend]

Public Types

using Base = LockedPropertyNodeAccessCommon< NodeType, ValueType >
 
using NoLock = typename Base::NoLock
 

Public Member Functions

 LockedPropertyNodeAccess (NodeType *parent, const ValueType &ref)
 
 LockedPropertyNodeAccess (NodeType *parent, const ValueType &ref, NoLock)
 
const ValueType & operator* () const
 
ValueType & operator* ()
 

Protected Attributes

NodeType * p
 
const ValueType & r
 
bool needLock
 
boost::interprocess::scoped_lock< RootPropertyNode::MutexTypelock
 

Member Typedef Documentation

◆ Base

using Base = LockedPropertyNodeAccessCommon<NodeType, ValueType>

◆ NoLock

using NoLock = typename Base::NoLock

Constructor & Destructor Documentation

◆ LockedPropertyNodeAccess() [1/2]

LockedPropertyNodeAccess ( NodeType *  parent,
const ValueType &  ref 
)
inline

◆ LockedPropertyNodeAccess() [2/2]

LockedPropertyNodeAccess ( NodeType *  parent,
const ValueType &  ref,
NoLock   
)
inline

Member Function Documentation

◆ operator*() [1/2]

const ValueType& operator* ( ) const
inline

◆ operator*() [2/2]

ValueType& operator* ( )
inline

Member Data Documentation

◆ p

NodeType* p
protectedinherited

◆ r

const ValueType& r
protectedinherited

◆ needLock

bool needLock
protectedinherited

◆ lock

boost::interprocess::scoped_lock<RootPropertyNode::MutexType> lock
protectedinherited

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