Merge pull request #2216 from jwillemsen/jwi-cxxversionchecks
[ACE_TAO.git] / TAO / orbsvcs / examples / RtEC / Simple / Supplier.h
blob53fc07c7145694de2dd18ae2779d532e01abe6d5
1 /* -*- C++ -*- */
2 //=============================================================================
3 /**
4 * @file Supplier.h
6 * @author Carlos O'Ryan (coryan@cs.wustl.edu)
7 */
8 //=============================================================================
11 #ifndef SUPPLIER_H
12 #define SUPPLIER_H
14 #include "orbsvcs/RtecEventCommS.h"
16 #if !defined (ACE_LACKS_PRAGMA_ONCE)
17 # pragma once
18 #endif /* ACE_LACKS_PRAGMA_ONCE */
20 /**
21 * @class Supplier
23 * @brief Simple supplier object
25 * This class is a supplier of events.
26 * It simply publishes one event type.
28 class Supplier : public POA_RtecEventComm::PushSupplier
30 public:
31 /// Constructor
32 Supplier ();
34 /// Run the test
35 int run (int argc, ACE_TCHAR* argv[]);
37 // = The RtecEventComm::PushSupplier methods
39 /// The skeleton methods.
40 virtual void disconnect_push_supplier ();
42 private:
45 #endif /* SUPPLIER_H */