Sese Framework  3.0.0
A cross-platform framework
Loading...
Searching...
No Matches
sese::system::FileLocker::Impl Class Reference

Public Member Functions

 Impl (int32_t fd)
 
bool lockWrite (int64_t start, int64_t len)
 
bool lockRead (int64_t start, int64_t len)
 
bool lock (int64_t start, int64_t len)
 
bool unlock ()
 
 Impl (int32_t fd)
 
bool lock (int64_t start, int64_t len)
 
bool unlock ()
 
bool lockWrite (int64_t start, int64_t len)
 
bool lockRead (int64_t start, int64_t len)
 

Private Attributes

int32_t fd
 
int64_t offset
 
int64_t size
 

Constructor & Destructor Documentation

◆ Impl() [1/2]

sese::system::FileLocker::Impl::Impl ( int32_t fd)
inline

◆ Impl() [2/2]

sese::system::FileLocker::Impl::Impl ( int32_t fd)
inlineexplicit

Member Function Documentation

◆ lock() [1/2]

bool sese::system::FileLocker::Impl::lock ( int64_t start,
int64_t len )
inline

◆ lock() [2/2]

bool sese::system::FileLocker::Impl::lock ( int64_t start,
int64_t len )
inline

◆ lockRead() [1/2]

bool sese::system::FileLocker::Impl::lockRead ( int64_t start,
int64_t len )
inline

◆ lockRead() [2/2]

bool sese::system::FileLocker::Impl::lockRead ( int64_t start,
int64_t len )
inline

◆ lockWrite() [1/2]

bool sese::system::FileLocker::Impl::lockWrite ( int64_t start,
int64_t len )
inline

◆ lockWrite() [2/2]

bool sese::system::FileLocker::Impl::lockWrite ( int64_t start,
int64_t len )
inline

◆ unlock() [1/2]

bool sese::system::FileLocker::Impl::unlock ( )
inline

◆ unlock() [2/2]

bool sese::system::FileLocker::Impl::unlock ( )
inline

Member Data Documentation

◆ fd

int32_t sese::system::FileLocker::Impl::fd
private

◆ offset

int64_t sese::system::FileLocker::Impl::offset
private

◆ size

int64_t sese::system::FileLocker::Impl::size
private

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