16 #define DtDEC_ATTRIBUTE_CLEAR( T, N, n ) \
18 void set##N( const T& val ) { my##N = val; myb##N = true; } \
19 const T& n() const { return my##N; } \
20 const bool isset##N() const { return myb##N; } \
21 void clear##N() { myb##N = false; } \
22 T& n() { return my##N; } \
27 namespace MAKVrExchange
52 typedef void (*functionCallback_type) (
63 functionCallback_type callbackFunction,
void* userData );
67 functionCallback_type callbackFunction,
void* userData );
75 #if (VRF_RELEASE_NUM < 24)
117 virtual void setWindLevelsVector(std::vector<myPortalWindLevels> newVector);
118 virtual bool isWindLevelsVectorSet()
const;
120 virtual void removeWindLevel(
double baseAltitude);
122 virtual void clearWindLevels();
124 virtual void decodeWindLevelsVector(DtAttributeValuePairList::iterator i,
int* count);
125 virtual void printWindLevelsVector(std::ostream& stream)
const;
129 virtual unsigned int netSize()
const;
130 virtual void writeSelfToBuffer(
void* buffer,
int bufferSize )
const;
131 virtual void readSelfFromBuffer(
const void* buffer,
int bufferSize );
133 virtual std::ostream& printDataToStream( std::ostream& stream )
const;
static DtPortalMessage * create()
Definition: pVrfChangeGlobalWeatherCommand.h:150
double myWindDirection
Definition: pVrfChangeGlobalWeatherCommand.h:34
double myBaseAltitude
Definition: pVrfChangeGlobalWeatherCommand.h:32
double myVisibilityDistance
Definition: pVrfChangeGlobalWeatherCommand.h:35
#define DT_DLL_LIBPORTAL
Definition: include/portal/dllExport.h:20
static const DtPortalMessageKind theKind
NOTE: DtDEC_ATTRIBUTE resets the access specifier to protected.
Definition: pVrfChangeGlobalWeatherCommand.h:113
unsigned int myVisibilityObscurant
Definition: pVrfChangeGlobalWeatherCommand.h:36
DtPortalVrfChangeGlobalWeatherCommandInteraction()
CTOR.
The base class for all messages passed through the portal.
Definition: pMessage.h:66
Contains the DtPortalInteraction class declaration.
double myWindSpeed
Definition: pVrfChangeGlobalWeatherCommand.h:33
DtPortalInteractions are a special type of DtPortalMessages which are used to transmit simulation dat...
Definition: pInteraction.h:21
double myCloudDensity
Definition: pVrfChangeGlobalWeatherCommand.h:38
std::vector< myPortalWindLevels > DtPortalWindLevels
Definition: pVrfChangeGlobalWeatherCommand.h:116
Definition: pVrfChangeGlobalWeatherCommand.h:30
int myCloudType
Definition: pVrfChangeGlobalWeatherCommand.h:37
Connects a broker to the Portal Data Exchange.
Definition: pConnection.h:49
Vrf Change Global Weather Command Interaction class.
Definition: pVrfChangeGlobalWeatherCommand.h:46
std::list< DtAttributeValuePair > DtAttributeValuePairList
A list of DtAttributeValuePairs.
Definition: variableLengthData.h:79
DtPortalMessageKind
A List of message kinds distributed with the Portal.
Definition: pMessageKinds.h:23
#define DtDEC_ATTRIBUTE_CLEAR(T, N, n)
Redefine attribute macro. All attributes in this message are optional.
Definition: pVrfChangeGlobalWeatherCommand.h:16
double mySkyCoverage
Definition: pVrfChangeGlobalWeatherCommand.h:39