diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Trader/Trader_Base.h')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Trader/Trader_Base.h | 91 |
1 files changed, 0 insertions, 91 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Trader/Trader_Base.h b/TAO/orbsvcs/orbsvcs/Trader/Trader_Base.h deleted file mode 100644 index 6838ba03b1b..00000000000 --- a/TAO/orbsvcs/orbsvcs/Trader/Trader_Base.h +++ /dev/null @@ -1,91 +0,0 @@ -/* -*- C++ -*- */ - -// ============================================================================ -// $Id$ -// -// = LIBRARY -// orbsvcs -// -// = FILENAME -// Trader_Base.h -// -// = AUTHOR -// Marina Spivak <marina@cs.wustl.edu> -// Seth Widoff <sbw1@cs.wustl.edu> -// Irfan Pyarali <irfan@cs.wustl.edu> -// -// ============================================================================ - -#ifndef TAO_TRADER_BASE_H -#define TAO_TRADER_BASE_H - -#include <string> -#include <map> - -#include "Attributes.h" - -class TAO_Export TAO_Trader_Base - // - // = TITLE - // TAO_Trader inherits from this "helper" class. - // The sole purpose of this class is to factor some of TAO_Trader's - // data members out, so that they would not have to be templatized - // and be be aware of the type of lock they use. - // - // = DESCRIPTION - // TAO_Trader is a template class. And while we want - // <import_attributes_>, <trader_components_>, and - // <support_attributes> use a lock contained in TAO_Trader, we do not - // want all these classes to be templatized. TAO_Trader_Base class solves - // this problem. -{ -public: - typedef int HUGE_NUMBER; - - TAO_Trader_Base (void); - - // = Accessors for objects that manage trader's configuration. - - TAO_Trading_Components_Impl &trading_components (void); - - const TAO_Trading_Components_Impl &trading_components (void) const; - - TAO_Import_Attributes_Impl &import_attributes (void); - - const TAO_Import_Attributes_Impl &import_attributes (void) const; - - TAO_Support_Attributes_Impl &support_attributes (void); - - const TAO_Support_Attributes_Impl &support_attributes (void) const; - - TAO_Link_Attributes_Impl &link_attributes (void); - - const TAO_Link_Attributes_Impl &link_attributes (void) const; - - // = Accessor for trader's lock. - - virtual ACE_Lock &lock (void) = 0; - // return lock that guards trader's current configuration. - - static CORBA::Boolean is_valid_identifier_name (const char* ident); - // Determine whether the identifier is a valid one (i.e., if the - // first character is a letter, and the subsequent ones letter, - // numbers, or underscores.) - -protected: - // = Objects determining current configuration of a trader. - - TAO_Trading_Components_Impl trading_components_; - // Stores and allows lookup of trader's components. - - TAO_Import_Attributes_Impl import_attributes_; - // Stores and allows access/modification of trader's import attributes. - - TAO_Support_Attributes_Impl support_attributes_; - // Stores and allows access/modification of trader's support attributes. - - TAO_Link_Attributes_Impl link_attributes_; - // Stores and allows access/modification of trader's link attributes. -}; - -#endif /* TAO_TRADER_BASE_H */ |