VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
examples
exampleCloudDriver
DtCloudDriver.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2011 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
11
12
#pragma once
13
14
#include <vrvCore/DtDriver.h>
15
#include <makArchives/DtEnvironmentRecord.h>
16
17
#include "
exampleCloudDriverPlugin.h
"
// for exports
18
#include "
DtCloudDriverCommon.h
"
19
20
namespace
makVrv
21
{
22
class
DtDe
;
23
24
namespace
vrvExampleCloudDriver
25
{
26
class
DtCloudParser
;
27
30
class
DT_DLL_EXAMPLECLOUDDRIVER
DtCloudDriver
:
public
makVrv::DtDriver
31
{
32
public
:
33
35
DtCloudDriver
(DtAgentManager& am);
36
38
virtual
~
DtCloudDriver
();
39
41
virtual
const
std::string& className()
const
;
42
43
protected
:
45
virtual
bool
onStart();
46
48
virtual
bool
onStop();
49
52
virtual
bool
onTick();
53
55
void
makeClouds(
const
DtCloudParser
& parser);
56
58
void
makeWind(
const
DtCloudParser
& parser);
59
61
void
on_cloudLayerAdded(
int
index);
62
64
void
on_cloudLayerDestroyed(
int
index);
65
66
protected
:
67
double
myLastUpdate
;
68
69
makArchives::DtEnvironmentRecord::CloudLayerRecordList
myCloudLayers
;
70
WindList
myWindList
;
71
};
72
}
73
}
Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)