VR-Forces 4.6 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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 Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)