diff options
Diffstat (limited to 'TAO/examples/Event_Comm/Supplier_Input_Handler.h')
-rw-r--r-- | TAO/examples/Event_Comm/Supplier_Input_Handler.h | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/TAO/examples/Event_Comm/Supplier_Input_Handler.h b/TAO/examples/Event_Comm/Supplier_Input_Handler.h deleted file mode 100644 index e9b034180c7..00000000000 --- a/TAO/examples/Event_Comm/Supplier_Input_Handler.h +++ /dev/null @@ -1,73 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// EventComm -// -// = FILENAME -// Supplier_Input_Handler.h -// -// = DESCRIPTION -// Handle input from the keyboard. -// -// = AUTHOR -// Douglas C. Schmidt (schmidt@cs.wustl.edu) -// -// ============================================================================ - -#ifndef SUPPLIER_INPUT_HANDLER_H -#define SUPPLIER_INPUT_HANDLER_H - -#include "ace/Service_Config.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -// Forward declaration. -class Notifier_Handler; - -class Supplier_Input_Handler : public ACE_Service_Object -{ - // = TITLE - // Handles input events generated from a keyboard. - // - // = DESCRIPTION - // The events are currently framed and forwarded to - // all Consumers. In the future, we will need to - // be more selective and only send to those Consumers - // whose filtering criteria matches! -public: - Supplier_Input_Handler (); - // Constructor. - - ~Supplier_Input_Handler (void); - // Destructor. - - int initialize (Notifier_Handler *, ACE_HANDLE = ACE_STDIN); - // Initialization, uses stdin by default. - - virtual int handle_input (ACE_HANDLE); - // Frame input events and notify <Consumers>. - - virtual int handle_close (ACE_HANDLE = ACE_INVALID_HANDLE, - ACE_Reactor_Mask = ACE_Event_Handler::NULL_MASK); - // Close down the handler. - -protected: - virtual ACE_HANDLE get_handle (void) const; - - ACE_HANDLE handle_; - // ACE_HANDLE where the input comes from. - - Notifier_Handler *notifier_; - // Pointer to a <Notifier_Handler> that's used to inform Consumers - // that events of interest have occurred. - - FILE *fp_; - // Pointer to an input ACE_FILE. -}; - -#endif /* SUPPLIER_INPUT_HANDLER_H */ |