VR-Forces 4.0.4 Class Documentation
include/vrfGuiCore/loadBalancingFactory.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: loadBalancingFactory.h,v $ $Revision: 1.2 $ $State: Exp $
00007 ******************************************************************************/
00008 
00011 
00013 
00014 #pragma once
00015 
00016 #include <vrfGuiCore/vrfGuiCore.h>
00017 
00018 #include "vrfutil/scenario.h"
00019 
00020 #include <vector>
00021 #include <string>
00022 
00023 namespace makVrf
00024 {
00025    class DT_DLL_VRFGUICORE DtLoadBalancingFactory
00026    {
00027    public:
00028       typedef std::vector<DtLoadBalancingFcnInfo> DtLoadBalancerMap;
00029 
00030    public:
00031       DtLoadBalancingFactory();
00032       virtual ~DtLoadBalancingFactory();
00033 
00034       static void addLoadBalancingFunction(const std::string& name, DtLoadBalancingFcn fcn, void* usr);
00035       static void removeLoadBalancingFunction(const std::string& name);
00036       static bool loadBalancingInformation(const std::string& name, DtLoadBalancingFcnInfo& fcn);
00037 
00038       static const DtLoadBalancerMap& loadBalancers();
00039 
00040    protected:
00041       static DtLoadBalancerMap gLoadBalancingFunctions;
00042    };
00043 }
00044 

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)