Home
Roadside
Carputer
geoHist
software
FRC
Blog
Now you can download a copy of these docs so you can use them offline!
Download now
Main Page
Related Pages
Classes
Files
File List
networktables
NetworkTableProvider.h
1
#ifndef _NETWORKTABLEPROVIDER_H_
2
#define _NETWORKTABLEPROVIDER_H_
3
4
5
class
NetworkTableProvider
;
6
7
#include <string>
8
9
#include "tables/ITableProvider.h"
10
#include "networktables2/NetworkTableNode.h"
11
#include "networktables/NetworkTable.h"
12
13
using namespace
std;
14
15
class
NetworkTableProvider
:
public
ITableProvider
16
{
17
private
:
18
NetworkTableNode
& node;
19
map<std::string, NetworkTable*> tables;
20
25
public
:
26
NetworkTableProvider
(
NetworkTableNode
& node);
27
virtual
~
NetworkTableProvider
();
28
29
ITable
* GetRootTable();
30
31
ITable
* GetTable(std::string key);
32
36
NetworkTableNode
&
GetNode
() {
37
return
node;
38
};
39
43
void
Close
() {
44
node.
Close
();
45
};
46
};
47
48
#endif
NetworkTableNode
Definition:
NetworkTableNode.h:32
NetworkTableNode::Close
virtual void Close()=0
ITable
Definition:
ITable.h:26
NetworkTableProvider::Close
void Close()
Definition:
NetworkTableProvider.h:43
ITableProvider
Definition:
ITableProvider.h:23
NetworkTableProvider
Definition:
NetworkTableProvider.h:15
NetworkTableProvider::GetNode
NetworkTableNode & GetNode()
Definition:
NetworkTableProvider.h:36
Generated on Sat Apr 26 2014 12:26:45 for WPILibC++ by
1.8.6
© 2006-2009 Dustin Spicuzza. All rights reserved.
Powered by Onnac
I do not condone or encourage graffiti. Please paint responsibly.