VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
radioTransmitterEncoderDIS.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
10 #if DtDIS
11 
12 #ifndef radioTransmitterEncoderDIS_H_
13 #define radioTransmitterEncoderDIS_H_
14 
15 #include "stateEncoder.h"
17 #include "transmitterPdu.h"
18 
19 
26 {
27 public:
28 
31 
33  virtual ~DtRadioTransmitterEncoder();
34 
37 
40 
45  virtual DtTransmitterPdu* stateMsg(
46  const DtRadioTransmitterRepository& stateRep,
47  const DtRadioTransmitterRepository& asSeenByRemote);
48 
50 
51 protected:
52 
54  virtual bool sendNeeded(
55  const DtRadioTransmitterRepository& stateRep,
56  const DtRadioTransmitterRepository& asSeenByRemote);
57 
59  virtual bool antennaLocationThresholdExceeded(
60  const DtVector& stateRepLocation,
61  const DtVector& asSeenByRemoteLocation, double threshold) const;
62 
68  virtual bool antennaOrientationThresholdExceeded(
69  const DtTaitBryan& stateRepOrientation,
70  const DtTaitBryan& asSeenByRemoteOrientation, double threshold) const;
71 
72 protected:
75 };
76 
77 #endif
78 #endif
79 
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
DtTaitBryans are used to represent orientation of an object, using a set of three Euler angles...
Definition: vlTaitBryan.h:43
This class handles encoding of Transmitter PDUs.
Definition: radioTransmitterEncoderDIS.h:25
DtTransmitterPdu myPdu
The PDU constructed by the encoder.
Definition: radioTransmitterEncoderDIS.h:74
The DtStateEncoder class provides a base class for all DIS encoders.
Definition: stateEncoder.h:33
Definition: vlVector.h:224
Instances of DtRadioTransmitterRepository are used to store state information for objects which are r...
Definition: radioTransmitterRepository.h:29
DtStateEncoder & operator=(const DtStateEncoder &orig)
Assignment operator.
#define DtCLONE_ENCODER(encoderClass)
Definition: stateEncoder.h:26
The transmitter pdu.
Definition: transmitterPdu.h:61
This file declares the DIS version of DtStateEncoder.

Document ID: Generated on Thu Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)