mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
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
37 lines
772 B
C++
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_ */
|