#include <DEV.h>
Inheritance diagram for ACE_DEV:
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. |
Definition at line 47 of file DEV.h.
ACE_DEV::ACE_DEV | ( | void | ) | [protected] |
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 }