#include <IO_SAP.h>
Public Types | |
enum | { INVALID_HANDLE = -1 } |
Public Member Functions | |
~ACE_IO_SAP (void) | |
Default dtor. | |
int | control (int cmd, void *) const |
Interface for ioctl. | |
int | enable (int value) const |
int | disable (int value) const |
ACE_HANDLE | get_handle (void) const |
Get the underlying handle. | |
void | set_handle (ACE_HANDLE handle) |
Set the underlying handle. | |
void | dump (void) const |
Dump the state of an object. | |
Public Attributes | |
ACE_ALLOC_HOOK_DECLARE | |
Declare the dynamic allocation hooks. | |
Protected Member Functions | |
ACE_IO_SAP (void) | |
Ensure that ACE_IO_SAP is an abstract base class. | |
Private Attributes | |
ACE_HANDLE | handle_ |
Underlying I/O handle. | |
Static Private Attributes | |
static pid_t | pid_ = 0 |
Cache the process ID. |
ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE ACE_IO_SAP::~ACE_IO_SAP | ( | void | ) |
Default dtor.
ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_IO_SAP::ACE_IO_SAP | ( | void | ) | [protected] |
Ensure that ACE_IO_SAP is an abstract base class.
ACE_INLINE int ACE_IO_SAP::control | ( | int | cmd, | |
void * | arg | |||
) | const |
Interface for ioctl.
int ACE_IO_SAP::enable | ( | int | value | ) | const |
Enable asynchronous I/O (ACE_SIGIO), urgent data (ACE_SIGURG), non-blocking I/O (ACE_NONBLOCK), or close-on-exec (ACE_CLOEXEC), which is passed as the value.
int ACE_IO_SAP::disable | ( | int | value | ) | const |
ACE_INLINE ACE_HANDLE ACE_IO_SAP::get_handle | ( | void | ) | const |
Get the underlying handle.
ACE_INLINE void ACE_IO_SAP::set_handle | ( | ACE_HANDLE | handle | ) |
Set the underlying handle.
void ACE_IO_SAP::dump | ( | void | ) | const |
Declare the dynamic allocation hooks.
Reimplemented in ACE_DEV, ACE_DEV_IO, ACE_FILE, and ACE_FILE_IO.
ACE_HANDLE ACE_IO_SAP::handle_ [private] |
Underlying I/O handle.
pid_t ACE_IO_SAP::pid_ = 0 [static, private] |
Cache the process ID.