VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
aimableSystemControlInterDIS.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2025 MAK Technologies, Inc.
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #if DtDIS
13 
14 #include <vl/interaction.h>
15 
18 #include <vl/globalObjectDesignator.h>
19 
24 {
25 public:
26 
28  DtAimableSystemControlInter(DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER);
30  DtAimableSystemControlInter(const DtNetPacket *pkt, DtBufferPtr buffer = DtUSE_INTERNAL_BUFFER, DtPduFactory* pduFactory = 0);
31 
33  virtual ~DtAimableSystemControlInter() override;
34 
37 
40 
42  void initializeAimableSystem();
43 
45  virtual void printData() const override;
46 
48  virtual void printDataToStream(std::ostream& stream) const override;
49 
50  // Embedded System methods:
51 
53  virtual DtGlobalObjectDesignator host() const;
54  virtual void setHost(const DtGlobalObjectDesignator& val);
55 
56  // Aimable System methods:
57 
59  virtual DtString id() const;
60  virtual void setId(const DtString& val);
61 
63  virtual DtAimableSystemTrackingMode trackingMode() const;
64  virtual void setTrackingMode(const DtAimableSystemTrackingMode& val);
65 
67  virtual DtGlobalObjectDesignator entityToTrack() const;
68  virtual void setEntityToTrack(const DtGlobalObjectDesignator& val);
69 
71  virtual DtVector locationToTrack() const;
72  virtual void setLocationToTrack(const DtVector& val);
73 
75  virtual bool powerOn() const;
76  virtual void setPowerOn(bool val);
77 
78 protected:
79 
80  // Returns the number of bytes in the fixed length portion of this PDU
81  // This is the initial size of the PDU before any variable datums are added
82  virtual unsigned int fixedBytesSize() const = 0;
83 
84  // A pointer to the first byte of variable datums. If there are no variable
85  // datums this points to the first byte out-of-bounds. This address should
86  // only be used if you know the PDU has been resized correctly.
87  virtual char *firstVarDatumStart() const = 0;
88 
89 };
90 
91 #endif // DtDIS
DtAimableSystemTrackingMode
Definition: aimableSystemEnums.h:49
Instances of DtAimableSystemControlInter are used to store state data for AimableSystemControl intera...
Definition: aimableSystemControlInterDIS.h:23
voidpf stream
Definition: ioapi.h:39
#define DT_DLL_vrfExtObjects
Definition: dllExport.h:23

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)