TFileHandler


class description - source file - inheritance tree

class TFileHandler : public TSysEvtHandler


    protected:
TFileHandler TFileHandler() public:
TFileHandler TFileHandler(int fd, int mask) TFileHandler TFileHandler(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()

Data Members

protected:
int fFileNum File descriptor int fMask Event mask

Class Description

                                                                      
 TSysEvtHandler                                                       
                                                                      
 Abstract base class for handling system events.                      
                                                                      


TFileHandler(int fd, int mask)
 Create a file descriptor event handler.

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(TFileHandler&)
                void ~TFileHandler()


Author: Fons Rademakers 16/09/95
Last update: root/base:$Name: $:$Id: TSysEvtHandler.cxx,v 1.2 2000/11/17 10:26:03 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.