WPILibC++
unspecified
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
DsClient.h
1
/*----------------------------------------------------------------------------*/
2
/* Copyright (c) FIRST 2016. All Rights Reserved. */
3
/* Open Source Software - may be modified and shared by FRC teams. The code */
4
/* must be accompanied by the FIRST BSD license file in the root directory of */
5
/* the project. */
6
/*----------------------------------------------------------------------------*/
7
8
#ifndef NT_DSCLIENT_H_
9
#define NT_DSCLIENT_H_
10
11
#include "support/SafeThread.h"
12
13
#include "Log.h"
14
15
namespace
nt
{
16
17
class
Dispatcher;
18
19
class
DsClient
{
20
public
:
21
DsClient
(
Dispatcher
& dispatcher,
wpi::Logger
& logger);
22
~
DsClient
() =
default
;
23
24
void
Start(
unsigned
int
port);
25
void
Stop();
26
27
private
:
28
class
Thread
;
29
wpi::SafeThreadOwner<Thread>
m_owner;
30
Dispatcher
& m_dispatcher;
31
wpi::Logger
& m_logger;
32
};
33
34
}
// namespace nt
35
36
#endif // NT_DSCLIENT_H_
nt::Dispatcher
Definition:
Dispatcher.h:128
nt::DsClient
Definition:
DsClient.h:19
wpi::SafeThreadOwner< Thread >
nt
Definition:
IEntryNotifier.h:15
nt::DsClient::Thread
Definition:
DsClient.cpp:20
wpi::Logger
Definition:
Logger.h:30
build
cppSource
ntcore-cpp
sources
DsClient.h
Generated on Tue Oct 17 2017 20:05:21 for WPILibC++ by
1.8.11