NAME
ACE_IO_SAP -
Defines the member functions for the base class of the ACE_IO_SAP
abstraction.
SYNOPSIS
#include <ace/IO_SAP.h>
class ACE_IO_SAP
{
public:
enum{ INVALID_HANDLE = -1 };
int control (int cmd, void *) const;
int enable (int signum) const;
int disable (int signum) const;
ACE_HANDLE get_handle (void) const;
void set_handle (ACE_HANDLE handle);
void dump (void) const;
ACE_ALLOC_HOOK_DECLARE;
protected:
ACE_IO_SAP (void);
private:
ACE_HANDLE handle_;
static pid_t pid_;
};
Methods for manipulating common I/O descriptor options related to
files.
int enable (int signum) const;
int disable (int signum) const;
ACE_HANDLE get_handle (void) const;
Get the underlying descriptor.
void set_handle (ACE_HANDLE handle);
Set the underlying descriptor.
void dump (void) const;
Dump the state of an object.
ACE_ALLOC_HOOK_DECLARE;
Declare the dynamic allocation hooks.
AUTHOR
Doug Schmidt
LIBRARY
ace