Defines the member functions for the base class of the ACE_DEV abstraction. More...
#include <DEV.h>
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. |
Defines the member functions for the base class of the ACE_DEV abstraction.
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.
{ ACE_TRACE ("ACE_DEV::close"); int result = ACE_OS::close (this->get_handle ()); this->set_handle (ACE_INVALID_HANDLE); return result; }
int ACE_DEV::disable | ( | int | signum | ) | const [inline] |
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.
{ #if defined (ACE_WIN32) ACE_UNUSED_ARG (signum) ; return 0 ; #else /* ACE_WIN32 */ return ACE_IO_SAP::disable (signum) ; #endif /* ACE_WIN32 */ }
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.
{ #if defined (ACE_HAS_DUMP) ACE_TRACE ("ACE_DEV::dump"); #endif /* ACE_HAS_DUMP */ }