diff options
Diffstat (limited to 'examples/Quoter/Factory_Finder_i.h')
-rw-r--r-- | examples/Quoter/Factory_Finder_i.h | 47 |
1 files changed, 26 insertions, 21 deletions
diff --git a/examples/Quoter/Factory_Finder_i.h b/examples/Quoter/Factory_Finder_i.h index bcd6f4c4996..944244e33ad 100644 --- a/examples/Quoter/Factory_Finder_i.h +++ b/examples/Quoter/Factory_Finder_i.h @@ -1,41 +1,46 @@ -// $Id$ - -// ============================================================================ -// -// = FILENAME -// FactoryFinder_i.h -// -// = DESCRIPTION -// Factory Finder Implementation for the Quoter example -// -// = AUTHOR -// Michael Kircher (mk1@cs.wustl.edu) -// -// ============================================================================ + +//============================================================================= +/** + * @file Factory_Finder_i.h + * + * $Id$ + * + * Factory Finder Implementation for the Quoter example + * + * + * @author Michael Kircher (mk1@cs.wustl.edu) + */ +//============================================================================= + #include "QuoterS.h" #ifndef QUOTER_FACTORY_FINDER_IMPL_H #define QUOTER_FACTORY_FINDER_IMPL_H +/** + * @class Quoter_Factory_Finder_i + = TILE + * A CosLifeCycle conforming Factory Finder for the Quoter + * example. It uses the Naming Service to find a fitting factory. + */ class Quoter_Factory_Finder_i : public POA_Stock::Quoter_Factory_Finder { - // = TILE - // A CosLifeCycle conforming Factory Finder for the Quoter - // example. It uses the Naming Service to find a fitting factory. public: Quoter_Factory_Finder_i (int debug_level = 1); ~Quoter_Factory_Finder_i (void); + /** + * Returns a sequence of Factories if factories matching the + * factory_key were found. If no factory was found, then the + * NoFactory exception, defined in CosLifeCycle, is raised. + */ virtual CosLifeCycle::Factories * find_factories (const CosLifeCycle::Key &factory_key); - // Returns a sequence of Factories if factories matching the - // factory_key were found. If no factory was found, then the - // NoFactory exception, defined in CosLifeCycle, is raised. private: + /// debug level (0 = quiet, 1 = default, informative, 2+ = noisy); int debug_level_; - // debug level (0 = quiet, 1 = default, informative, 2+ = noisy); }; #endif /* QUOTER_FACTORY_FINDER_IMPL_H */ |