DDS  ver. 3.5.3.8.g5fe284b
Public Member Functions | List of all members
MiscCommon::smart_mutex Class Reference

A smart CMutex helper. More...

#include <SysHelper.h>

Inheritance diagram for MiscCommon::smart_mutex:
MiscCommon::NONCopyable

Public Member Functions

 smart_mutex (CMutex &_mutex)
 
 ~smart_mutex ()
 

Additional Inherited Members

- Protected Member Functions inherited from MiscCommon::NONCopyable
 NONCopyable ()
 
 ~NONCopyable ()
 

Detailed Description

A smart CMutex helper.

It locks the mutex on the construction and unlocks it when destructor is called.

Constructor & Destructor Documentation

◆ smart_mutex()

MiscCommon::smart_mutex::smart_mutex ( CMutex _mutex)
inline

◆ ~smart_mutex()

MiscCommon::smart_mutex::~smart_mutex ( )
inline

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