Merge pull request #2216 from jwillemsen/jwi-cxxversionchecks
[ACE_TAO.git] / ACE / examples / ASX / UPIPE_Event_Server / Event_Analyzer.h
blobba382d40fd98cf62fe0c2d2331d09ef711d45d49
1 /* -*- C++ -*- */
2 // Signal router.
4 #ifndef _EVENT_ANALYZER_H
5 #define _EVENT_ANALYZER_H
7 #include "ace/Stream.h"
9 #if !defined (ACE_LACKS_PRAGMA_ONCE)
10 # pragma once
11 #endif /* ACE_LACKS_PRAGMA_ONCE */
13 #include "ace/Module.h"
14 #include "ace/Task.h"
16 #if defined (ACE_HAS_THREADS)
18 class Event_Analyzer : public ACE_Task<ACE_MT_SYNCH>
20 public:
21 virtual int open (void *a = 0);
22 virtual int close (u_long flags = 0);
23 virtual int put (ACE_Message_Block *msg, ACE_Time_Value * = 0);
25 // Dynamic linking hooks.
26 virtual int init (int argc, ACE_TCHAR *argv[]);
27 virtual int fini ();
28 virtual int info (ACE_TCHAR **info_string, size_t length) const;
30 private:
31 virtual int control (ACE_Message_Block *);
34 #endif /* ACE_HAS_THREADS */
35 #endif /* _EVENT_ANALYZER_H */