PxVehicleDriveSimData Class Reference

Data structure describing non-wheel configuration data of a vehicle that has engine, gears, clutch, and auto-box. More...

#include <PxVehicleDrive.h>

Inheritance diagram for PxVehicleDriveSimData:
Collaboration diagram for PxVehicleDriveSimData:

Public Member Functions

PX_FORCE_INLINE const PxVehicleEngineDatagetEngineData () const
 Return the engine data. More...
 
void setEngineData (const PxVehicleEngineData &engine)
 Set the engine data. More...
 
PX_FORCE_INLINE const PxVehicleGearsDatagetGearsData () const
 Return the gears data. More...
 
void setGearsData (const PxVehicleGearsData &gears)
 Set the gears data. More...
 
PX_FORCE_INLINE const PxVehicleClutchDatagetClutchData () const
 Return the clutch data. More...
 
void setClutchData (const PxVehicleClutchData &clutch)
 Set the clutch data. More...
 
PX_FORCE_INLINE const PxVehicleAutoBoxDatagetAutoBoxData () const
 Return the autobox data. More...
 
void setAutoBoxData (const PxVehicleAutoBoxData &autobox)
 Set the autobox data. More...
 
 PxVehicleDriveSimData ()
 
 PxVehicleDriveSimData (const PxEMPTY)
 

Static Public Member Functions

static void getBinaryMetaData (PxOutputStream &stream)
 

Protected Member Functions

bool isValid () const
 Test that a PxVehicleDriveSimData instance has been configured with legal data. Call only after setting all components with setEngineData,setGearsData,setClutchData,setAutoBoxData. More...
 

Protected Attributes

PxVehicleEngineData mEngine
 
PxVehicleGearsData mGears
 
PxVehicleClutchData mClutch
 
PxVehicleAutoBoxData mAutoBox
 

Friends

class PxVehicleDriveTank
 

Detailed Description

Data structure describing non-wheel configuration data of a vehicle that has engine, gears, clutch, and auto-box.

See also
PxVehicleWheelsSimData for wheels configuration data.

Constructor & Destructor Documentation

◆ PxVehicleDriveSimData() [1/2]

PxVehicleDriveSimData::PxVehicleDriveSimData ( )
inline

◆ PxVehicleDriveSimData() [2/2]

PxVehicleDriveSimData::PxVehicleDriveSimData ( const PxEMPTY  )
inline

Member Function Documentation

◆ getAutoBoxData()

PX_FORCE_INLINE const PxVehicleAutoBoxData& PxVehicleDriveSimData::getAutoBoxData ( ) const
inline

Return the autobox data.

◆ getBinaryMetaData()

static void PxVehicleDriveSimData::getBinaryMetaData ( PxOutputStream stream)
static

◆ getClutchData()

PX_FORCE_INLINE const PxVehicleClutchData& PxVehicleDriveSimData::getClutchData ( ) const
inline

Return the clutch data.

◆ getEngineData()

PX_FORCE_INLINE const PxVehicleEngineData& PxVehicleDriveSimData::getEngineData ( ) const
inline

Return the engine data.

◆ getGearsData()

PX_FORCE_INLINE const PxVehicleGearsData& PxVehicleDriveSimData::getGearsData ( ) const
inline

Return the gears data.

◆ isValid()

bool PxVehicleDriveSimData::isValid ( ) const
protected

Test that a PxVehicleDriveSimData instance has been configured with legal data. Call only after setting all components with setEngineData,setGearsData,setClutchData,setAutoBoxData.

See also
PxVehicleDrive4W::setup, PxVehicleDriveTank::setup

◆ setAutoBoxData()

void PxVehicleDriveSimData::setAutoBoxData ( const PxVehicleAutoBoxData autobox)

Set the autobox data.

Parameters
[in]autobox- the data stored in autobox is copied to the vehicle's autobox.

◆ setClutchData()

void PxVehicleDriveSimData::setClutchData ( const PxVehicleClutchData clutch)

Set the clutch data.

Parameters
[in]clutch- the data stored in clutch is copied to the vehicle's clutch.

◆ setEngineData()

void PxVehicleDriveSimData::setEngineData ( const PxVehicleEngineData engine)

Set the engine data.

Parameters
[in]engine- the data stored in engine is copied to the vehicle's engine.

◆ setGearsData()

void PxVehicleDriveSimData::setGearsData ( const PxVehicleGearsData gears)

Set the gears data.

Parameters
[in]gears- the data stored in gears is copied to the vehicle's gears.

Friends And Related Function Documentation

◆ PxVehicleDriveTank

friend class PxVehicleDriveTank
friend

Member Data Documentation

◆ mAutoBox

PxVehicleAutoBoxData PxVehicleDriveSimData::mAutoBox
protected

◆ mClutch

PxVehicleClutchData PxVehicleDriveSimData::mClutch
protected

◆ mEngine

PxVehicleEngineData PxVehicleDriveSimData::mEngine
protected

◆ mGears

PxVehicleGearsData PxVehicleDriveSimData::mGears
protected

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