Defines the methods for the base class of the ACE_IO_SAP abstraction, which includes ACE_FILE and ACE_DEV.
More...
#include <IO_SAP.h>
List of all members.
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.
|
Detailed Description
Defines the methods for the base class of the ACE_IO_SAP abstraction, which includes ACE_FILE and ACE_DEV.
Member Enumeration Documentation
- Enumerator:
| INVALID_HANDLE |
Be consistent with Winsock.
|
Constructor & Destructor Documentation
Member Function Documentation
Disable 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.
Reimplemented in ACE_FILE, and ACE_DEV.
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.
Get the underlying handle.
Set the underlying handle.
Member Data Documentation
The documentation for this class was generated from the following files: