Now you can download a copy of these docs so you can use them offline! Download now
ConnectionMonitorThread.h
1 /*
2  * ConnectionMonitorThread.h
3  *
4  * Created on: Sep 22, 2012
5  * Author: Mitchell Wills
6  */
7 
8 #ifndef CONNECTIONMONITORTHREAD_H_
9 #define CONNECTIONMONITORTHREAD_H_
10 
11 
13 
14 #include "networktables2/connection/ConnectionAdapter.h"
15 #include "networktables2/connection/NetworkTableConnection.h"
16 #include "networktables2/thread/PeriodicRunnable.h"
17 
18 
19 
20 
27 private:
28  ConnectionAdapter& adapter;
29  NetworkTableConnection& connection;
30 
31 public:
38  //This can be used it identify which connection adapter instance the thread procedure is running (read-only)
39  const NetworkTableConnection *GetNetworkTableConnection() const {return &connection;}
40 
41  void run();
42 };
43 
44 
45 #endif /* CONNECTIONMONITORTHREAD_H_ */
ConnectionMonitorThread(ConnectionAdapter &adapter, NetworkTableConnection &connection)

Generated on Sat Apr 26 2014 12:26:45 for WPILibC++ by doxygen 1.8.6