Rise
The Vieneo Province
Loading...
Searching...
No Matches
VehicleHorn Namespace Reference

Classes

struct  Playback

Enumerations

enum class  Command { None , Start , Stop }
enum class  Phase { Idle , Start , Loop , End }

Functions

Command SetPressed (bool &current, bool pressed)

Variables

constexpr float MammothReferenceDistanceKm = .050f

Enumeration Type Documentation

◆ Command

enum class VehicleHorn::Command
strong
Enumerator
None 
Start 
Stop 

Definition at line 9 of file VehicleHorn.h.

◆ Phase

enum class VehicleHorn::Phase
strong
Enumerator
Idle 
Start 
Loop 
End 

Definition at line 17 of file VehicleHorn.h.

Function Documentation

◆ SetPressed()

Command VehicleHorn::SetPressed ( bool & current,
bool pressed )
inline

Definition at line 10 of file VehicleHorn.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ MammothReferenceDistanceKm

float VehicleHorn::MammothReferenceDistanceKm = .050f
inlineconstexpr

Definition at line 7 of file VehicleHorn.h.