TFileHandler
class description - source file - inheritance tree
protected:
TFileHandler TFileHandler()
public:
TFileHandler TFileHandler(int fd, int mask)
TFileHandler TFileHandler(const TFileHandler&)
virtual void ~TFileHandler()
virtual void Add()
static TClass* Class()
int GetFd() const
virtual Bool_t HasReadInterest()
virtual Bool_t HasWriteInterest()
virtual TClass* IsA() const
virtual Bool_t Notify()
virtual Bool_t ReadNotify()
virtual void Remove()
void SetFd(int fd)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
virtual Bool_t WriteNotify()
protected:
int fFileNum File descriptor
int fMask Event mask, either bit 1 (read), 2 (write) or both can be set
public:
static const enum TObject:: kRead
static const enum TObject:: kWrite
TSysEvtHandler
Abstract base class for handling system events.
TFileHandler(int fd, int mask)
Create a file descriptor event handler. If mask=kRead then we
want to monitor the file for read readiness, if mask=kWrite
then we monitor the file for write readiness, if mask=kRead|kWrite
then we monitor both read and write readiness.
Bool_t Notify()
Notify when event occured on descriptor associated with this handler.
Bool_t ReadNotify()
Notify when something can be read from the descriptor associated with
this handler.
Bool_t WriteNotify()
Notify when something can be written to the descriptor associated with
this handler.
Bool_t HasReadInterest()
True if handler is interested in read events.
Bool_t HasWriteInterest()
True if handler is interested in write events.
void Add()
Add file event handler to system file handler list.
void Remove()
Remove file event handler from system file handler list.
Inline Functions
TFileHandler TFileHandler(int fd, int mask)
int GetFd() const
void SetFd(int fd)
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
TFileHandler TFileHandler(const TFileHandler&)
void ~TFileHandler()
Author: Fons Rademakers 16/09/95
Last update: root/base:$Name: $:$Id: TSysEvtHandler.cxx,v 1.3 2002/02/06 11:51:00 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
ROOT page - Class index - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.