vehicleEnc encodes vehicle objects.
#if DtHLA
#ifndef VehicleEncoder_H_
#define VehicleEncoder_H_
#define DtDECLARE_TEST_ATTR_CHECKER(attrName) \
DtDECLARE_ATTR_CHECKER(DtEntityStateRepository, attrName)
#define DtDECLARE_TEST_ATTR_ENCODER(attrName) \
DtDECLARE_ATTR_ENCODER(DtEntityStateRepository, attrName)
{
public:
protected:
};
#endif
#endif
#if DtHLA
{
}
{
}
bool VehicleEncoder::needVehicleType(
{
}
bool VehicleEncoder::needGeocLoc(
{
}
RTI::AttributeHandle attrHandle)
{
{
netVal = 0;
}
{
netVal = 1;
}
attrs->
add(attrHandle, (
char*) &netVal,
sizeof(netVal));
}
RTI::AttributeHandle attrHandle)
{
attrs->
add(attrHandle, (
char*) &netVal,
sizeof(netVal));
}
#endif