Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

ACE_OS::ace_flock_t Class Reference

OS file locking structure. More...

#include <OS.h>

List of all members.

Public Methods

void dump (void) const
 Dump state of the object. More...


Public Attributes

ACE_OVERLAPPED overlapped_
const ACE_TCHARlockname_
 Name of this filelock. More...

ACE_HANDLE handle_
 Handle to the underlying file. More...


Detailed Description

OS file locking structure.

Definition at line 4620 of file OS.h.


Member Function Documentation

void ACE_OS::ace_flock_t::dump void    const
 

Dump state of the object.

Definition at line 892 of file OS.cpp.

References ACE_BEGIN_DUMP, ACE_DEBUG, ACE_END_DUMP, ACE_LIB_TEXT, ACE_OS_TRACE, and LM_DEBUG.

Referenced by ACE_File_Lock::dump.

00893 {
00894   ACE_OS_TRACE ("ACE_OS::ace_flock_t::dump");
00895 
00896 #if 0
00897   ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
00898   ACE_DEBUG ((LM_DEBUG, ACE_LIB_TEXT ("handle_ = %u"), this->handle_));
00899 #if defined (ACE_WIN32)
00900   ACE_DEBUG ((LM_DEBUG, ACE_LIB_TEXT ("\nInternal = %d"), this->overlapped_.Internal));
00901   ACE_DEBUG ((LM_DEBUG, ACE_LIB_TEXT ("\nInternalHigh = %d"), this->overlapped_.InternalHigh));
00902   ACE_DEBUG ((LM_DEBUG, ACE_LIB_TEXT ("\nOffsetHigh = %d"), this->overlapped_.OffsetHigh));
00903   ACE_DEBUG ((LM_DEBUG, ACE_LIB_TEXT ("\nhEvent = %d"), this->overlapped_.hEvent));
00904 #elif !defined (CHORUS)
00905   ACE_DEBUG ((LM_DEBUG, ACE_LIB_TEXT ("\nl_whence = %d"), this->lock_.l_whence));
00906   ACE_DEBUG ((LM_DEBUG, ACE_LIB_TEXT ("\nl_start = %d"), this->lock_.l_start));
00907   ACE_DEBUG ((LM_DEBUG, ACE_LIB_TEXT ("\nl_len = %d"), this->lock_.l_len));
00908   ACE_DEBUG ((LM_DEBUG, ACE_LIB_TEXT ("\nl_type = %d"), this->lock_.l_type));
00909 #endif /* ACE_WIN32 */
00910   ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
00911 #endif /* 0 */
00912 }


Member Data Documentation

ACE_HANDLE ACE_OS::ace_flock_t::handle_
 

Handle to the underlying file.

Definition at line 4636 of file OS.h.

Referenced by ACE_OS::flock_destroy, ACE_OS::flock_init, ACE_OS::flock_rdlock, ACE_OS::flock_tryrdlock, ACE_OS::flock_trywrlock, ACE_OS::flock_unlock, ACE_OS::flock_wrlock, ACE_File_Lock::get_handle, and ACE_File_Lock::set_handle.

const ACE_TCHAR* ACE_OS::ace_flock_t::lockname_
 

Name of this filelock.

Definition at line 4633 of file OS.h.

Referenced by ACE_OS::flock_destroy, and ACE_OS::flock_init.

ACE_OVERLAPPED ACE_OS::ace_flock_t::overlapped_
 

Definition at line 4627 of file OS.h.

Referenced by ACE_OS::flock_init, ACE_OS::flock_rdlock, ACE_OS::flock_tryrdlock, ACE_OS::flock_trywrlock, ACE_OS::flock_unlock, and ACE_OS::flock_wrlock.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 12:51:47 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002