TAO_CosTrader  2.0.8
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
TAO_Trader_Base Class Reference

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. More...

#include <Trader.h>

Inheritance diagram for TAO_Trader_Base:
Inheritance graph
[legend]
Collaboration diagram for TAO_Trader_Base:
Collaboration graph
[legend]

List of all members.

Public Types

enum  Trader_Components {
  LOOKUP = 0x001, REGISTER = 0x002, LINK = 0x004, PROXY = 0x008,
  ADMIN = 0x010
}

Public Member Functions

virtual ~TAO_Trader_Base (void)
TAO_Trading_Components_itrading_components (void)
const TAO_Trading_Components_itrading_components (void) const
TAO_Import_Attributes_iimport_attributes (void)
const TAO_Import_Attributes_iimport_attributes (void) const
TAO_Support_Attributes_isupport_attributes (void)
const TAO_Support_Attributes_isupport_attributes (void) const
TAO_Link_Attributes_ilink_attributes (void)
const TAO_Link_Attributes_ilink_attributes (void) const

Static Public Member Functions

static CORBA::Boolean is_valid_identifier_name (const char *ident)
static CORBA::Boolean is_valid_property_name (const char *ident)
static CORBA::Boolean is_valid_link_name (const char *ident)

Protected Member Functions

 TAO_Trader_Base (void)
 Implemented.

Protected Attributes

TAO_Trading_Components_i trading_components_
 Stores and allows lookup of trader's components.
TAO_Import_Attributes_i import_attributes_
 Stores and allows access/modification of trader's import attributes.
TAO_Support_Attributes_i support_attributes_
 Stores and allows access/modification of trader's support attributes.
TAO_Link_Attributes_i link_attributes_
 Stores and allows access/modification of trader's link attributes.

Private Member Functions

 TAO_Trader_Base (const TAO_Trader_Base &TAO_Trader_Base)
 Unimplemented.
TAO_Trader_Baseoperator= (const TAO_Trader_Base &)

Detailed Description

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.

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.


Member Enumeration Documentation

Enumerator:
LOOKUP 
REGISTER 
LINK 
PROXY 
ADMIN 

Constructor & Destructor Documentation

TAO_Trader_Base::~TAO_Trader_Base ( void  ) [virtual]
TAO_Trader_Base::TAO_Trader_Base ( void  ) [protected]

Implemented.

TAO_Trader_Base::TAO_Trader_Base ( const TAO_Trader_Base TAO_Trader_Base) [private]

Unimplemented.


Member Function Documentation

TAO_Import_Attributes_i & TAO_Trader_Base::import_attributes ( void  )
const TAO_Import_Attributes_i & TAO_Trader_Base::import_attributes ( void  ) const
CORBA::Boolean TAO_Trader_Base::is_valid_identifier_name ( const char *  ident) [static]

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.)

IDL identifier scoping and escaping rules apply.

static CORBA::Boolean TAO_Trader_Base::is_valid_link_name ( const char *  ident) [inline, static]

Determine whether the link name is a valid one currently defined the same as property name.

CORBA::Boolean TAO_Trader_Base::is_valid_property_name ( const char *  ident) [static]

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.)

TAO_Link_Attributes_i & TAO_Trader_Base::link_attributes ( void  )
const TAO_Link_Attributes_i & TAO_Trader_Base::link_attributes ( void  ) const
TAO_Trader_Base& TAO_Trader_Base::operator= ( const TAO_Trader_Base ) [private]
TAO_Support_Attributes_i & TAO_Trader_Base::support_attributes ( void  )
const TAO_Support_Attributes_i & TAO_Trader_Base::support_attributes ( void  ) const
TAO_Trading_Components_i & TAO_Trader_Base::trading_components ( void  )
const TAO_Trading_Components_i & TAO_Trader_Base::trading_components ( void  ) const

Member Data Documentation

Stores and allows access/modification of trader's import attributes.

Stores and allows access/modification of trader's link attributes.

Stores and allows access/modification of trader's support attributes.

Stores and allows lookup of trader's components.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines