Public Member Functions | Private Member Functions | Private Attributes

octave_autolock Class Reference

#include "oct-mutex.h"

Collaboration diagram for octave_autolock:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 octave_autolock (const octave_mutex &m, bool block=true)
 ~octave_autolock (void)
bool ok (void) const
 operator bool (void) const

Private Member Functions

 octave_autolock (void)
 octave_autolock (const octave_autolock &)
octave_autolockoperator= (const octave_autolock &)

Private Attributes

bool lock_result
octave_mutex mutex

Detailed Description

Definition at line 102 of file oct-mutex.h.


Constructor & Destructor Documentation

octave_autolock::octave_autolock ( const octave_mutex m,
bool  block = true 
) [inline]

Definition at line 106 of file oct-mutex.h.

octave_autolock::~octave_autolock ( void   )  [inline]

Definition at line 118 of file oct-mutex.h.

octave_autolock::octave_autolock ( void   )  [private]
octave_autolock::octave_autolock ( const octave_autolock  )  [private]

Member Function Documentation

bool octave_autolock::ok ( void   )  const [inline]

Definition at line 124 of file oct-mutex.h.

octave_autolock::operator bool ( void   )  const [inline]

Definition at line 126 of file oct-mutex.h.

octave_autolock& octave_autolock::operator= ( const octave_autolock  )  [private]

Member Data Documentation

Definition at line 137 of file oct-mutex.h.

Definition at line 136 of file oct-mutex.h.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines