VR-Forces 5.0.2 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();
47 
50  virtual DtString type() const;
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
72  = 0) const;
73 
75  static DtComponentDescriptor * creator();
76 
77 protected:
80 
81 protected:
82 
86 
93 
100 
108 
110 };
111 
112 #endif
113 
114 
115 
#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:107
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 Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)