Now you can download a copy of these docs so you can use them offline! Download now
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 

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