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
networktables2
TransactionDirtier.cpp
1
/*
2
* TransactionDirtier.cpp
3
*
4
* Created on: Sep 24, 2012
5
* Author: Mitchell Wills
6
*/
7
8
#include "networktables2/TransactionDirtier.h"
9
10
11
12
TransactionDirtier::TransactionDirtier(
OutgoingEntryReceiver
& _continuingReceiver) : continuingReceiver(_continuingReceiver){
13
}
14
15
16
17
void
TransactionDirtier::offerOutgoingAssignment(
NetworkTableEntry
* entry) {
18
if
(entry->IsDirty())
19
return
;
20
entry->MakeDirty();
21
continuingReceiver.offerOutgoingAssignment(entry);
22
}
23
24
25
26
27
void
TransactionDirtier::offerOutgoingUpdate(
NetworkTableEntry
* entry) {
28
if
(entry->IsDirty())
29
return
;
30
entry->MakeDirty();
31
continuingReceiver.offerOutgoingUpdate(entry);
32
}
33
OutgoingEntryReceiver
Definition:
OutgoingEntryReceiver.h:17
NetworkTableEntry
Definition:
NetworkTableEntry.h:30
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.