Now you can download a copy of these docs so you can use them offline! Download now
#include <WriteManager.h>
Public Member Functions | |
WriteManager (FlushableOutgoingEntryReceiver &receiver, NTThreadManager &threadManager, AbstractNetworkTableEntryStore &entryStore, unsigned long keepAliveDelay) | |
void | start () |
void | stop () |
void | offerOutgoingAssignment (NetworkTableEntry *entry) |
void | offerOutgoingUpdate (NetworkTableEntry *entry) |
void | run () |
A write manager is a IncomingEntryReceiver that buffers transactions and then and then dispatches them to a flushable transaction receiver that is periodically offered all queued transaction and then flushed
Definition at line 32 of file WriteManager.h.
WriteManager::WriteManager | ( | FlushableOutgoingEntryReceiver & | receiver, |
NTThreadManager & | threadManager, | ||
AbstractNetworkTableEntryStore & | entryStore, | ||
unsigned long | keepAliveDelay | ||
) |
Create a new Write manager
receiver | |
threadManager | |
transactionPool | |
entryStore |
Definition at line 15 of file WriteManager.cpp.
|
virtual |
the periodic method that sends all buffered transactions
Implements PeriodicRunnable.
Definition at line 80 of file WriteManager.cpp.
void WriteManager::start | ( | ) |
start the write thread
Definition at line 39 of file WriteManager.cpp.
void WriteManager::stop | ( | ) |
stop the write thread
Definition at line 46 of file WriteManager.cpp.