Cogs.Core
WindowComponent.h
1#pragma once
2
3#include "Components/Core/DynamicComponent.h"
4
5namespace Cogs
6{
7 namespace Core
8 {
9 namespace EchoSounder
10 {
11
13 {
14 int64_t tail = 0;
15 int64_t head = 0;
16
17 float depthSpacing = 0.f;
18 float beamSpacing = 0.f;
19 float pathSpacing = 0.f;
20
21 static void registerType();
22
23 void initialize(Context * context);
24
25 void update();
26
27 };
28
29 }
30 }
31}
32
33template<> inline Cogs::StringView getName<Cogs::Core::EchoSounder::WindowComponent>() { return "EchoWindowComponent"; }
A Context instance contains all the services, systems and runtime components needed to use Cogs.
Definition: Context.h:83
Base class for components implementing dynamic behavior.
Provides a weakly referenced view over the contents of a string.
Definition: StringView.h:24
Contains all Cogs related functionality.
Definition: FieldSetter.h:23
int64_t head
Most recent time (in ticks) of window.
int64_t tail
Least recent time (in ticks) of window.