Changes to attempt to silence bcc64x
[ACE_TAO.git] / TAO / examples / Event_Comm / notifier.h
blob46d15aca84b58527238a0aa5ba86f199c6b9096a
1 //=============================================================================
2 /**
3 * @file notifier.h
5 * This class implements notifier driver for the Publish/Subscribe example
6 */
7 //=============================================================================
9 /**
10 * @class Notifier
12 * @brief Notifier driver for the TAO Publish/Subscribe example.
14 * The driver class for the <Event_Comm::Notifier> object.
16 class Notifier : public ACE_Event_Handler
18 public:
19 /// Constructor.
20 Notifier (int argc, ACE_TCHAR *argv[]);
22 /// Destructor.
23 ~Notifier ();
25 /// Execute the notifier.
26 void run ();
28 private:
29 /// Handle signals that shut us down.
30 virtual int handle_signal (int signum,
31 siginfo_t *,
32 ucontext_t *);
34 /// The notifier server.
35 Notifier_Server ns_;