The ClientVitalsBroadcaster class is responsible for broadcasting vital signs data from the client to the server and other clients. It manages the collection, caching, and transmission of vital signs such as heart rate and EKG data. It also handles airway obstruction actions and notifies when certain thresholds are exceeded.
More...
|
| override void | OnNetworkSpawn () |
| | Called when the network object is spawned. Initializes the pulse engine and registers the broadcaster.
|
| |
| override void | OnNetworkDespawn () |
| | Called when the network object is despawned. Unregisters the broadcaster.
|
| |
| bool | TryGetVital (DataType vital, out List<(double time, double value)> list) |
| | Tries to get the list of vital sign data for the specified DataType.
|
| |
| void | Init (FmarClient client) |
| |
The ClientVitalsBroadcaster class is responsible for broadcasting vital signs data from the client to the server and other clients. It manages the collection, caching, and transmission of vital signs such as heart rate and EKG data. It also handles airway obstruction actions and notifies when certain thresholds are exceeded.
◆ OnNetworkDespawn()
| override void FMAR.Comms.Vitals.ClientVitalsBroadcaster.OnNetworkDespawn |
( |
| ) |
|
|
inline |
Called when the network object is despawned. Unregisters the broadcaster.
◆ OnNetworkSpawn()
| override void FMAR.Comms.Vitals.ClientVitalsBroadcaster.OnNetworkSpawn |
( |
| ) |
|
|
inline |
Called when the network object is spawned. Initializes the pulse engine and registers the broadcaster.
◆ TryGetVital()
| bool FMAR.Comms.Vitals.ClientVitalsBroadcaster.TryGetVital |
( |
DataType | vital, |
|
|
out List<(double time, double value)> | list ) |
|
inline |
Tries to get the list of vital sign data for the specified DataType.
- Parameters
-
| vital | The type of vital sign to retrieve. |
| list | The list of vital sign data. |
- Returns
- True if the vital sign data is found, otherwise false.
Implements FMAR.Comms.Vitals.IVitalsProvider.
◆ InspectorRows
| List<InspectorRow> FMAR.Comms.Vitals.ClientVitalsBroadcaster.InspectorRows |
|
get |
◆ VitalsProvided
| IReadOnlyCollection<DataType> FMAR.Comms.Vitals.ClientVitalsBroadcaster.VitalsProvided |
|
get |
◆ VitalsThresholdAlertTimers
| IReadOnlyDictionary<VitalsThreshold, float> FMAR.Comms.Vitals.ClientVitalsBroadcaster.VitalsThresholdAlertTimers |
|
get |
The documentation for this class was generated from the following file: