Cogs.Core
Extensions
EchoSounder
Source
Components
WindowComponent.h
1
#pragma once
2
3
#include "Components/Core/DynamicComponent.h"
4
5
namespace
Cogs
6
{
7
namespace
Core
8
{
9
namespace
EchoSounder
10
{
11
12
struct
WindowComponent
:
public
DynamicComponent
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
33
template
<>
inline
Cogs::StringView
getName<Cogs::Core::EchoSounder::WindowComponent>() {
return
"EchoWindowComponent"
; }
Cogs::Core::Context
A Context instance contains all the services, systems and runtime components needed to use Cogs.
Definition:
Context.h:83
Cogs::Core::DynamicComponent
Base class for components implementing dynamic behavior.
Definition:
DynamicComponent.h:31
Cogs::StringView
Provides a weakly referenced view over the contents of a string.
Definition:
StringView.h:24
Cogs
Contains all Cogs related functionality.
Definition:
FieldSetter.h:23
Cogs::Core::EchoSounder::WindowComponent
Definition:
WindowComponent.h:13
Cogs::Core::EchoSounder::WindowComponent::head
int64_t head
Most recent time (in ticks) of window.
Definition:
WindowComponent.h:15
Cogs::Core::EchoSounder::WindowComponent::tail
int64_t tail
Least recent time (in ticks) of window.
Definition:
WindowComponent.h:14
Generated by
1.9.6