LRT14
1.0
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Enumerations
Enumerator
LiveNetworkSender.h
1
#ifndef LIVE_NETWORK_SENDER_H_
2
#define LIVE_NETWORK_SENDER_H_
3
4
#include <WPILib.h>
5
#include <vector>
6
#include <typeinfo>
7
#include <map>
8
9
class
LiveNetworkSendable
;
10
14
class
LiveNetworkSender
15
{
16
public
:
17
static
LiveNetworkSender
* Instance();
18
static
void
Initialize();
19
static
void
Finalize();
20
21
~
LiveNetworkSender
();
22
26
void
Run
();
27
34
template
<
typename
T>
void
Send
(T value, std::string key, std::string table);
35
40
static
void
RegisterLiveNetworkSendable
(
LiveNetworkSendable
* liveNetworkSendable);
41
42
private
:
43
LiveNetworkSender
();
44
45
static
LiveNetworkSender
* m_instance;
46
47
static
std::vector<LiveNetworkSendable*> liveNetworkSendables;
48
49
std::map<string, NetworkTable*> tables;
50
};
51
52
#endif
/* LIVE_NETWORK_SENDER_H_ */
Communication
LiveNetworkSender.h
Generated on Tue Feb 11 2014 00:29:33 for LRT14 by
1.8.3