GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
octave_autolock Class Reference

#include "oct-mutex.h"

Inheritance diagram for octave_autolock:
Inheritance graph
[legend]
Collaboration diagram for octave_autolock:
Collaboration graph
[legend]

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

bool octave_autolock::lock_result
private

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

octave_mutex octave_autolock::mutex
private

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


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