Files
allwpilib/networktables/cpp/include/networktables2/TransactionDirtier.h
Brad Miller 69d9ad70ab CMake Changes
This is the changes made by Patrick Plenefisch converting the native
code to use CMake and the CMake Maven Plugin, as opposed to the
native Maven plugin. This is to allow for compatibility with newer
versions of the GCC toolchain. All the cpp sources were moved from
maven style directories to cpp style directories for CMake.

Change-Id: I67f5e3608948f37c83b0990d232105a3784f8593
2014-04-01 11:18:29 -04:00

37 lines
772 B
C++

/*
* TransactionDirtier.h
*
* Created on: Sep 24, 2012
* Author: Mitchell Wills
*/
#ifndef TRANSACTIONDIRTIER_H_
#define TRANSACTIONDIRTIER_H_
class TransactionDirtier;
#include "networktables2/OutgoingEntryReceiver.h"
/**
* A transaction receiver that marks all Table entries as dirty in the entry store. Entries will not be passed to the continuing receiver if they are already dirty
*
* @author Mitchell
*
*/
class TransactionDirtier : public OutgoingEntryReceiver {
private:
OutgoingEntryReceiver& continuingReceiver;
public:
TransactionDirtier(OutgoingEntryReceiver& continuingReceiver);
void offerOutgoingAssignment(NetworkTableEntry* entry);
void offerOutgoingUpdate(NetworkTableEntry* entry);
};
#endif /* TRANSACTIONDIRTIER_H_ */