VR-Forces 4.5 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrfobjparam
prbStepFunction.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2016 MaK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
10
11
#pragma once
12
13
#include "
vrfutil/readerWriter.h
"
14
#include <vlutil/vlMachineTypes.h>
15
#include "
vrfutil/rwList.h
"
16
#include "
vrfutil/rwBoolean.h
"
17
18
class
DtString
;
19
class
DtReaderWriterRegistry
;
20
class
DtPrbValueList
;
21
22
23
#include "
vrfobjparam/vrfobjparamDefines.h
"
24
class
DT_DLL_vrfobjparam
DtPrbStepFunction
:
public
DtRwList
25
{
26
public
:
27
29
DtPrbStepFunction
();
30
32
DtPrbStepFunction
(
const
DtString
& name,
33
DtReaderWriterRegistry
* parentRegistry = NULL);
34
DtPrbStepFunction
(
const
DtSymbolString
& name,
35
DtReaderWriterRegistry
* parentRegistry = NULL);
36
38
DtPrbStepFunction
(
const
DtString
& name,
const
39
DtPrbStepFunction
& orig,
DtReaderWriterRegistry
*
40
parentRegistry = NULL);
41
DtPrbStepFunction
(
const
DtSymbolString
& name,
const
42
DtPrbStepFunction
& orig,
DtReaderWriterRegistry
*
43
parentRegistry = NULL);
44
45
const
DtPrbStepFunction
&
operator=
(
const
46
DtPrbStepFunction
& orig);
47
49
virtual
~
DtPrbStepFunction
();
50
51
virtual
DtPrbStepFunction
* clone(
const
DtString
& name,
52
DtReaderWriterRegistry
* parentRegistry = NULL)
const
;
53
virtual
DtPrbStepFunction
* clone(
const
DtSymbolString
& name,
54
DtReaderWriterRegistry
* parentRegistry = NULL)
const
;
55
57
virtual
void
addTableEntry(
const
DtPrbValueList
& tableEntry);
58
64
virtual
bool
getProbabilities(DtReal value,
DtPrbValueList
* entry)
const
;
65
68
virtual
double
minInputValue()
const
;
69
72
virtual
double
maxInputValue()
const
;
73
74
protected
:
75
77
virtual
DtlObjPtr
getData
(DtlObjPtr args,
const
DtReaderWriter::SearchPaths
& searchPaths,
78
const
DtVariableBindingsList
& variableBindings);
79
82
void
emptyList();
83
86
void
copyList(
const
DtPrbStepFunction
& orig);
87
88
virtual
void
addTableEntry(
DtPrbValueList
* tableEntry);
89
91
bool
myRoundDown
;
92
};
93
94
95
96
97
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)