VR-Forces 4.1.1 Class Documentation
kynapseGroundPlatformCtrl.h
Go to the documentation of this file.
1 
2 /*******************************************************************************
3 ** Copyright (c) 2009 MAK Technologies, Inc.
4 ** All rights reserved.
5 *******************************************************************************/
6 /*******************************************************************************
7 * Copyright 2009 Autodesk, Inc. All rights reserved.
8 * Use of this software is subject to the terms of the Autodesk license
9 * agreement provided at the time of installation or download, or which otherwise
10 * accompanies this software in either electronic or hard copy form.
11 *******************************************************************************/
12 
13 
14 //
16 //
17 
18 #ifndef KYNAPSE_GROUNDPLATFORM_CONTROLLER_H
19 #define KYNAPSE_GROUNDPLATFORM_CONTROLLER_H
20 
22 #include "bhaveSim/kynapseCtrl.h"
23 
26 #include <vrftasks/userTask.h>
27 
28 class DtAnalogOutputPort;
32 class DtOutputPortGroup;
34 class DtKynapsePSR;
35 class DtScenario;
36 class DtAnalogOutputPort;
37 class DtAnalogOutputPort;
38 class DtOutputPortGroup;
41 class DtSoilFactors;
42 
43 
44 namespace BHAVE
45 {
46 
48 const char DtKynapseGroundPlatformControllerType[] = "kynapse-ground-platform-controller";
49 
57 {
58 public:
59 
62  DtSimManager * simManager, DtComponentDescriptor* desc = NULL,
63  DtReaderWriterRegistry * parentRegistry = 0);
64 
67 
71 
74  operator=(const DtKynapseGroundPlatformController& orig);
75 
76  virtual bool init();
77 
79  virtual DtString type() const;
80 
82  virtual void setComponentDescriptor(DtComponentDescriptor* descriptor);
83 
85  static DtSimComponent* creator(const DtString& name,
86  DtVrfObject* owner, DtSimManager* simManager,
88  DtReaderWriterRegistry* parentRegistry);
89 
90 
93  virtual double maxAcceleration() const;
96  virtual double maxDeceleration() const;
97 
98 protected:
99 
101  virtual DtBoolean createPorts();
102  virtual DtBoolean createPortGroups();
103 
107  virtual DtBoolean applyKynapseRecommendations();
108 
109  virtual DtBoolean deactivateOutputControl();
110 
112  virtual const DtSoilFactors* soilFactors() const;
115  virtual double slope() const;
116 
117 
118 protected:
119 
128 
129 };
130 
131 #endif
132 
133 } //namespace BHAVE

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)