diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/LoadBalancing/LB_LoadMap.h')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/LoadBalancing/LB_LoadMap.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/TAO/orbsvcs/orbsvcs/LoadBalancing/LB_LoadMap.h b/TAO/orbsvcs/orbsvcs/LoadBalancing/LB_LoadMap.h new file mode 100644 index 00000000000..26c62ecfed3 --- /dev/null +++ b/TAO/orbsvcs/orbsvcs/LoadBalancing/LB_LoadMap.h @@ -0,0 +1,43 @@ +// -*- C++ -*- + +//======================================================================= +/** + * @file LB_LoadMap.h + * + * $Id$ + * + * @author Ossama Othman <ossama@uci.edu> + */ +//======================================================================= + + +#ifndef TAO_LB_LOAD_MAP_H +#define TAO_LB_LOAD_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 "orbsvcs/PortableGroup/PG_Location_Hash.h" +#include "orbsvcs/PortableGroup/PG_Location_Equal_To.h" + +#include "ace/Hash_Map_Manager_T.h" + + +/// Load hash map. +typedef ACE_Hash_Map_Manager_Ex< + PortableGroup::Location, + CosLoadBalancing::Load, + TAO_PG_Location_Hash, + TAO_PG_Location_Equal_To, + ACE_Null_Mutex> TAO_LB_LoadMap; + +#include "ace/post.h" + +#endif /* TAO_LB_LOAD_MAP_H */ |