CARLA
Public Member Functions | Public Attributes | List of all members
carla::rpc::GearPhysicsControl Class Reference

#include <GearPhysicsControl.h>

+ Collaboration diagram for carla::rpc::GearPhysicsControl:

Public Member Functions

 GearPhysicsControl ()=default
 
 GearPhysicsControl (float in_ratio, float in_down_ratio, float in_up_ratio)
 
bool operator!= (const GearPhysicsControl &rhs) const
 
bool operator== (const GearPhysicsControl &rhs) const
 

Public Attributes

float down_ratio = 0.5f
 
float ratio = 1.0f
 
float up_ratio = 0.65f
 

Detailed Description

Definition at line 13 of file GearPhysicsControl.h.

Constructor & Destructor Documentation

◆ GearPhysicsControl() [1/2]

carla::rpc::GearPhysicsControl::GearPhysicsControl ( )
default

Referenced by operator==().

+ Here is the caller graph for this function:

◆ GearPhysicsControl() [2/2]

carla::rpc::GearPhysicsControl::GearPhysicsControl ( float  in_ratio,
float  in_down_ratio,
float  in_up_ratio 
)
inline

Definition at line 18 of file GearPhysicsControl.h.

Member Function Documentation

◆ operator!=()

bool carla::rpc::GearPhysicsControl::operator!= ( const GearPhysicsControl rhs) const
inline

Definition at line 30 of file GearPhysicsControl.h.

References down_ratio, ratio, and up_ratio.

◆ operator==()

bool carla::rpc::GearPhysicsControl::operator== ( const GearPhysicsControl rhs) const
inline

Definition at line 37 of file GearPhysicsControl.h.

References down_ratio, FGearPhysicsControl::DownRatio, GearPhysicsControl(), FGearPhysicsControl::Ratio, ratio, up_ratio, and FGearPhysicsControl::UpRatio.

+ Here is the call graph for this function:

Member Data Documentation

◆ down_ratio

float carla::rpc::GearPhysicsControl::down_ratio = 0.5f

Definition at line 27 of file GearPhysicsControl.h.

Referenced by operator!=(), and operator==().

◆ ratio

float carla::rpc::GearPhysicsControl::ratio = 1.0f

Definition at line 26 of file GearPhysicsControl.h.

Referenced by operator!=(), and operator==().

◆ up_ratio

float carla::rpc::GearPhysicsControl::up_ratio = 0.65f

Definition at line 28 of file GearPhysicsControl.h.

Referenced by operator!=(), and operator==().


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