VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
movementSimObjectFacade.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2021 MAK Technologies, Inc.
3  * All rights reserved.
4  ****************************************************************************/
5 
6 #pragma once
7 
9 #include "vlpi/disEnums.h"
10 #include <matrix/vlVector.h>
11 #include <tbb/spin_rw_mutex.h>
12 
13 class DtThresholder;
14 
15 namespace makVrf
16 {
17  class DtEntityLocationStateComponent;
18 }
19 
22 {
23 public:
24 
26 
28 
30  virtual bool isUsable() const;
31 
32  DtDeadReckonTypes deadReckoningAlgorithm() const;
33 
34  const DtThresholder& thresholder() const;
35 
37  bool isSpatiallyFrozen() const;
38 
40  bool isFrozen() const;
41 
43  DtStationName parentStationName() const;
44 
46  const DtVector& worldVelocity() const;
47  const DtVector& localVelocity() const;
48  const DtVector bodyVelocity() const;
49  const DtVector& relativeVelocity() const;
50  const DtVector& parentVelocity() const;
51  const DtVector& rotationalVelocity() const;
52 
54  const DtVector& worldAcceleration() const;
55  const DtVector& localAcceleration() const;
56  const DtVector& relativeAcceleration() const;
57 
59  double localSpeed() const;
60 
62  double speed() const;
63  double forwardSpeed() const;
64 
65 protected:
66 
68  virtual DtSimObjectReference simObject() const = 0;
69  void setupDecorator();
70  const makVrf::DtEntityLocationStateComponent* entityLocationStateComponent() const;
71 
72 protected:
74  mutable tbb::spin_rw_mutex myEntityLocationStateComponentMutex;
75 };
76 
77 
tbb::spin_rw_mutex myEntityLocationStateComponentMutex
Definition: movementSimObjectFacade.h:74
2) Define the interface class that will be used to represent the next and curent frames. The UNDEFINED_ macros are convenience macros that will define methods that throw exceptions (until they are implemented)
Definition: entityLocationStateComponent.h:116
This DtMovementSimObjectFacadeInterface class will provide API functionality for objects that have ve...
Definition: movementSimObjectFacade.h:21
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
DtSimObjectFacade< DtMovementSimObjectFacadeInterface > DtMovementSimObjectFacade
Definition: movementSimObjectFacade.h:78
const makVrf::DtEntityLocationStateComponent * myEntityLocationStateComponent
Definition: movementSimObjectFacade.h:73

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)