BALL
1.4.2
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
BALL
SCORING
COMMON
scoringComponent.h
Go to the documentation of this file.
1
// $id$
2
3
#ifndef BALL_SCORING_COMMON_SCORINGCOMPONENT
4
#define BALL_SCORING_COMMON_SCORINGCOMPONENT
5
6
#include <
BALL/DATATYPE/string.h
>
7
#include <
BALL/SCORING/COMMON/scoringFunction.h
>
8
9
namespace
BALL
10
{
11
12
class
ScoringFunction;
13
14
class
ScoringComponent
15
{
16
17
public
:
18
20
ScoringComponent
()
21
;
22
24
ScoringComponent
(
const
ScoringComponent
& sc)
25
;
26
28
ScoringComponent
(
ScoringFunction
& sf)
29
;
30
32
virtual
~ScoringComponent
()
33
;
34
36
virtual
void
clear
()
37
;
38
40
virtual
bool
setup
()
41
;
42
44
ScoringFunction
*
getScoringFunction
()
const
45
;
46
48
void
setScoringFunction
(
ScoringFunction
& sf)
49
;
50
52
String
getName
()
const
53
;
54
56
void
setName
(
const
String
& name)
57
;
58
60
virtual
double
calculateScore
()
61
;
62
64
virtual
double
getScore
()
const
65
;
66
67
68
protected
:
69
70
//_
71
ScoringFunction
*
scoring_function_
;
72
73
//_
74
double
score_
;
75
76
77
private
:
78
79
//_
80
String
name_
;
81
82
};
83
84
}
85
86
#endif // BALL_SCORING_COMMON_SCORINGCOMPONENT
Generated by
1.8.3.1