diff options
Diffstat (limited to 'ACE/TAO/orbsvcs/examples/RtEC/IIOPGateway/Supplier.h')
-rw-r--r-- | ACE/TAO/orbsvcs/examples/RtEC/IIOPGateway/Supplier.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/ACE/TAO/orbsvcs/examples/RtEC/IIOPGateway/Supplier.h b/ACE/TAO/orbsvcs/examples/RtEC/IIOPGateway/Supplier.h new file mode 100644 index 00000000000..52b937ae896 --- /dev/null +++ b/ACE/TAO/orbsvcs/examples/RtEC/IIOPGateway/Supplier.h @@ -0,0 +1,45 @@ +/* -*- C++ -*- */ +/** + * @file Supplier.h + * + * $Id$ + * + * @author Carlos O'Ryan (coryan@cs.wustl.edu) + * + * IIOP Gateway + */ +#ifndef SUPPLIER_H +#define SUPPLIER_H + +#include "orbsvcs/RtecEventCommS.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +/** + * @class Supplier + * + * @brief Simple supplier object + * + * This class is a supplier of events. It simply publishes one event type. + */ +class Supplier : public POA_RtecEventComm::PushSupplier +{ +public: + /// Constructor + Supplier (void); + + /// Run the test + int run (int argc, ACE_TCHAR* argv[]); + + // = The RtecEventComm::PushSupplier methods + + /// The skeleton methods. + virtual void disconnect_push_supplier (void); + +private: + int parse_args (int argc, ACE_TCHAR *argv[]); +}; + +#endif /* SUPPLIER_H */ |