vehicleDec decodes vehicle objects.
#if DtHLA
#ifndef VehicleDecoder_H_
#define VehicleDecoder_H_
#define DtDECLARE_VEHICLE_ATTR_DECODER(attrName) \
DtDECLARE_ATTR_DECODER(DtEntityStateRepository, attrName)
{
public:
virtual ~VehicleDecoder();
protected:
DtDECLARE_VEHICLE_ATTR_DECODER(VehicleType);
DtDECLARE_VEHICLE_ATTR_DECODER(GeocLoc);
};
#endif
#endif
#if DtHLA
VehicleDecoder::VehicleDecoder(
DtObjClassDesc* classDesc) :
DtHlaStateDecoder(exConn, classDesc)
{
DtADD_ATTR_DECODER(VehicleType);
DtADD_ATTR_DECODER(GeocLoc);
}
VehicleDecoder::~VehicleDecoder()
{
}
const RTI::AttributeHandleValuePairSet& attrs,
int index)
{
RTI::ULong length = 0;
if (nativeVal == 0)
{
}
else if (nativeVal == 1)
{
}
}
const RTI::AttributeHandleValuePairSet& attrs,
int index)
{
RTI::ULong length = 0;
}
#endif