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

Additional Inherited Members

- Static Public Member Functions inherited from RefTarget< VehicleControllerSettings >
static int sInternalGetRefCountOffset ()
 INTERNAL HELPER FUNCTION USED BY SERIALIZATION. More...
 
- Protected Attributes inherited from RefTarget< VehicleControllerSettings >
atomic< uint32mRefCount
 Current reference count. More...
 
- 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. More...
 

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: