VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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>
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 
31  {
32  public:
33 
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 
71  };
72  }
73 }
A simple CSV parsing class which creates lists of DtCloudLayerRecords and DtWinds.
Definition: DtCloudParser.h:24
A DtDriver. Creates cloud layers and wind based on an external datasource. Dynamically moves the clou...
Definition: DtCloudDriver.h:30
makArchives::DtEnvironmentRecord::CloudLayerRecordList myCloudLayers
Definition: DtCloudDriver.h:69
#define DT_DLL_EXAMPLECLOUDDRIVER
Definition: exampleCloudDriverPlugin.h:20
The DtDriver is an abstract class. Developers derive from this to create logic that &quot;directs&quot; things ...
Definition: DtDriver.h:31
std::vector< DtCloudLayerRecord > CloudLayerRecordList
Definition: DtEnvironmentRecord.h:367
The declaration of the makArchives::DtEnvironmentRecord class.
double myLastUpdate
Definition: DtCloudDriver.h:67
std::vector< DtWind > WindList
Definition: DtCloudDriverCommon.h:45
The DtAgentManager manages the distributed scene object framework. This includes the objects and upda...
Definition: DtAgentManager.h:38
Contains makVrv:DtDriver class.
Contains makVrv::vrvExampleCloudDriver::DtWind.
WindList myWindList
Definition: DtCloudDriver.h:70
DLL export definitions for DtCloudDriver.

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)