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
vrfmodel
aggregateDynamicFeaturesController.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2015 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
10
11
#pragma once
12
13
#include "
vrfmodel/vrfmodelDefines.h
"
14
#include "
vrfmodel/dynamicFeaturesController.h
"
15
16
class
DT_DLL_vrfmodel
DtAggregateVrfObjectFeature
:
public
DtVrfObjectFeature
17
{
18
public
:
19
explicit
DtAggregateVrfObjectFeature
(
DtVrfObject
*
object
);
20
21
virtual
boost::optional<double> percentComplete()
const
;
22
virtual
boost::optional<bool> isBreached()
const
;
23
};
24
25
class
DT_DLL_vrfmodel
DtAggregateDynamicFeaturesController
:
public
DtDynamicFeaturesController
26
{
27
public
:
28
DtAggregateDynamicFeaturesController
(
29
const
DtString
& name,
30
DtVrfObject
* owner,
31
DtSimManager
* simManager,
32
DtComponentDescriptor
* desc = 0,
33
DtReaderWriterRegistry
* parentRegistry = 0);
34
35
static
DtSimComponent
*
creator
(
const
DtString
& name,
36
DtVrfObject
* owner,
37
DtSimManager
* simManager,
38
DtComponentDescriptor
* desc = 0,
39
DtReaderWriterRegistry
* parentRegistry = 0);
40
43
virtual
const
char
*
type
()
const
;
44
45
protected
:
46
virtual
boost::shared_ptr<DtVrfObjectFeature>
createFeature
();
47
virtual
bool
isChanged
()
const
;
48
49
boost::optional<double>
myLastPercentComplete
;
50
boost::optional<bool>
myLastBreached
;
51
52
private
:
53
DtAggregateDynamicFeaturesController
(
const
DtAggregateDynamicFeaturesController
&);
54
DtAggregateDynamicFeaturesController
&
operator=
(
const
DtAggregateDynamicFeaturesController
&);
55
};
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
)