score
Home
Classes
Namespaces
Files
Loading...
Searching...
No Matches
JoystickDevice.hpp
1
#pragma once
2
#include <Device/Protocol/DeviceInterface.hpp>
3
4
namespace
Protocols
5
{
6
struct
JoystickSpecificSettings;
7
class
JoystickDevice
final :
public
Device::OwningDeviceInterface
8
{
9
W_OBJECT(
JoystickDevice
)
10
public
:
11
JoystickDevice
(
12
const
Device::DeviceSettings
& settings,
13
const
ossia::net::network_context_ptr& ctx);
14
~JoystickDevice
();
15
16
bool
reconnect()
override
;
17
void
disconnect()
override
;
18
19
private
:
20
template
<
typename
T>
21
void
do_reconnect(
JoystickSpecificSettings
& stgs);
22
const
ossia::net::network_context_ptr& m_ctx;
23
};
24
}
Device::OwningDeviceInterface
Definition
DeviceInterface.hpp:185
Protocols::JoystickDevice
Definition
JoystickDevice.hpp:8
Device::DeviceSettings
Definition
DeviceSettings.hpp:20
Protocols::JoystickSpecificSettings
Definition
JoystickSpecificSettings.hpp:11