17 #include <matrix/vlVector.h>
37 virtual void useObserverAsHost();
41 virtual void setOwnshipLocation(DtVector location);
42 virtual DtVector ownshipLocation();
46 virtual void setOwnshipEntityId(
const std::string& name);
47 virtual std::string ownshipEntityId();
50 virtual bool isUsingObserverAsHost();
51 virtual bool isUsingEntityAsHost();
52 virtual bool isUsingAbsoluteLocation();
56 virtual void useObserverForTarget();
60 virtual void setTargetEntityId(
const std::string& name);
61 virtual std::string targetEntityId();
65 virtual void setTargetLocation(DtVector location);
66 virtual DtVector targetLocation();
69 virtual bool isUsingObserverForTarget();
70 virtual bool isUsingEntityForTarget();
71 virtual bool isUsingLocationForTarget();
75 virtual int messageSize();
77 static DtBaseMessage* decode(
unsigned char* buffer,
int length);
102 enum DtElevationError {ELEVATION_NO_ERROR, ELEVATION_ERROR_OCCLUDED, ELEVATION_ERROR_OTHER};
111 virtual void setElevation(
float elevation);
112 virtual float elevation();
115 virtual void setError(DtElevationError error);
116 virtual DtElevationError error();
119 virtual int messageSize();
121 static DtBaseMessage* decode(
unsigned char* buffer,
int length);
DtVector myOwnshipLocation
Definition: rfxElevationMessage.h:94
DtBaseMessage is the base class for all messages that can be sent between the server and the client...
Definition: rfxMessage.h:25
float myElevation
Definition: rfxElevationMessage.h:129
bool myUseObserverAsHost
Definition: rfxElevationMessage.h:85
Instances of DtStreamWriter encode values into a byte array this writes the data to the stream in lit...
Definition: byteStream.h:74
bool myUseObserverForTarget
Definition: rfxElevationMessage.h:88
bool myUseEntityAsHost
Definition: rfxElevationMessage.h:86
The DtElevationResponse encapsulates a response from the RadarFX Server for a given elevation request...
Definition: rfxElevationMessage.h:99
DtElevationError myError
Definition: rfxElevationMessage.h:130
The DtElevationRequest encapsulates a request for the elevation a given target location using the sen...
Definition: rfxElevationMessage.h:27
bool myUseEntityAsTarget
Definition: rfxElevationMessage.h:89
DtElevationError
Definition: rfxElevationMessage.h:102
DtVector myTargetLocation
Definition: rfxElevationMessage.h:95
#define RFX_DLL_SHARED
Definition: include/radarFxShared/export.h:15
std::string myOwnshipName
Definition: rfxElevationMessage.h:92
Defines the base class for all messages that can be sent between the server and the client...
std::string myTargetName
Definition: rfxElevationMessage.h:93
bool myUseAbsoluteOwnship
Definition: rfxElevationMessage.h:87
Instances of DtStreamReader decode values from a byte array this assumes the data in the byte stream ...
Definition: byteStream.h:27
bool myUseAbsoluteTarget
Definition: rfxElevationMessage.h:90