Alien  1.3.0
Developer documentation
Loading...
Searching...
No Matches
Alien::ObjectWithLock Class Reference
Inheritance diagram for Alien::ObjectWithLock:
Collaboration diagram for Alien::ObjectWithLock:

Public Member Functions

void lock ()
 Verrouille l'objet.
void unlock ()
 Dévérouille l'objet.
bool isLocked () const
 Retourne si l'objet est vérouillé

Private Attributes

bool m_is_locked

Detailed Description

Definition at line 32 of file ObjectWithLock.h.

Constructor & Destructor Documentation

◆ ObjectWithLock()

Alien::ObjectWithLock::ObjectWithLock ( )
inline

Definition at line 35 of file ObjectWithLock.h.

◆ ~ObjectWithLock()

virtual Alien::ObjectWithLock::~ObjectWithLock ( )
inlinevirtual

Definition at line 39 of file ObjectWithLock.h.

Member Function Documentation

◆ isLocked()

bool Alien::ObjectWithLock::isLocked ( ) const
inline

Retourne si l'objet est vérouillé

Definition at line 48 of file ObjectWithLock.h.

◆ lock()

void Alien::ObjectWithLock::lock ( )
inline

Verrouille l'objet.

Definition at line 42 of file ObjectWithLock.h.

◆ unlock()

void Alien::ObjectWithLock::unlock ( )
inline

Dévérouille l'objet.

Definition at line 45 of file ObjectWithLock.h.

Member Data Documentation

◆ m_is_locked

bool Alien::ObjectWithLock::m_is_locked
private

Definition at line 51 of file ObjectWithLock.h.


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