Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
VehicleControllerSettings Class Referenceabstract

Basic settings object for interface that controls acceleration / deceleration of the vehicle. More...

#include <VehicleController.h>

Inheritance diagram for VehicleControllerSettings:
SerializableObject RefTarget< VehicleControllerSettings > NonCopyable TrackedVehicleControllerSettings WheeledVehicleControllerSettings MotorcycleControllerSettings

Public Member Functions

virtual void SaveBinaryState (StreamOut &inStream) const =0
 Saves the contents of the controller settings in binary form to inStream.
 
virtual void RestoreBinaryState (StreamIn &inStream)=0
 Restore the contents of the controller settings in binary form from inStream.
 
virtual VehicleControllerConstructController (VehicleConstraint &inConstraint) const =0
 Create an instance of the vehicle controller class.
 
- Public Member Functions inherited from SerializableObject
virtual ~SerializableObject ()=default
 Constructor.
 
- Public Member Functions inherited from NonCopyable
 NonCopyable ()=default
 
 NonCopyable (const NonCopyable &)=delete
 
void operator= (const NonCopyable &)=delete
 
- Public Member Functions inherited from RefTarget< VehicleControllerSettings >
 RefTarget ()=default
 Constructor.
 
 RefTarget (const RefTarget &)
 
 ~RefTarget ()
 assert no one is referencing us
 
void SetEmbedded () const
 
RefTargetoperator= (const RefTarget &)
 Assignment operator.
 
uint32 GetRefCount () const
 Get current refcount of this object.
 
void AddRef () const
 Add or release a reference to this object.
 
void Release () const
 

Additional Inherited Members

- Static Public Member Functions inherited from RefTarget< VehicleControllerSettings >
static int sInternalGetRefCountOffset ()
 INTERNAL HELPER FUNCTION USED BY SERIALIZATION.
 
- Protected Attributes inherited from RefTarget< VehicleControllerSettings >
atomic< uint32mRefCount
 Current reference count.
 
- Static Protected Attributes inherited from RefTarget< VehicleControllerSettings >
static constexpr uint32 cEmbedded
 A large value that gets added to the refcount to mark the object as embedded.
 

Detailed Description

Basic settings object for interface that controls acceleration / deceleration of the vehicle.

Member Function Documentation

◆ ConstructController()

virtual VehicleController * VehicleControllerSettings::ConstructController ( VehicleConstraint inConstraint) const
pure virtual

Create an instance of the vehicle controller class.

Implemented in MotorcycleControllerSettings, TrackedVehicleControllerSettings, and WheeledVehicleControllerSettings.

◆ RestoreBinaryState()

virtual void VehicleControllerSettings::RestoreBinaryState ( StreamIn inStream)
pure virtual

Restore the contents of the controller settings in binary form from inStream.

Implemented in MotorcycleControllerSettings, TrackedVehicleControllerSettings, and WheeledVehicleControllerSettings.

◆ SaveBinaryState()

virtual void VehicleControllerSettings::SaveBinaryState ( StreamOut inStream) const
pure virtual

Saves the contents of the controller settings in binary form to inStream.

Implemented in MotorcycleControllerSettings, TrackedVehicleControllerSettings, and WheeledVehicleControllerSettings.


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