VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
groundMoveToDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2003 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: gndMoveToDesc.h,v $ $Revision: 1.12 $ $State: Exp $
7 *******************************************************************************/
8 
11 
15 
16 #ifndef DtGroundMoveToDescriptor_H_
17 #define DtGroundMoveToDescriptor_H_
18 
19 
21 #include <readerWriter/rwReal.h>
22 #include <readerWriter/rwBoolean.h>
23 
25 
31 {
32 public:
35  parentRegistry = 0);
36 
39  DtReaderWriterRegistry * parentRegistry = 0);
40 
44 
46  virtual ~DtGroundMoveToDescriptor() override;
47 
50  virtual DtString type() const override;
51 
54  virtual void setAtDistance(DtReal atDistance);
55  virtual DtReal atDistance() const;
57 
58 
61  virtual void setNearDistance(DtReal nearDistance);
62  virtual DtReal nearDistance() const;
64 
67  virtual void setApproachSpeed(DtReal approachSpeed);
68  virtual DtReal approachSpeed() const;
70 
71  virtual DtComponentDescriptor * clone(DtReaderWriterRegistry* parentRegistry = 0) const override;
72 
74  static DtComponentDescriptor * creator();
75 
76 protected:
79 
80 protected:
81 
85 
93 
100 
107 
109 };
110 
111 #endif
112 
113 
114 
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
A DtComponentDescriptor that has parameters that indicate the distances at which the entity is consid...
Definition: groundMoveToDescriptor.h:30
DtRwReal myApproachSpeed
Parameter Name: approach-speed Parameter Description: Speed entity should go when approaching (near) ...
Definition: groundMoveToDescriptor.h:106
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
Definition: readerWriterRegistry.h:39
DtComponentDescriptor & operator=(const DtComponentDescriptor &orig)
assignment
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=NULL) const
DtRwReal myNearDistance
Parameter Name: near-distance Parameter Description: The distance from a destination point at which a...
Definition: groundMoveToDescriptor.h:92
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
DtRwReal myAtDistance
Parameter Name: at-distance Parameter Description: The distance from a destination point at which an ...
Definition: groundMoveToDescriptor.h:99
virtual DtString type() const
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
static DtComponentDescriptor * creator()

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)