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

#include <serialization/PropertyNode.h>

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

Public Types

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

Public Member Functions

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

Protected Types

typedef ValueType * PointerType
 

Protected Attributes

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

Member Typedef Documentation

◆ PointerType

typedef ValueType* PointerType
protected

◆ Base

using Base = LockedPropertyNodeAccessCommon<NodeType, ValueType*>

◆ NoLock

using NoLock = typename Base::NoLock

Constructor & Destructor Documentation

◆ LockedPropertyNodeAccess() [1/2]

LockedPropertyNodeAccess ( NodeType *  parent,
const PointerType ref 
)
inline

◆ LockedPropertyNodeAccess() [2/2]

LockedPropertyNodeAccess ( NodeType *  parent,
const PointerType 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: