Rise
The Vieneo Province
Loading...
Searching...
No Matches
Telemetry::SnapshotSystem Class Reference

#include <TelemetrySnapshot.h>

Collaboration diagram for Telemetry::SnapshotSystem:
[legend]

Public Member Functions

 SnapshotSystem ()
void ResetVehicle (std::size_t slot, int identity, int reference, int parentSlot, bool identityChanged)
void ResetWeapon (std::size_t slot, int identity)
void RemoveVehicle (std::size_t slot)
void RemoveWeapon (std::size_t slot)
Acceptance PushVehicle (std::size_t slot, MotionSnapshot snapshot, double receiptSeconds)
Acceptance PushWeapon (std::size_t slot, MotionSnapshot snapshot, double receiptSeconds)
PresentationState SampleVehicle (std::size_t slot, double nowSeconds, double elapsedSeconds)
PresentationState SampleWeapon (std::size_t slot, double nowSeconds, double elapsedSeconds)
ChannelMetrics VehicleMetrics (std::size_t slot, double nowSeconds) const
ChannelMetrics WeaponMetrics (std::size_t slot, double nowSeconds) const
int ClosestWeaponSlot (const Vec3 &worldObserverPosition, const Vec3 &dockObserverPosition) const
bool HasVehicleSamples (std::size_t slot) const
bool HasWeaponSamples (std::size_t slot) const

Private Attributes

std::array< SnapshotChannel, EntityCapacity > vehicles_
std::array< SnapshotChannel, EntityCapacity > weapons_

Detailed Description

Definition at line 222 of file TelemetrySnapshot.h.

Constructor & Destructor Documentation

◆ SnapshotSystem()

Telemetry::SnapshotSystem::SnapshotSystem ( )

Definition at line 720 of file TelemetrySnapshot.cpp.

Member Function Documentation

◆ ClosestWeaponSlot()

int Telemetry::SnapshotSystem::ClosestWeaponSlot ( const Vec3 & worldObserverPosition,
const Vec3 & dockObserverPosition ) const

Definition at line 789 of file TelemetrySnapshot.cpp.

Here is the caller graph for this function:

◆ HasVehicleSamples()

bool Telemetry::SnapshotSystem::HasVehicleSamples ( std::size_t slot) const

Definition at line 811 of file TelemetrySnapshot.cpp.

◆ HasWeaponSamples()

bool Telemetry::SnapshotSystem::HasWeaponSamples ( std::size_t slot) const

Definition at line 816 of file TelemetrySnapshot.cpp.

◆ PushVehicle()

Acceptance Telemetry::SnapshotSystem::PushVehicle ( std::size_t slot,
MotionSnapshot snapshot,
double receiptSeconds )

Definition at line 759 of file TelemetrySnapshot.cpp.

Here is the caller graph for this function:

◆ PushWeapon()

Acceptance Telemetry::SnapshotSystem::PushWeapon ( std::size_t slot,
MotionSnapshot snapshot,
double receiptSeconds )

Definition at line 764 of file TelemetrySnapshot.cpp.

Here is the caller graph for this function:

◆ RemoveVehicle()

void Telemetry::SnapshotSystem::RemoveVehicle ( std::size_t slot)

Definition at line 747 of file TelemetrySnapshot.cpp.

Here is the caller graph for this function:

◆ RemoveWeapon()

void Telemetry::SnapshotSystem::RemoveWeapon ( std::size_t slot)

Definition at line 753 of file TelemetrySnapshot.cpp.

Here is the caller graph for this function:

◆ ResetVehicle()

void Telemetry::SnapshotSystem::ResetVehicle ( std::size_t slot,
int identity,
int reference,
int parentSlot,
bool identityChanged )

Definition at line 735 of file TelemetrySnapshot.cpp.

Here is the caller graph for this function:

◆ ResetWeapon()

void Telemetry::SnapshotSystem::ResetWeapon ( std::size_t slot,
int identity )

Definition at line 741 of file TelemetrySnapshot.cpp.

Here is the caller graph for this function:

◆ SampleVehicle()

PresentationState Telemetry::SnapshotSystem::SampleVehicle ( std::size_t slot,
double nowSeconds,
double elapsedSeconds )

Definition at line 769 of file TelemetrySnapshot.cpp.

Here is the caller graph for this function:

◆ SampleWeapon()

PresentationState Telemetry::SnapshotSystem::SampleWeapon ( std::size_t slot,
double nowSeconds,
double elapsedSeconds )

Definition at line 774 of file TelemetrySnapshot.cpp.

Here is the caller graph for this function:

◆ VehicleMetrics()

ChannelMetrics Telemetry::SnapshotSystem::VehicleMetrics ( std::size_t slot,
double nowSeconds ) const

Definition at line 779 of file TelemetrySnapshot.cpp.

Here is the caller graph for this function:

◆ WeaponMetrics()

ChannelMetrics Telemetry::SnapshotSystem::WeaponMetrics ( std::size_t slot,
double nowSeconds ) const

Definition at line 784 of file TelemetrySnapshot.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ vehicles_

std::array<SnapshotChannel, EntityCapacity> Telemetry::SnapshotSystem::vehicles_
private

Definition at line 242 of file TelemetrySnapshot.h.

◆ weapons_

std::array<SnapshotChannel, EntityCapacity> Telemetry::SnapshotSystem::weapons_
private

Definition at line 243 of file TelemetrySnapshot.h.


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