Public Member Functions | Public Attributes | Protected Member Functions

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.

{
  ACE_TRACE ("ACE_DEV::ACE_DEV");
}


Member Function Documentation

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 */
}


Member Data Documentation

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines