VR-Forces 4.2 Class Documentation
subSurfDepthCtl.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 #pragma once
11 
13 
16 class DtAnalogOutputPort;
18 
19 enum
20 {
26 };
27 
34 {
35 
36 public:
37 
44  DtVrfObject* owner,
45  DtSimManager* simManager,
46  DtComponentDescriptor* desc = 0,
47  DtReaderWriterRegistry* parentRegistry = 0);
48 
52  virtual ~DtSubSurfaceDepthController();
53 
56  virtual DtString type() const;
57 
60  virtual bool init();
61 
62  static void gotoDepthCallback(DtSimMessage* msg, void* usr);
63 
64  virtual void processGotoDepthTask(DtSimMessage* msg);
65 
66  virtual void registerTaskMsgCallbacks();
67 
70  virtual void tick();
71 
74  virtual double entityDepth();
75 
78 
82  static DtSimComponent * creator(const DtString& name,
83  DtVrfObject* owner,
84  DtSimManager* simManager,
85  DtComponentDescriptor* desc = 0,
86  DtReaderWriterRegistry* parentRegistry = 0);
87 
88 
89 protected:
90 
92  virtual bool createPorts();
93 
95  virtual void clearTask();
96 
104  virtual void lookupAndCacheProcessSR();
105 
109  virtual bool postAddComponentsInit();
110 
111 private:
112 
115 
118  const DtSubSurfaceDepthController & orig);
119 
122  const DtSubSurfaceDepthController & orig);
123 
124 
125 protected:
126 
128 
131 
134 
137 
144 
145 
155 };

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)