Electroneum
Public Member Functions | Private Attributes | List of all members
tools::file_locker Class Reference

#include <util.h>

Public Member Functions

 file_locker (const std::string &filename)
 
 ~file_locker ()
 
bool locked () const
 

Private Attributes

int m_fd
 

Constructor & Destructor Documentation

◆ file_locker()

tools::file_locker::file_locker ( const std::string &  filename)

◆ ~file_locker()

tools::file_locker::~file_locker ( )

Member Function Documentation

◆ locked()

bool tools::file_locker::locked ( ) const

Member Data Documentation

◆ m_fd

int tools::file_locker::m_fd
private

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