VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfGuiCore
loadBalancingFactory.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: loadBalancingFactory.h,v $ $Revision: 1.2 $ $State: Exp $
7
******************************************************************************/
8
11
13
14
#pragma once
15
16
#include <
vrfGuiCore/vrfGuiCore.h
>
17
18
#include "
vrfutil/scenario.h
"
19
20
#include <vector>
21
#include <string>
22
23
namespace
makVrf
24
{
25
class
DT_DLL_VRFGUICORE
DtLoadBalancingFactory
26
{
27
public
:
28
typedef
std::vector<DtLoadBalancingFcnInfo>
DtLoadBalancerMap
;
29
30
public
:
31
DtLoadBalancingFactory
();
32
virtual
~
DtLoadBalancingFactory
();
33
34
static
void
addLoadBalancingFunction(
const
std::string& name,
DtLoadBalancingFcn
fcn,
void
* usr);
35
static
void
removeLoadBalancingFunction(
const
std::string& name);
36
static
bool
loadBalancingInformation(
const
std::string& name,
DtLoadBalancingFcnInfo
& fcn);
37
38
static
const
DtLoadBalancerMap
& loadBalancers();
39
40
protected
:
41
static
DtLoadBalancerMap
gLoadBalancingFunctions
;
42
};
43
}
44
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)