ACE 8.0.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Private Attributes | List of all members
ACE_IO_SAP Class Reference

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>

Inheritance diagram for ACE_IO_SAP:
Inheritance graph
[legend]

Public Types

enum  { INVALID_HANDLE = -1 }
 

Public Member Functions

 ~ACE_IO_SAP ()
 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 () const
 Get the underlying handle.
 
void set_handle (ACE_HANDLE handle)
 Set the underlying handle.
 
void dump () const
 Dump the state of an object.
 

Public Attributes

 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks.
 

Protected Member Functions

 ACE_IO_SAP ()
 Ensure that ACE_IO_SAP is an abstract base class.
 

Private Attributes

ACE_HANDLE handle_
 Underlying I/O handle.
 

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

◆ anonymous enum

Enumerator
INVALID_HANDLE 

Be consistent with Winsock.

Constructor & Destructor Documentation

◆ ~ACE_IO_SAP()

ACE_IO_SAP::~ACE_IO_SAP ( )
inline

Default dtor.

◆ ACE_IO_SAP()

ACE_IO_SAP::ACE_IO_SAP ( )
protected

Ensure that ACE_IO_SAP is an abstract base class.

Member Function Documentation

◆ control()

int ACE_IO_SAP::control ( int cmd,
void * arg ) const
inline

Interface for ioctl.

◆ disable()

int ACE_IO_SAP::disable ( int value) const

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.

◆ dump()

void ACE_IO_SAP::dump ( ) const

Dump the state of an object.

◆ enable()

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.

◆ get_handle()

ACE_HANDLE ACE_IO_SAP::get_handle ( ) const
inline

Get the underlying handle.

◆ set_handle()

void ACE_IO_SAP::set_handle ( ACE_HANDLE handle)
inline

Set the underlying handle.

Member Data Documentation

◆ ACE_ALLOC_HOOK_DECLARE

ACE_IO_SAP::ACE_ALLOC_HOOK_DECLARE

Declare the dynamic allocation hooks.

◆ handle_

ACE_HANDLE ACE_IO_SAP::handle_
private

Underlying I/O handle.


The documentation for this class was generated from the following files: