ACE_DEV Class Reference

Defines the member functions for the base class of the ACE_DEV abstraction. More...

#include <DEV.h>

Inheritance diagram for ACE_DEV:

Inheritance graph
[legend]
Collaboration diagram for ACE_DEV:

Collaboration graph
[legend]
List of all members.

Public Member Functions

int close (void)
 Close down the DEVICE.

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

int disable (int signum) const

Public Attributes

 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks.


Protected Member Functions

 ACE_DEV (void)
 Ensure that this class is an abstract base class.


Detailed Description

Defines the member functions for the base class of the ACE_DEV abstraction.

Definition at line 47 of file DEV.h.


Constructor & Destructor Documentation

ACE_DEV::ACE_DEV void   )  [protected]
 

Ensure that this class is an abstract base class.

Definition at line 27 of file DEV.cpp.

References ACE_TRACE.

00028 {
00029   ACE_TRACE ("ACE_DEV::ACE_DEV");
00030 }


Member Function Documentation

int ACE_DEV::close void   ) 
 

Close down the DEVICE.

Definition at line 35 of file DEV.cpp.

References ACE_TRACE, ACE_OS::close(), and ACE_IO_SAP::set_handle().

00036 {
00037   ACE_TRACE ("ACE_DEV::close");
00038   int result = ACE_OS::close (this->get_handle ());
00039   this->set_handle (ACE_INVALID_HANDLE);
00040   return result;
00041 }

ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE int ACE_DEV::disable int  signum  )  const
 

Disable signal signum This is here to prevent Win32 from disabling SPIPE using socket calls

Reimplemented from ACE_IO_SAP.

Definition at line 8 of file DEV.inl.

References ACE_IO_SAP::disable().

00009 {
00010 #if defined (ACE_WIN32)
00011   ACE_UNUSED_ARG (signum) ;
00012   return 0 ;
00013 #else  /* ACE_WIN32 */
00014   return ACE_IO_SAP::disable (signum) ;
00015 #endif /* ACE_WIN32 */
00016 }

ACE_BEGIN_VERSIONED_NAMESPACE_DECL void ACE_DEV::dump void   )  const
 

Dump the state of an object.

Reimplemented from ACE_IO_SAP.

Reimplemented in ACE_DEV_IO.

Definition at line 18 of file DEV.cpp.

References ACE_TRACE.

00019 {
00020 #if defined (ACE_HAS_DUMP)
00021   ACE_TRACE ("ACE_DEV::dump");
00022 #endif /* ACE_HAS_DUMP */
00023 }


Member Data Documentation

ACE_DEV::ACE_ALLOC_HOOK_DECLARE
 

Declare the dynamic allocation hooks.

Reimplemented from ACE_IO_SAP.

Reimplemented in ACE_DEV_IO.

Definition at line 57 of file DEV.h.


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 11:21:19 2006 for ACE by doxygen 1.3.6