PxVehicleDriveSimDataNW Class Reference

Data structure describing configuration data of a vehicle with up to PX_MAX_NB_WHEELS driven equally through the differential. The vehicle has an engine, clutch, gears, autobox, differential. More...

#include <PxVehicleDriveNW.h>

Inheritance diagram for PxVehicleDriveSimDataNW:
Collaboration diagram for PxVehicleDriveSimDataNW:

Public Member Functions

 PxVehicleDriveSimDataNW ()
 
const PxVehicleDifferentialNWDatagetDiffData () const
 Return the data describing the differential of a vehicle with up to PX_MAX_NB_WHEELS driven wheels. More...
 
void setDiffData (const PxVehicleDifferentialNWData &diff)
 Set the data describing the differential of a vehicle with up to PX_MAX_NB_WHEELS driven wheels. The differential data describes the set of wheels that are driven by the differential. More...
 
 PxVehicleDriveSimDataNW (const PxEMPTY)
 
- Public Member Functions inherited from PxVehicleDriveSimData
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)
 
- Static Public Member Functions inherited from PxVehicleDriveSimData
static void getBinaryMetaData (PxOutputStream &stream)
 

Private Member Functions

bool isValid () const
 Test if the NW-drive simulation data has been setup with legal data. Call only after setting all components. More...
 

Private Attributes

PxVehicleDifferentialNWData mDiff
 Differential simulation data. More...
 

Friends

class PxVehicleDriveNW
 

Additional Inherited Members

- Protected Member Functions inherited from PxVehicleDriveSimData
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 inherited from PxVehicleDriveSimData
PxVehicleEngineData mEngine
 
PxVehicleGearsData mGears
 
PxVehicleClutchData mClutch
 
PxVehicleAutoBoxData mAutoBox
 

Detailed Description

Data structure describing configuration data of a vehicle with up to PX_MAX_NB_WHEELS driven equally through the differential. The vehicle has an engine, clutch, gears, autobox, differential.

See also
PxVehicleDriveSimData

Constructor & Destructor Documentation

◆ PxVehicleDriveSimDataNW() [1/2]

PxVehicleDriveSimDataNW::PxVehicleDriveSimDataNW ( )
inline

◆ PxVehicleDriveSimDataNW() [2/2]

PxVehicleDriveSimDataNW::PxVehicleDriveSimDataNW ( const PxEMPTY  )
inline

Member Function Documentation

◆ getBinaryMetaData()

static void PxVehicleDriveSimDataNW::getBinaryMetaData ( PxOutputStream stream)
static

◆ getDiffData()

const PxVehicleDifferentialNWData& PxVehicleDriveSimDataNW::getDiffData ( ) const
inline

Return the data describing the differential of a vehicle with up to PX_MAX_NB_WHEELS driven wheels.

◆ isValid()

bool PxVehicleDriveSimDataNW::isValid ( ) const
private

Test if the NW-drive simulation data has been setup with legal data. Call only after setting all components.

See also
setEngineData, setClutchData, setGearsData, setAutoboxData, setDiffData, setAckermannGeometryData

◆ setDiffData()

void PxVehicleDriveSimDataNW::setDiffData ( const PxVehicleDifferentialNWData diff)

Set the data describing the differential of a vehicle with up to PX_MAX_NB_WHEELS driven wheels. The differential data describes the set of wheels that are driven by the differential.

Friends And Related Function Documentation

◆ PxVehicleDriveNW

friend class PxVehicleDriveNW
friend

Member Data Documentation

◆ mDiff

PxVehicleDifferentialNWData PxVehicleDriveSimDataNW::mDiff
private

Differential simulation data.

See also
setDiffData, getDiffData

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