VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
appearanceLocalObjectFacade.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
10 
11 class DtLocalObject;
12 
16 {
17 public:
19 
22 
23  void setNextFrameAppearance(const DtAppearance&);
24  void setNextFrameAppearanceBits(unsigned int);
25  DtAppearance nextFrameAppearance() const;
26 
27  bool nextFrameMobilityKilled() const;
28  void setNextFrameMobilityKilled(const bool mobilityKilled);
29 
30  void setNextFrameFirePowerKilled(bool);
31  int nextFrameFirepowerKilled() const;
32 
33  void setNextFrameDamageState(int);
34  DtDamageState nextFrameDamageState() const;
35 
36  void setNextFrameHealthPct(DtReal pct);
37 
38  void setNextFrameCapabilities(int);
39  int nextFrameCapabilities() const;
40 
41  void setNextFramePrimaryWeaponState(int s);
42  int nextFramePrimaryWeaponState() const;
43 
44  void setNextFrameConcealed(bool);
45  bool nextFrameConcealed() const;
46 
47  void setNextFrameComplianceState(int);
48  int nextFrameComplianceState() const;
49 
50  void setNextFrameDestroyed(bool);
51  bool nextFrameDestroyed() const;
52 
53 protected:
54  virtual DtLocalObject* localObject() const = 0;
55  virtual void setupDecorator();
56 
57 protected:
59 };
60 
The DtSimulatedObjectStateComponent is an interface that all main components (those that are consider...
Definition: simulatedObjectStateComponent.h:21
DtLocalObjectFacade< DtAppearanceSimObjectFacadeInterface, DtAppearanceLocalObjectFacadeInterface > DtAppearanceLocalObjectFacade
Definition: appearanceLocalObjectFacade.h:61
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
If inheriting from a base sim object proxy.
Definition: localObjectFacadeBase.h:32
This DtAppearanceLocalObjectFacadeInterface class will provide API functionality for objects that hav...
Definition: appearanceLocalObjectFacade.h:15
makVrf::DtSimulatedObjectStateComponent * myNextFrameSimulatedObjectStateComponent
Definition: appearanceLocalObjectFacade.h:58
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)