diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/LoadBalancing/LB_Location_Index_Map.h')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/LoadBalancing/LB_Location_Index_Map.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/TAO/orbsvcs/orbsvcs/LoadBalancing/LB_Location_Index_Map.h b/TAO/orbsvcs/orbsvcs/LoadBalancing/LB_Location_Index_Map.h new file mode 100644 index 00000000000..a08694dd2d0 --- /dev/null +++ b/TAO/orbsvcs/orbsvcs/LoadBalancing/LB_Location_Index_Map.h @@ -0,0 +1,44 @@ +// -*- C++ -*- + +//======================================================================= +/** + * @file LB_Location_Index_Map.h + * + * $Id$ + * + * @author Ossama Othman <ossama@uci.edu> + */ +//======================================================================= + + +#ifndef TAO_LB_LOCATION_INDEX_MAP_H +#define TAO_LB_LOCATION_INDEX_MAP_H + +#include /**/ "ace/pre.h" + +#include "orbsvcs/CosLoadBalancingC.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include "orbsvcs/PortableGroupC.h" + +#include "ace/Functor.h" +#include "ace/Hash_Map_Manager_T.h" + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + +/// Location index map. +typedef ACE_Hash_Map_Manager_Ex< + PortableGroup::ObjectGroupId, + CORBA::ULong, + ACE_Hash<ACE_UINT64>, + ACE_Equal_To<ACE_UINT64>, + ACE_Null_Mutex> TAO_LB_Location_Index_Map; + +TAO_END_VERSIONED_NAMESPACE_DECL + +#include /**/ "ace/post.h" + +#endif /* TAO_LB_LOCATION_INDEX_MAP_H */ |