VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Static Protected Member Functions
makVrfMetoc::DtWeatherEncoder Class Reference

Instances of DtWeatherEncoder encode data from DtWeatherStateRepository objects to the net structures to be sent to the network.

Inheritance diagram for makVrfMetoc::DtWeatherEncoder:
Inheritance graph
[legend]

Public Member Functions

 DtWeatherEncoder (DtExerciseConn *exConn, DtObjClassDesc *classDesc)
 
virtual ~DtWeatherEncoder ()
 
 DtWeatherEncoder (const DtWeatherEncoder &orig)
 
DtWeatherEncoderoperator= (const DtWeatherEncoder &orig)
 
- Public Member Functions inherited from makVrfMetoc::DtEnvironmentConditionEncoder
 DtEnvironmentConditionEncoder (DtExerciseConn *exConn, DtObjClassDesc *classDesc)
 
virtual ~DtEnvironmentConditionEncoder ()
 
 DtEnvironmentConditionEncoder (const DtEnvironmentConditionEncoder &orig)
 
DtEnvironmentConditionEncoderoperator= (const DtEnvironmentConditionEncoder &orig)
 
- Public Member Functions inherited from makVrfMetoc::DtMetocRootEncoder
 DtMetocRootEncoder (DtExerciseConn *exConn, DtObjClassDesc *classDesc)
 
virtual ~DtMetocRootEncoder ()
 
 DtMetocRootEncoder (const DtMetocRootEncoder &orig)
 
DtMetocRootEncoderoperator= (const DtMetocRootEncoder &orig)
 

Static Public Member Functions

static DtHlaStateEncodercreate (DtExerciseConn *exConn, DtObjClassDesc *classDesc)
 
- Static Public Member Functions inherited from makVrfMetoc::DtEnvironmentConditionEncoder
static DtHlaStateEncodercreate (DtExerciseConn *exConn, DtObjClassDesc *classDesc)
 
- Static Public Member Functions inherited from makVrfMetoc::DtMetocRootEncoder
static DtHlaStateEncodercreate (DtExerciseConn *exConn, DtObjClassDesc *classDesc)
 

Static Protected Member Functions

static bool needTemperature (const DtWeatherStateRepository &stateRep, const DtWeatherStateRepository &asSeenByRemote)
 
static void encodeTemperature (const DtWeatherStateRepository &rep, RTI::AttributeHandleValuePairSet *attrs, RTI::AttributeHandle attrHandle)
 
static bool needWind (const DtWeatherStateRepository &stateRep, const DtWeatherStateRepository &asSeenByRemote)
 
static void encodeWind (const DtWeatherStateRepository &rep, RTI::AttributeHandleValuePairSet *attrs, RTI::AttributeHandle attrHandle)
 
static bool needPrecipitation (const DtWeatherStateRepository &stateRep, const DtWeatherStateRepository &asSeenByRemote)
 
static void encodePrecipitation (const DtWeatherStateRepository &rep, RTI::AttributeHandleValuePairSet *attrs, RTI::AttributeHandle attrHandle)
 
static bool needHaze (const DtWeatherStateRepository &stateRep, const DtWeatherStateRepository &asSeenByRemote)
 
static void encodeHaze (const DtWeatherStateRepository &rep, RTI::AttributeHandleValuePairSet *attrs, RTI::AttributeHandle attrHandle)
 
static bool needHumidity (const DtWeatherStateRepository &stateRep, const DtWeatherStateRepository &asSeenByRemote)
 
static void encodeHumidity (const DtWeatherStateRepository &rep, RTI::AttributeHandleValuePairSet *attrs, RTI::AttributeHandle attrHandle)
 
static bool needBarometricPressure (const DtWeatherStateRepository &stateRep, const DtWeatherStateRepository &asSeenByRemote)
 
static void encodeBarometricPressure (const DtWeatherStateRepository &rep, RTI::AttributeHandleValuePairSet *attrs, RTI::AttributeHandle attrHandle)
 
static bool needVisibilityRange (const DtWeatherStateRepository &stateRep, const DtWeatherStateRepository &asSeenByRemote)
 
static void encodeVisibilityRange (const DtWeatherStateRepository &rep, RTI::AttributeHandleValuePairSet *attrs, RTI::AttributeHandle attrHandle)
 
- Static Protected Member Functions inherited from makVrfMetoc::DtEnvironmentConditionEncoder
static bool needServiceId (const DtEnvironmentConditionStateRepository &stateRep, const DtEnvironmentConditionStateRepository &asSeenByRemote)
 
static void encodeServiceId (const DtEnvironmentConditionStateRepository &rep, RTI::AttributeHandleValuePairSet *attrs, RTI::AttributeHandle attrHandle)
 
static bool needGeoReference (const DtEnvironmentConditionStateRepository &stateRep, const DtEnvironmentConditionStateRepository &asSeenByRemote)
 
static void encodeGeoReference (const DtEnvironmentConditionStateRepository &rep, RTI::AttributeHandleValuePairSet *attrs, RTI::AttributeHandle attrHandle)
 
- Static Protected Member Functions inherited from makVrfMetoc::DtMetocRootEncoder
static bool needUniqueId (const DtMetocRootStateRepository &stateRep, const DtMetocRootStateRepository &asSeenByRemote)
 
static void encodeUniqueId (const DtMetocRootStateRepository &rep, RTI::AttributeHandleValuePairSet *attrs, RTI::AttributeHandle attrHandle)
 
static bool needName (const DtMetocRootStateRepository &stateRep, const DtMetocRootStateRepository &asSeenByRemote)
 
static void encodeName (const DtMetocRootStateRepository &rep, RTI::AttributeHandleValuePairSet *attrs, RTI::AttributeHandle attrHandle)
 

Constructor & Destructor Documentation

makVrfMetoc::DtWeatherEncoder::DtWeatherEncoder ( DtExerciseConn *  exConn,
DtObjClassDesc *  classDesc 
)

Default constructor.

virtual makVrfMetoc::DtWeatherEncoder::~DtWeatherEncoder ( )
virtual

Destructor.

makVrfMetoc::DtWeatherEncoder::DtWeatherEncoder ( const DtWeatherEncoder orig)

Copy constructor.

Member Function Documentation

DtWeatherEncoder& makVrfMetoc::DtWeatherEncoder::operator= ( const DtWeatherEncoder orig)

Assignment operator.

static DtHlaStateEncoder* makVrfMetoc::DtWeatherEncoder::create ( DtExerciseConn *  exConn,
DtObjClassDesc *  classDesc 
)
static

Function that creates a DtWeatherEncoder.

static bool makVrfMetoc::DtWeatherEncoder::needTemperature ( const DtWeatherStateRepository stateRep,
const DtWeatherStateRepository asSeenByRemote 
)
staticprotected

Return true if Temperature needs to be sent to the network, false otherwise.

static void makVrfMetoc::DtWeatherEncoder::encodeTemperature ( const DtWeatherStateRepository rep,
RTI::AttributeHandleValuePairSet *  attrs,
RTI::AttributeHandle  attrHandle 
)
staticprotected

Encodes Temperature from rep into attrs.

static bool makVrfMetoc::DtWeatherEncoder::needWind ( const DtWeatherStateRepository stateRep,
const DtWeatherStateRepository asSeenByRemote 
)
staticprotected

Return true if Wind needs to be sent to the network, false otherwise.

static void makVrfMetoc::DtWeatherEncoder::encodeWind ( const DtWeatherStateRepository rep,
RTI::AttributeHandleValuePairSet *  attrs,
RTI::AttributeHandle  attrHandle 
)
staticprotected

Encodes Wind from rep into attrs.

static bool makVrfMetoc::DtWeatherEncoder::needPrecipitation ( const DtWeatherStateRepository stateRep,
const DtWeatherStateRepository asSeenByRemote 
)
staticprotected

Return true if Precipitation needs to be sent to the network, false otherwise.

static void makVrfMetoc::DtWeatherEncoder::encodePrecipitation ( const DtWeatherStateRepository rep,
RTI::AttributeHandleValuePairSet *  attrs,
RTI::AttributeHandle  attrHandle 
)
staticprotected

Encodes Precipitation from rep into attrs.

static bool makVrfMetoc::DtWeatherEncoder::needHaze ( const DtWeatherStateRepository stateRep,
const DtWeatherStateRepository asSeenByRemote 
)
staticprotected

Return true if Haze needs to be sent to the network, false otherwise.

static void makVrfMetoc::DtWeatherEncoder::encodeHaze ( const DtWeatherStateRepository rep,
RTI::AttributeHandleValuePairSet *  attrs,
RTI::AttributeHandle  attrHandle 
)
staticprotected

Encodes Haze from rep into attrs.

static bool makVrfMetoc::DtWeatherEncoder::needHumidity ( const DtWeatherStateRepository stateRep,
const DtWeatherStateRepository asSeenByRemote 
)
staticprotected

Return true if Humidity needs to be sent to the network, false otherwise.

static void makVrfMetoc::DtWeatherEncoder::encodeHumidity ( const DtWeatherStateRepository rep,
RTI::AttributeHandleValuePairSet *  attrs,
RTI::AttributeHandle  attrHandle 
)
staticprotected

Encodes Humidity from rep into attrs.

static bool makVrfMetoc::DtWeatherEncoder::needBarometricPressure ( const DtWeatherStateRepository stateRep,
const DtWeatherStateRepository asSeenByRemote 
)
staticprotected

Return true if BarometricPressure needs to be sent to the network, false otherwise.

static void makVrfMetoc::DtWeatherEncoder::encodeBarometricPressure ( const DtWeatherStateRepository rep,
RTI::AttributeHandleValuePairSet *  attrs,
RTI::AttributeHandle  attrHandle 
)
staticprotected

Encodes BarometricPressure from rep into attrs.

static bool makVrfMetoc::DtWeatherEncoder::needVisibilityRange ( const DtWeatherStateRepository stateRep,
const DtWeatherStateRepository asSeenByRemote 
)
staticprotected

Return true if VisibilityRange needs to be sent to the network, false otherwise.

static void makVrfMetoc::DtWeatherEncoder::encodeVisibilityRange ( const DtWeatherStateRepository rep,
RTI::AttributeHandleValuePairSet *  attrs,
RTI::AttributeHandle  attrHandle 
)
staticprotected

Encodes VisibilityRange from rep into attrs.


The documentation for this class was generated from the following file:

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)