fpmas 1.6
Public Member Functions | List of all members
fpmas::synchro::SharedLockGuard< T > Class Template Reference

#include <guards.h>

Inheritance diagram for fpmas::synchro::SharedLockGuard< T >:
Inheritance graph
[legend]
Collaboration diagram for fpmas::synchro::SharedLockGuard< T >:
Collaboration graph
[legend]

Public Member Functions

 SharedLockGuard (const api::graph::DistributedNode< T > *node)
 
virtual ~SharedLockGuard ()
 

Detailed Description

template<typename T>
class fpmas::synchro::SharedLockGuard< T >

SharedLockGuard.

Constructor & Destructor Documentation

◆ SharedLockGuard()

template<typename T >
fpmas::synchro::SharedLockGuard< T >::SharedLockGuard ( const api::graph::DistributedNode< T > *  node)
inline

SharedLockGuard constructor.

The node is locked exactly as if node->mutex()->lockShared() was called.

Parameters
nodeto share lock

◆ ~SharedLockGuard()

template<typename T >
virtual fpmas::synchro::SharedLockGuard< T >::~SharedLockGuard ( )
inlinevirtual

SharedLockGuard destructor.

Unlocks the node.


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