VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
missileLocalObjectFacade.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 
14 {
15 public:
18 
21 
22  bool isUsable() const;
23 
24  bool fireAndForget() const;
25 
26  void setNextFrameAttacker(const DtUUID&);
27  DtUUID nextFrameAttacker() const;
28 
29  void setNextFrameTarget(const DtUUID&);
30  DtUUID nextFrameTarget() const;
31  void clearNextFrameTarget();
32 
33  void setNextFrameTargetPoint(const DtVector&);
34  void clearNextFrameTargetPoint();
35 
37  void setNextFrameEventId(const DtString&);
38  DtString nextFrameEventId() const;
39 
40 protected:
41  virtual DtLocalObject* localObject() const = 0;
42  virtual void setupDecorator() override;
43 };
44 
UUID is a unique ID wrapper class.
Definition: uuid.h:59
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
virtual DtLocalObject * localObject() const =0
This DtMissileLocalObjectFacadeInterface class will provide API functionality for VRF created missile...
Definition: missileLocalObjectFacade.h:12
This DtPlatformLocalObjectFacadeInterface class will provide API functionality for platform objects...
Definition: platformLocalObjectFacade.h:18
DtLocalObjectFacade< DtMissileSimObjectFacadeInterface, DtMissileLocalObjectFacadeInterface > DtMissileLocalObjectFacade
Definition: missileLocalObjectFacade.h:45
virtual void setupDecorator() override
Must add setupLogic for all subclassed items. As one subclassed item is added, add it to this setupLo...
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)