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

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 Methods

int close (void)
 Close down the DEVICE. More...

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

int disable (int signum) const

Public Attributes

 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks. More...


Protected Methods

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


Detailed Description

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

Definition at line 45 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 24 of file DEV.cpp.

References ACE_TRACE.

00025 {
00026   ACE_TRACE ("ACE_DEV::ACE_DEV");
00027 }


Member Function Documentation

int ACE_DEV::close void   
 

Close down the DEVICE.

Definition at line 32 of file DEV.cpp.

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

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

ASYS_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 7 of file DEV.i.

References ACE_IO_SAP::disable.

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

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 17 of file DEV.cpp.

References ACE_TRACE.

00018 {
00019   ACE_TRACE ("ACE_DEV::dump");
00020 }


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 55 of file DEV.h.


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