diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-06-10 00:47:23 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-06-10 00:47:23 +0000 |
commit | 89ae1c8844b275afc46eae7be23d1532a122b43e (patch) | |
tree | ba22bba07bf9c5852bc41c8b91ef6a3a44e8c46c /ace/XtReactor.h | |
parent | 9558c20ab58913c7d78f3262b6c2cfe35b6b2e53 (diff) | |
download | ATCD-89ae1c8844b275afc46eae7be23d1532a122b43e.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/XtReactor.h')
-rw-r--r-- | ace/XtReactor.h | 30 |
1 files changed, 22 insertions, 8 deletions
diff --git a/ace/XtReactor.h b/ace/XtReactor.h index dcc9e87ed8a..811b9f7ce2f 100644 --- a/ace/XtReactor.h +++ b/ace/XtReactor.h @@ -10,7 +10,9 @@ // XtReactor.h // // = AUTHOR -// Eric C. Newton's <ecn@clark.net> and Douglas C. Schmidt <schmidt@cs.wustl.edu> +// Eric C. Newton's <ecn@clark.net>, +// Kirill Rybaltchenko <Kirill.Rybaltchenko@cern.ch>, and +// Douglas C. Schmidt <schmidt@cs.wustl.edu> // // ============================================================================ @@ -21,17 +23,30 @@ #if defined (ACE_HAS_XT) -#define String XtString +//#define String XtString #include /**/ <X11/Intrinsic.h> -#undef String +//#undef String -// Forward decl. -struct ACE_XtReactorID; +class ACE_Export ACE_XtReactorID +{ + // = TITLE + // This little class is necessary due to the way that Microsoft + // implements sockets to be pointers rather than indices. +public: + XtInputId id_; + // Magic cookie. + + ACE_HANDLE handle_; + // Underlying handle. + + ACE_XtReactorID *next_; + // Pointer to next node in the linked list. +}; class ACE_Export ACE_XtReactor : public ACE_Select_Reactor { // = TITLE - // An object oriented event demultiplexor and event handler + // An object-oriented event demultiplexor and event handler // dispatcher that uses the X Toolkit functions. public: // = Initialization and termination methods. @@ -85,8 +100,7 @@ protected: ACE_Time_Value *); XtAppContext context_; - struct ACE_XtReactorID *ids_; - int id_len_; + ACE_XtReactorID *ids_; XtIntervalId timeout_; private: |