Now you can download a copy of these docs so you can use them offline! Download now
WriteManager Class Reference

#include <WriteManager.h>

Inheritance diagram for WriteManager:
Collaboration diagram for WriteManager:

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 ()
 

Detailed Description

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

Author
Mitchell

Definition at line 32 of file WriteManager.h.

Constructor & Destructor Documentation

WriteManager::WriteManager ( FlushableOutgoingEntryReceiver receiver,
NTThreadManager threadManager,
AbstractNetworkTableEntryStore entryStore,
unsigned long  keepAliveDelay 
)

Create a new Write manager

Parameters
receiver
threadManager
transactionPool
entryStore

Definition at line 15 of file WriteManager.cpp.

Member Function Documentation

void WriteManager::run ( )
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.


The documentation for this class was generated from the following files:

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