Changes to attempt to silence bcc64x
[ACE_TAO.git] / TAO / examples / Quoter / Factory_Finder_i.h
blob32bfe203aeb2fb4cbbb93af2e5f578ecaa0c4e3f
2 //=============================================================================
3 /**
4 * @file Factory_Finder_i.h
6 * Factory Finder Implementation for the Quoter example
8 * @author Michael Kircher (mk1@cs.wustl.edu)
9 */
10 //=============================================================================
13 #include "QuoterS.h"
15 #ifndef QUOTER_FACTORY_FINDER_IMPL_H
16 #define QUOTER_FACTORY_FINDER_IMPL_H
18 /**
19 * @class Quoter_Factory_Finder_i
20 = TILE
21 * A CosLifeCycle conforming Factory Finder for the Quoter
22 * example. It uses the Naming Service to find a fitting factory.
24 class Quoter_Factory_Finder_i : public POA_Stock::Quoter_Factory_Finder
26 public:
27 Quoter_Factory_Finder_i (int debug_level = 1);
28 ~Quoter_Factory_Finder_i ();
30 /**
31 * Returns a sequence of Factories if factories matching the
32 * factory_key were found. If no factory was found, then the
33 * NoFactory exception, defined in CosLifeCycle, is raised.
35 virtual CosLifeCycle::Factories * find_factories (const CosLifeCycle::Key &factory_key);
37 private:
38 /// debug level (0 = quiet, 1 = default, informative, 2+ = noisy);
39 int debug_level_;
42 #endif /* QUOTER_FACTORY_FINDER_IMPL_H */