TAO_Operation_Table_Parameters Class Reference

Parameters used to create the operation table. More...

#include <Operation_Table_Parameters.h>

Collaboration diagram for TAO_Operation_Table_Parameters:

Collaboration graph
[legend]
List of all members.

Public Types

enum  DEMUX_STRATEGY { TAO_LINEAR_SEARCH, TAO_DYNAMIC_HASH, TAO_PERFECT_HASH, TAO_BINARY_SEARCH }
 various lookup strategies More...

Public Member Functions

void lookup_strategy (DEMUX_STRATEGY s)
 Set the lookup strategy from the list of enumerated values.
DEMUX_STRATEGY lookup_strategy (void) const
void concrete_strategy (TAO_Operation_Table *ot)
TAO_Operation_Tableconcrete_strategy (void)
 Return the operation table that is being used to do the lookup.
 TAO_Operation_Table_Parameters (void)
 Constructor.
 ~TAO_Operation_Table_Parameters (void)
 Destructor.

Static Public Member Functions

static TAO_Operation_Table_Parametersinstance (void)
 Return singleton instance of this class.

Private Attributes

TAO_Operation_Tablestrategy_
 Pointer to the object that implements a lookup strategy.
DEMUX_STRATEGY type_
 The enumerated value indicating the lookup strategy.

Detailed Description

Parameters used to create the operation table.


Member Enumeration Documentation

enum TAO_Operation_Table_Parameters::DEMUX_STRATEGY
 

various lookup strategies

Enumerator:
TAO_LINEAR_SEARCH 
TAO_DYNAMIC_HASH 
TAO_PERFECT_HASH 
TAO_BINARY_SEARCH 


Constructor & Destructor Documentation

TAO_Operation_Table_Parameters::TAO_Operation_Table_Parameters void   ) 
 

Constructor.

TAO_Operation_Table_Parameters::~TAO_Operation_Table_Parameters void   ) 
 

Destructor.


Member Function Documentation

TAO_Operation_Table * TAO_Operation_Table_Parameters::concrete_strategy void   ) 
 

Return the operation table that is being used to do the lookup.

void TAO_Operation_Table_Parameters::concrete_strategy TAO_Operation_Table ot  ) 
 

Provide a data structure that will do the lookup. This is useful for user-defined lookup strategies.

TAO_Operation_Table_Parameters * TAO_Operation_Table_Parameters::instance void   )  [static]
 

Return singleton instance of this class.

TAO_Operation_Table_Parameters::DEMUX_STRATEGY TAO_Operation_Table_Parameters::lookup_strategy void   )  const
 

Return the enumerated value for the lookup strategy. Default is Dynamic Hashing.

void TAO_Operation_Table_Parameters::lookup_strategy DEMUX_STRATEGY  s  ) 
 

Set the lookup strategy from the list of enumerated values.


Member Data Documentation

TAO_Operation_Table* TAO_Operation_Table_Parameters::strategy_ [private]
 

Pointer to the object that implements a lookup strategy.

DEMUX_STRATEGY TAO_Operation_Table_Parameters::type_ [private]
 

The enumerated value indicating the lookup strategy.


The documentation for this class was generated from the following files:
Generated on Wed Nov 23 16:09:51 2005 for TAO_PortableServer by  doxygen 1.4.5